Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Sumif with multiple columns in sum_range

Hello,

I have a set of data that has a label in column A the sales in column
B, C & D:

Column A Column B Column C
Joel 500 677
Joel 575 752
Joel 650 827
Claudia 725 902
Tarzan 800 968

I'd like to run SUMIF where the "Range" is column A, the "Criteria" is
Joel, and the "Sum_Range" is B:C but when I use SUMIF(A:A,"Joel",B:C)
I only get the sum of column B which is 1,725.

Can someone hook me up with a formula that can sum both column B & C
in this situation.

Thanks, in advance

Daniel
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Sumif with multiple columns in sum_range

Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)

Adjust range references to suit your situation.

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"dza7" wrote in message
...
Hello,

I have a set of data that has a label in column A the sales in column
B, C & D:

Column A Column B Column C
Joel 500 677
Joel 575 752
Joel 650 827
Claudia 725 902
Tarzan 800 968

I'd like to run SUMIF where the "Range" is column A, the "Criteria" is
Joel, and the "Sum_Range" is B:C but when I use SUMIF(A:A,"Joel",B:C)
I only get the sum of column B which is 1,725.

Can someone hook me up with a formula that can sum both column B & C
in this situation.

Thanks, in advance

Daniel



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Sumif with multiple columns in sum_range

On Mar 14, 11:10*am, dza7 wrote:
Hello,

I have a set of data that has a label in column A the sales in column
B, C & D:

Column A * * * *Column B * * * *Column C
Joel * * * * * * * *500 * * * * * * * * *677
Joel * * * * * * * *575 * * * * * * * * *752
Joel * * * * * * * *650 * * * * * * * * *827
Claudia * * * * * 725 * * * * * * * * *902
Tarzan * * * * * *800 * * * * * * * * *968

I'd like to run SUMIF where the "Range" is column A, the "Criteria" is
Joel, and the "Sum_Range" is B:C but when I use SUMIF(A:A,"Joel",B:C)
I only get the sum of column B which is 1,725.

Can someone hook me up with a formula that can sum both column B & C
in this situation.

Thanks, in advance

Daniel


something something

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Sumif with multiple columns in sum_range

On Mar 14, 11:14 am, "Ron Coderre"
wrote:
Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)

Adjust range references to suit your situation.

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"dza7" wrote in message

...

Hello,


I have a set of data that has a label in column A the sales in column
B, C & D:


Column A Column B Column C
Joel 500 677
Joel 575 752
Joel 650 827
Claudia 725 902
Tarzan 800 968


I'd like to run SUMIF where the "Range" is column A, the "Criteria" is
Joel, and the "Sum_Range" is B:C but when I use SUMIF(A:A,"Joel",B:C)
I only get the sum of column B which is 1,725.


Can someone hook me up with a formula that can sum both column B & C
in this situation.


Thanks, in advance


Daniel


Perfect, thank you very much!
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Sumif with multiple columns in sum_range

You're very welcome....I'm glad I could help.

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"dza7" wrote in message
...
On Mar 14, 11:14 am, "Ron Coderre"
wrote:
Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)

Adjust range references to suit your situation.

Is that something you can work with?
Post back if you have more questions.
--------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)

"dza7" wrote in message

...

Hello,


I have a set of data that has a label in column A the sales in column
B, C & D:


Column A Column B Column C
Joel 500 677
Joel 575 752
Joel 650 827
Claudia 725 902
Tarzan 800 968


I'd like to run SUMIF where the "Range" is column A, the "Criteria" is
Joel, and the "Sum_Range" is B:C but when I use SUMIF(A:A,"Joel",B:C)
I only get the sum of column B which is 1,725.


Can someone hook me up with a formula that can sum both column B & C
in this situation.


Thanks, in advance


Daniel


Perfect, thank you very much!





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Sumif with multiple columns in sum_range


"Ron Coderre" wrote in message
...
Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)


I can never get my head round the SUMPRODUCT function. Can anyone explain in
very simple terms(!!!) what it does :-)


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Sumif with multiple columns in sum_range

Bob Phillips explains =sumproduct() in much more detail he
http://www.xldynamic.com/source/xld.SUMPRODUCT.html

gavin wrote:

"Ron Coderre" wrote in message
...
Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)


I can never get my head round the SUMPRODUCT function. Can anyone explain in
very simple terms(!!!) what it does :-)


--

Dave Peterson
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.programming,microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Sumif with multiple columns in sum_range

For a simple description, type the word SUMPRODUCT into Excel help. For
more detail, type the words SUMPRODUCT and Excel into Google.
--
David Biddulph

"gavin" wrote in message
. ..

"Ron Coderre" wrote in message
...
Try this approach:

=SUMPRODUCT((A2:A10="Joel")*B2:C10)


I can never get my head round the SUMPRODUCT function. Can anyone explain
in very simple terms(!!!) what it does :-)



  #9   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Sumif with multiple columns in sum_range

Ron,

You are a godsend! Yes that worked beautifully. I was ready to move on and
try something else but really had no idea.

Again, I really appreciate you sticking with me, trying different things and
such. Helping me to open my mind. I love user groups, a place to give help
and get help.

Thanks again Ron,

Have a great weekend!

AFJr


"Ron Coderre" wrote:

It's time to try another approach:

Try this ARRAY FORMULA (committed with CTRL+SHIFT+ENTER,
instead of ENTER):

=SUM(IF($B$21:$B$62="C",IF(ISNUMBER($Q$21:$S$62),$ Q$21:$S$62)))

Does that help?
-------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)


  #10   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming,microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Sumif with multiple columns in sum_range

You're very welcome.....I'm glad I could help.

Regards,

Ron
Microsoft MVP (Excel)


"AFJr" wrote in message
...
Ron,

You are a godsend! Yes that worked beautifully. I was ready to move on and
try something else but really had no idea.

Again, I really appreciate you sticking with me, trying different things
and
such. Helping me to open my mind. I love user groups, a place to give help
and get help.

Thanks again Ron,

Have a great weekend!

AFJr


"Ron Coderre" wrote:

It's time to try another approach:

Try this ARRAY FORMULA (committed with CTRL+SHIFT+ENTER,
instead of ENTER):

=SUM(IF($B$21:$B$62="C",IF(ISNUMBER($Q$21:$S$62),$ Q$21:$S$62)))

Does that help?
-------------------------

Regards,

Ron
Microsoft MVP (Excel)
(XL2003, Win XP)




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 multiple critera range and sum_range DocBrown Excel Worksheet Functions 5 December 21st 08 06:54 AM
Sumif with multiple columns in sum_range dza7 Excel Discussion (Misc queries) 17 March 28th 08 07:25 PM
Sumif with multiple columns in sum_range dza7 Excel Worksheet Functions 17 March 28th 08 07:25 PM
Sum if -- Sum_range across multiple columns brodiemac Excel Discussion (Misc queries) 3 July 2nd 07 04:24 PM
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 06:18 AM.

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"