I have created a budget using spreadsheet and have used it for years. One column lists all the bills I have due for the month, with a total of the column at the bottom. I would like to find a way to have that simple equation at the bottom of the delete a cell when the date the bill was paid is added into another cell.
I attached an example. When put the date that I paid the mortgage in cell D3 I'd like "D3" to be deleted from the equation in cell B8.
Thank you.
[Solved] Calculate total of only the unpaid bills
[Solved] Calculate total of only the unpaid bills
- Attachments
-
- Budget example.ods
- (10.95 KiB) Downloaded 151 times
Last edited by MrProgrammer on Sun Dec 05, 2021 9:35 am, edited 1 time in total.
Reason: Tagged ✓ [Solved]
Reason: Tagged ✓ [Solved]
Windows 10, OpenOffice 4.1.3
Re: Change an equation in one cell when another Cell =someth
My apologies. Small typo in my post. On the last sentence I said I wanted "D3" deleted from the equation. I meant to write "B3"
I appreciate anyone's assistance with this.
I appreciate anyone's assistance with this.
Windows 10, OpenOffice 4.1.3
Re: Change an equation in one cell when another Cell =someth
Study the function SUMIF() in the Help.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Calculate total of only the unpaid bills
Expanding on what ZiZi64 said:
I note this because it may not be obvious or easy to find how to create the criterion where the cell is anything but empty.
That seems to be done with the "=".
Code: Select all
=SUMIF(D3:D7,"=",B3:B7)
I note this because it may not be obvious or easy to find how to create the criterion where the cell is anything but empty.
That seems to be done with the "=".
LibreOffice 7.1.6.2 on Windows 8
Re: Calculate total of only the unpaid bills
Here are two similar ways - applied in your sample file:
It calculates the Paid ones, but (I hope) you can modify it to reverse.
It calculates the Paid ones, but (I hope) you can modify it to reverse.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Re: Calculate total of only the unpaid bills
You might also look at the functions NOT() and ISBLANK()
Cheers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
David
OS - Slackware 15 64 bit
Apache OpenOffice 4.1.15
LibreOffice 24.2.2.2; SlackBuild for 24.2.2 by Eric Hameleers
- MrProgrammer
- Moderator
- Posts: 4905
- Joined: Fri Jun 04, 2010 7:57 pm
- Location: Wisconsin, USA
Re: Calculate total of only the unpaid bills
[Tutorial] The SUMPRODUCT function, example X06: Sum values in column Y where column X is emptyendbrown wrote:I would like to find a way to have that simple equation at the bottom of the delete a cell when the date the bill was paid is added into another cell.
The calculation cannot be accomplished like that in Calc because feeble SUMIF ignores cells where the criteria (D3:D7) is empty. SUMPRODUCT does not have that restriction.LeslieS wrote:=SUMIF(D3:D7,"=",B3:B7)
If this solved your problem please go to your first post use the Edit button and add [Solved] to the start of the subject field. Select the green checkmark icon at the same time.
[Tutorial] Ten concepts that every Calc user should know
Mr. Programmer
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).
AOO 4.1.7 Build 9800, MacOS 13.6.3, iMac Intel. The locale for any menus or Calc formulas in my posts is English (USA).