if statement

R

RichardO

Hello all:

Please help with the following:

I have 2 columns D and J.

row 1 and 2 are headers.

I would like an if statement that would add rows of column J is th
corresponding rows are blank in column D.

E.g. if D3, D4 and D7 are blank. In cell I1, I would like to ad
J3+J4+J7 together.

Can you please show me how to go about this?

Thanks everyone.

Richard
 
A

Ashish Mathur

Hi,

Try this - SUM(IF(AND(J3="",J4="",J7=""),D3:D7),0)

Regards,

Ashish Mathur
 
F

Frank Kabel

Hi
so if for example D4 is not blank you want to add only D3 and D7?. If
yes try:
=D3*(J3="")+D4*(J4="")+D7*(J7="")
 
R

RagDyeR

Try this

=SUMIF(D3:D100,"",J3:J100)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



Hello all:

Please help with the following:

I have 2 columns D and J.

row 1 and 2 are headers.

I would like an if statement that would add rows of column J is the
corresponding rows are blank in column D.

E.g. if D3, D4 and D7 are blank. In cell I1, I would like to add
J3+J4+J7 together.

Can you please show me how to go about this?

Thanks everyone.

Richardo
 

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

Top