#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9
Default Help on formula

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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default Help on formula

On Sat, 13 Dec 2008 14:58:00 -0800, al619
wrote:

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
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Help on formula

Try

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

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

"al619" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:24 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"