#1   Report Post  
Posted to microsoft.public.excel.misc
Eqa Eqa is offline
external usenet poster
 
Posts: 52
Default Trouble With SUMIF

I have 12 columns of $ values that relate to a different month for each
cloumn. The first column lists different suppliers whose name may appear many
times within that column. I am having problems getting a total $ spend for
each supplier for the whole 12 columns representing the year.

I hope this is clear. Thanking you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default Trouble With SUMIF

Assuming that A2:A10 contains the supplier, and B2:M10 contains the
corresponding dollar amount for each month, let O2 contain the first
supplier of interest, O3 the second, O4 the third, and so on. Then
try...

P2, copied down:

=SUM(IF($A$2:$A$10=O2,$B$2:$M$10))

Note that the formula needs to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER.

Hope this helps!

In article ,
Eqa wrote:

I have 12 columns of $ values that relate to a different month for each
cloumn. The first column lists different suppliers whose name may appear many
times within that column. I am having problems getting a total $ spend for
each supplier for the whole 12 columns representing the year.

I hope this is clear. Thanking you for your help.

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

Try this:

=SUMPRODUCT((A2:A10="supplier")*B2:M10)

Or, use a cell to hold the supplier:

A15 = Joe's Supplies

=SUMPRODUCT((A2:A10=A15)*B2:M10)

Biff

"Eqa" wrote in message
...
I have 12 columns of $ values that relate to a different month for each
cloumn. The first column lists different suppliers whose name may appear
many
times within that column. I am having problems getting a total $ spend for
each supplier for the whole 12 columns representing the year.

I hope this is clear. Thanking you for your help.



  #4   Report Post  
Posted to microsoft.public.excel.misc
Eqa Eqa is offline
external usenet poster
 
Posts: 52
Default Trouble With SUMIF

Thanks for that. Great!!!

"Domenic" wrote:

Assuming that A2:A10 contains the supplier, and B2:M10 contains the
corresponding dollar amount for each month, let O2 contain the first
supplier of interest, O3 the second, O4 the third, and so on. Then
try...

P2, copied down:

=SUM(IF($A$2:$A$10=O2,$B$2:$M$10))

Note that the formula needs to be confirmed with CONTROL+SHIFT+ENTER,
not just ENTER.

Hope this helps!

In article ,
Eqa wrote:

I have 12 columns of $ values that relate to a different month for each
cloumn. The first column lists different suppliers whose name may appear many
times within that column. I am having problems getting a total $ spend for
each supplier for the whole 12 columns representing the year.

I hope this is clear. Thanking you for your help.


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
dim trouble jocke Excel Discussion (Misc queries) 7 October 6th 05 08:55 PM
UDF trouble Ray A Excel Discussion (Misc queries) 1 September 8th 05 09:23 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
still having trouble with this.... nick Excel Worksheet Functions 4 March 13th 05 07:40 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 10:58 PM.

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"