Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 69
Default sumif multiple columns

Thanks in advance!

Data
A B C D E
1/2/2009 3 1 3 2
1/3/2009 2 5 2 6
1/4/2009 1 3 1 3

If column A=1/3/2009 then add column C + column E. Thanks a bunch
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 136
Default sumif multiple columns

One possible way


=SUMPRODUCT(--(A2:A10=DATE(2009,1,4)),(C2:C10)+(E2:E10))

--


Regards,


Peo Sjoblom


"Mona" wrote in message
...
Thanks in advance!

Data
A B C D E
1/2/2009 3 1 3 2
1/3/2009 2 5 2 6
1/4/2009 1 3 1 3

If column A=1/3/2009 then add column C + column E. Thanks a bunch



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif multiple columns

Try this:

H1 = 1/3/2009

=SUMPRODUCT(--(A1:A10=H1),C1:C10+E1:E10)

--
Biff
Microsoft Excel MVP


"Mona" wrote in message
...
Thanks in advance!

Data
A B C D E
1/2/2009 3 1 3 2
1/3/2009 2 5 2 6
1/4/2009 1 3 1 3

If column A=1/3/2009 then add column C + column E. Thanks a bunch



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default sumif multiple columns

=SUM(IF($A$1:$A$100=DATE(2009,3,1),$C$1:$C$100+$E$ 1:$E$100))

Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in the Formula Bar you can notice the curly braces at both ends
"{=<formula}"

--
If this post helps click Yes
---------------
Jacob Skaria


"Mona" wrote:

Thanks in advance!

Data
A B C D E
1/2/2009 3 1 3 2
1/3/2009 2 5 2 6
1/4/2009 1 3 1 3

If column A=1/3/2009 then add column C + column E. Thanks a bunch

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
sumif from multiple columns dcoxdcox Excel Worksheet Functions 6 February 2nd 09 06:49 AM
sumif for multiple columns Byron Excel Worksheet Functions 1 October 8th 08 06:38 PM
SUMIF and multiple columns wait3264 Excel Discussion (Misc queries) 3 August 11th 06 01:04 PM
SUMIF over multiple columns psmith4497 Excel Worksheet Functions 3 June 17th 05 06:40 PM
Sumif over multiple columns Josh O. Excel Worksheet Functions 1 February 15th 05 04:33 PM


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

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

About Us

"It's about Microsoft Excel"