Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default sumif?

In case you have formulas generating blank cells:

=SUM(A2:C2,SUMPRODUCT((A2:C2="")*(D2:F2)))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mits" wrote:

thanks for your reply. Sorry but this is giving me a 0 figure.

"Luke M" wrote:

Correct, you can use SUMIF.

=SUM(A2:C2,SUMIF(A2:C2,"=",D2:F2))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"mits" wrote:

Ar Bs Ec Ar Bs Ec
20 36 14 10 7

I am trying to sum the above columns. Column 1-3 supercede columns 4-6, in
the sense that if column 4 has a figure in there and so does column 1, it is
column 1s figure that needs to be included in the total not column 4. So for
the above example i would need the formula to work out 20+36+7=63.

How would i do this?

 
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I think I should use Sumif Jeremy Excel Discussion (Misc queries) 1 June 5th 08 05:56 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 09:55 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"