Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default "sumif" With Multiple Criteria!


hi

can i sumup a full column list using "sumif", with more than one
criteria, all based on a single coloum? for example i am having data in
A1:C4

60 80 70
50 30 40
20 40 70
100 60 80

what i want is the sum C1:C4 if either "A1=50 *or* A4<100", likewise
"A2=50 *and* A4=100"..and so on!

help pl?

-via135


--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=502163

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default "sumif" With Multiple Criteria!

You don't need SUMIF( ) - try this:

=IF(OR(A1=50,A4<100),sum(C1:C4),IF(AND(A2=50,A4=1 00),sum(C1:C4),0))

I don't know what you mean by "..and so on!"

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
via135
 
Posts: n/a
Default "sumif" With Multiple Criteria!


thks Pete!

i had given only two examples of multiple criteria with two conditions.
can i give any number of criterias with more than two
conditions?..that's why i have mentioned "..and so on". that's all!

-via135



Pete Wrote:
You don't need SUMIF( ) - try this:

=IF(OR(A1=50,A4<100),sum(C1:C4),IF(AND(A2=50,A4=1 00),sum(C1:C4),0))

I don't know what you mean by "..and so on!"

Hope this helps.

Pete



--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=502163

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete
 
Posts: n/a
Default "sumif" With Multiple Criteria!

The arrangement of functions shown above is referred to as "nesting",
and there is a limit to the amount of nesting that Excel allows -
maximum of 8 nested functions.

Pete

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
Multiple Criteria Rhiannons_Wish Excel Worksheet Functions 0 December 7th 05 06:32 PM
Counting by multiple criteria Risky Dave Excel Worksheet Functions 4 September 28th 05 01:29 PM
Multiple Criteria (add or subtract) MJSlattery Excel Discussion (Misc queries) 1 June 11th 05 05:38 PM
Multiple Criteria IF Nesting BethB Excel Worksheet Functions 2 May 17th 05 12:14 AM
Can I get the mode, min, and max with multiple criteria? BobT Excel Discussion (Misc queries) 1 February 15th 05 03:20 AM


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