Help on formula

A

al619

A B C
1 12 14
2 15 14
3 12 15
4 12 15 14

This is the data I have to work with. I need help with getting a formula to
do the following:
1) Take Column A and Column B. If both coloums have #'s in them, I would
like the value of Column A to show up in Column A5. (EXAMPLE: since Column
A3&B3 and Column A4&B4 have #'s take Column A3 & Column A4 values and add
and put in Column A5=24.
Any information will help,
Thanks,
al619
 
L

Lars-Åke Aspelin

A B C
1 12 14
2 15 14
3 12 15
4 12 15 14

This is the data I have to work with. I need help with getting a formula to
do the following:
1) Take Column A and Column B. If both coloums have #'s in them, I would
like the value of Column A to show up in Column A5. (EXAMPLE: since Column
A3&B3 and Column A4&B4 have #'s take Column A3 & Column A4 values and add
and put in Column A5=24.
Any information will help,
Thanks,
al619


A3, A4 and A5 are not columns, they are cells, so I assume that you
mean cell A5 etc.

In cell A5 you may try the following formula:

=SUMPRODUCT((A1:A4)*ISNUMBER(B1:B4))

Hope this helps / Lars-Åke
 
S

Sheeloo

Try

=SUMPRODUCT(--(B1:B4<>""),(A1:A4))

This will add cells in A1:A4 where B1:B4 is not blank
 

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