Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MA MA is offline
external usenet poster
 
Posts: 15
Default Sumif with multiple sum ranges in a sheet

Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Sumif with multiple sum ranges in a sheet

Not thoroughly tested

=SUMPRODUCT(--(A1:A3="A"),B1:B3+C1:C3)


"MA" wrote:

Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 694
Default Sumif with multiple sum ranges in a sheet

Hi MA
Try this =SUMPRODUCT(--(A2:A4="A"),B2:B4+C2:C4)
HTH
John
"MA" wrote in message
...
Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 132
Default Sumif with multiple sum ranges in a sheet

Copy the below formula and paste it in F1 cell.
=SUMIF(C:C,"A",D:D)+SUMIF(C:C,"A",E:E)
--
Remember to Click Yes, if this post helps!

--------------------
(Ms-Exl-Learner)
--------------------


"MA" wrote:

Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sumif with multiple sum ranges in a sheet

=SUMPRODUCT((A1:A3="A")*B1:C3)


"MA" wrote:

Hi experts,

I need to sum multiple columns in a range which meets a criteria in one of
the columns of the range.

For example
C1 C2 C3
R1 A 10 10
R2 B 4 5
R3 A 2 1

I need to sum columns C2&C3 if value in column C1 is equal to A. In this
case the result should be 23.

thanks





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 with 2 ranges and multiple criteria AC Excel Worksheet Functions 2 November 7th 08 03:26 AM
Sumif across multiple ranges Jarod Excel Worksheet Functions 3 June 27th 08 04:10 PM
SUMIF Multiple Criteria in different ranges. [email protected] Excel Worksheet Functions 13 February 6th 08 05:53 PM
How to SUMIF multiple ranges? karesz Excel Discussion (Misc queries) 1 November 10th 05 12:34 AM
SumIF Multiple Ranges Erika Excel Worksheet Functions 2 April 28th 05 05:40 PM


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