Trouble With SUMIF

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
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!
 
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
 
Thanks for that. Great!!!

Domenic said:
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Macro - copy and paste value 3
Count Formula 1
Filtering with SUMIFS 1
SUMIF/AND combination? 2
Excell Formula 2
Excell Formula 2
Macro to add numbers in a text string 5
SUMIF. 1

Back
Top