Need help with SUMIF formula

S

Susan

I need someone to help me please.

Example:
cell a2 = 5,000
cell a3 = 10,000
cell a4 = 90
cell b2 = "blank"
cell b3 = 5,000
cell b4 = 90

i am writing a SUMIF problem =sumif(a4:b4,90,a3:b3)

but what i need is the sum of cells a3 if a2 is blank, if cell a2 has a
number then i need that number. in other words the total of this formula
needs to = 10,000 not 15,000.

Can anyone help me?

Susan
 
B

Bernard Liengme

Not very clear but here goes:
=IF(isblank(A2),A3,A2)

I do not see why you use the word 'sum'
best wishes
 
M

muddan madhu

may be ?

=INDEX(A1:A4,MATCH(TRUE,ISBLANK(B1:B4),0)+1,0)

use ctrl + shift + enter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Copying cell formulas 1
sumif 9
How to import data from Sheet1 to Sheet2 in the order I want 3
find blank cell and replace with " ' " 2
Drop Down List 7
excel formula 1
Excel =SUM(A1=A1+B1) 0
How to lookup a value in excel? 8

Top