C
Chris
I have a number of Workbooks, each containing a single Worksheet.
Each WS contains similar data, i.e. uses the same column headings, but
is of variable length.
Column C in each WS is 'Location'(L1 - Lx).
Column J in each WS is 'Number of Widgets' (1 - N).
An L can appear several times in a WS, but not all Ls necessarily
appear in all WSs.
Every appearance of a L in a WS has a corresponding NoWs.
I want to be able to sum the NoWs for each L in each WS, and get a
single total for number of NoWs for each L in a WS.
Thus far I have used
'=SUMIF(C$2:C$60,C2,J$2;J$60)'
and dragged this into each row in the total column. This gives me the
correct answers, but repeats the answer for each L on every row that
that L appears in.
How can I modify this, or start again, such that I get a single total
for each L that appears in a WS?
I would like to be able to do this without having to type anything,
other than cell references, as if I start typing the L names I might
introduce errors, and it would be laborious.
Each WS contains similar data, i.e. uses the same column headings, but
is of variable length.
Column C in each WS is 'Location'(L1 - Lx).
Column J in each WS is 'Number of Widgets' (1 - N).
An L can appear several times in a WS, but not all Ls necessarily
appear in all WSs.
Every appearance of a L in a WS has a corresponding NoWs.
I want to be able to sum the NoWs for each L in each WS, and get a
single total for number of NoWs for each L in a WS.
Thus far I have used
'=SUMIF(C$2:C$60,C2,J$2;J$60)'
and dragged this into each row in the total column. This gives me the
correct answers, but repeats the answer for each L on every row that
that L appears in.
How can I modify this, or start again, such that I get a single total
for each L that appears in a WS?
I would like to be able to do this without having to type anything,
other than cell references, as if I start typing the L names I might
introduce errors, and it would be laborious.