You may want to consider using data|pivottable, too. You can do summaries
pretty quickly.
If you've never use pivottables, here are a few links:
Debra Dalgleish's pictures at Jon Peltier's site:
http://peltiertech.com/Excel/Pivots/pivottables.htm
And Debra's own site:
http://www.contextures.com/xlPivot01.html
John Walkenbach also has some at:
http://j-walk.com/ss/excel/files/general.htm
(look for Tony Gwynn's Hit Database)
Chip Pearson keeps Harald Staff's notes at:
http://www.cpearson.com/excel/pivots.htm
MS has some at (xl2000 and xl2002):
http://office.microsoft.com/downloads/2000/XCrtPiv.aspx
http://office.microsoft.com/assistan...lconPT101.aspx
Chris wrote:
>
> 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.
--
Dave Peterson