#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default sumif problem

I am trying to add up multiple columns but from what I have read so far Sumif
won't do it.

=SUMIF($IE$3:$IE$62,B6,$IN$3:$IV$62) only returns the first value in column
IN.

How do I ADD all columns from IN to IV.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,091
Default sumif problem


That is because SUMIF makes the sum range agree in shape with the range that
you're comparing B6 to - $IE$3:$IE$62 - 1 column, so it sums only the first
column of your sum range. Use SUMPRODUCT instead:

=SUMPRODUCT((B6=$IE$3:$IE$62)*($IN$3:$IV$62))

Tyro

"Rick" wrote in message
...
I am trying to add up multiple columns but from what I have read so far
Sumif
won't do it.

=SUMIF($IE$3:$IE$62,B6,$IN$3:$IV$62) only returns the first value in
column
IN.

How do I ADD all columns from IN to IV.

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default sumif problem

Try this:

Assuming the range IN3:IV62 contains only numeric values.

=SUMPRODUCT((IE3:IE62=B6)*IN3:IV62)

--
Biff
Microsoft Excel MVP


"Rick" wrote in message
...
I am trying to add up multiple columns but from what I have read so far
Sumif
won't do it.

=SUMIF($IE$3:$IE$62,B6,$IN$3:$IV$62) only returns the first value in
column
IN.

How do I ADD all columns from IN to IV.

Thanks in advance



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 Problem Jay Excel Worksheet Functions 0 August 10th 06 06:22 AM
=SUMIF Problem doctorjones_md Excel Worksheet Functions 2 July 11th 06 11:42 AM
SUMIF problem... [email protected] Excel Worksheet Functions 2 September 26th 05 12:17 AM
SUMIF problem Easydoesit Excel Worksheet Functions 5 June 16th 05 10:17 PM
SUMIF problem Hodge Excel Worksheet Functions 1 November 11th 04 11:02 AM


All times are GMT +1. The time now is 10:24 AM.

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"