SUMIF criteria for blank field

scottnmilton

New Member
Joined
Jun 12, 2002
Messages
2
Example of my problem. Col A contains projected expenses. Col B contains actual expenses (numeric values and blank cells for projects not completed). I need a sumif formula to evaluate Col B and sum all rows in Col A where Col B is blank (no actual expense). I have tried something to the effect of:
=sumif(B2:B150,>'',A2:A150). I am almost positive my problem is the formatting of the criteria. Any help would be appreciated.

Scott
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
On 2002-09-10 14:06, scottnmilton wrote:
Example of my problem. Col A contains projected expenses. Col B contains actual expenses (numeric values and blank cells for projects not completed). I need a sumif formula to evaluate Col B and sum all rows in Col A where Col B is blank (no actual expense). I have tried something to the effect of:
=sumif(B2:B150,>'',A2:A150). I am almost positive my problem is the formatting of the criteria. Any help would be appreciated.

Scott

=SUMPRODUCT((LEN(B2:B150)=0)+0,A2:A150)
 
Upvote 0
Book2
ABCDEFGHIJKL
1ProjectedActual525
2100150
3225
49580
5300
65560
7
Sheet1

This message was edited by Mark W. on 2002-09-10 14:30
 
Upvote 0

Forum statistics

Threads
1,214,592
Messages
6,120,433
Members
448,961
Latest member
nzskater

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top