Hey guys, I'm stuck:
I'm trying to do a personalized budget worksheet, but am running into an issue.
Column A has the item, column B lists it as a necessity or a wish. Column C represents the budgeted (expected) price of my item, and after I buy it, column D represents the true value of final sale. I want to have a cell that displays the result of the total cost of all my necessities. C
Currently, I have =SUMIF(B:B,"=Need",C:C), which would yield $83.99 which would sum all the expected. What I want is if the adjacent cell has a value, I want to include that price INSTEAD OF column C (so the result will be $74.99 instead). Any thoughts on how to do this? Thanks!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item (A)[/TD]
[TD]Want or Need (B)[/TD]
[TD]Expected Price (C)[/TD]
[TD]Actual Price (D)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Laptop[/TD]
[TD]Need[/TD]
[TD]$700[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Headphones[/TD]
[TD]Want[/TD]
[TD]$75[/TD]
[TD]$65[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Groceries[/TD]
[TD]Need[/TD]
[TD]$89[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Netflix[/TD]
[TD]Want[/TD]
[TD]$8.99[/TD]
[TD]$9.99[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
I'm trying to do a personalized budget worksheet, but am running into an issue.
Column A has the item, column B lists it as a necessity or a wish. Column C represents the budgeted (expected) price of my item, and after I buy it, column D represents the true value of final sale. I want to have a cell that displays the result of the total cost of all my necessities. C
Currently, I have =SUMIF(B:B,"=Need",C:C), which would yield $83.99 which would sum all the expected. What I want is if the adjacent cell has a value, I want to include that price INSTEAD OF column C (so the result will be $74.99 instead). Any thoughts on how to do this? Thanks!
[TABLE="width: 500"]
<tbody>[TR]
[TD]Item (A)[/TD]
[TD]Want or Need (B)[/TD]
[TD]Expected Price (C)[/TD]
[TD]Actual Price (D)[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Laptop[/TD]
[TD]Need[/TD]
[TD]$700[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Headphones[/TD]
[TD]Want[/TD]
[TD]$75[/TD]
[TD]$65[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Groceries[/TD]
[TD]Need[/TD]
[TD]$89[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Netflix[/TD]
[TD]Want[/TD]
[TD]$8.99[/TD]
[TD]$9.99[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]