Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
dim trouble | Excel Discussion (Misc queries) | |||
UDF trouble | Excel Discussion (Misc queries) | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
still having trouble with this.... | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |