Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
TOTAL A SPECIFIC COLUMN FOR EACH WORKSHEET
I work with 12 worksheets (XL2003) with recap sheets by department. I have
been asked to add a new recap sheet but the formulas that I used for the others do not seem to work. As an example, I need the total of column K in January if column A in January matches column B in the recap and if column E in January also matches column A in the recap. Help |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
TOTAL A SPECIFIC COLUMN FOR EACH WORKSHEET
I have a sheet called January and a sheet called Recap
This seems to do what you want =SUMPRODUCT(--(January!A1:A6=recap!B1:B6),--(January!E1:E6=recap!A1:A6),January!K1:K6) Note that only in XL2007 can you use full column references as in =SUMPRODUCT(--(January!A:A=recap!B:B),--(January!E:E=recap!A:A),January!K:K) For more details on SUMPRODUCT Bob Phillips http://www.xldynamic.com/source/xld.SUMPRODUCT.html J.E McGimpsey http://mcgimpsey.com/excel/formulae/doubleneg.html best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda" wrote in message ... I work with 12 worksheets (XL2003) with recap sheets by department. I have been asked to add a new recap sheet but the formulas that I used for the others do not seem to work. As an example, I need the total of column K in January if column A in January matches column B in the recap and if column E in January also matches column A in the recap. Help |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
TOTAL A SPECIFIC COLUMN FOR EACH WORKSHEET
Thanks Bernard. I've popped in your formula but I get an error message
highlighting the , after the first criteria. Any particular reason this would happen? -- Wanda "Bernard Liengme" wrote: I have a sheet called January and a sheet called Recap This seems to do what you want =SUMPRODUCT(--(January!A1:A6=recap!B1:B6),--(January!E1:E6=recap!A1:A6),January!K1:K6) Note that only in XL2007 can you use full column references as in =SUMPRODUCT(--(January!A:A=recap!B:B),--(January!E:E=recap!A:A),January!K:K) For more details on SUMPRODUCT Bob Phillips http://www.xldynamic.com/source/xld.SUMPRODUCT.html J.E McGimpsey http://mcgimpsey.com/excel/formulae/doubleneg.html best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda" wrote in message ... I work with 12 worksheets (XL2003) with recap sheets by department. I have been asked to add a new recap sheet but the formulas that I used for the others do not seem to work. As an example, I need the total of column K in January if column A in January matches column B in the recap and if column E in January also matches column A in the recap. Help |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
TOTAL A SPECIFIC COLUMN FOR EACH WORKSHEET
Send me (my private email) a copy of the file
best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda B" wrote in message ... Thanks Bernard. I've popped in your formula but I get an error message highlighting the , after the first criteria. Any particular reason this would happen? -- Wanda "Bernard Liengme" wrote: I have a sheet called January and a sheet called Recap This seems to do what you want =SUMPRODUCT(--(January!A1:A6=recap!B1:B6),--(January!E1:E6=recap!A1:A6),January!K1:K6) Note that only in XL2007 can you use full column references as in =SUMPRODUCT(--(January!A:A=recap!B:B),--(January!E:E=recap!A:A),January!K:K) For more details on SUMPRODUCT Bob Phillips http://www.xldynamic.com/source/xld.SUMPRODUCT.html J.E McGimpsey http://mcgimpsey.com/excel/formulae/doubleneg.html best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda" wrote in message ... I work with 12 worksheets (XL2003) with recap sheets by department. I have been asked to add a new recap sheet but the formulas that I used for the others do not seem to work. As an example, I need the total of column K in January if column A in January matches column B in the recap and if column E in January also matches column A in the recap. Help |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
TOTAL A SPECIFIC COLUMN FOR EACH WORKSHEET
Bernard,
Everything works like a charm -- Wanda "Bernard Liengme" wrote: Send me (my private email) a copy of the file best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda B" wrote in message ... Thanks Bernard. I've popped in your formula but I get an error message highlighting the , after the first criteria. Any particular reason this would happen? -- Wanda "Bernard Liengme" wrote: I have a sheet called January and a sheet called Recap This seems to do what you want =SUMPRODUCT(--(January!A1:A6=recap!B1:B6),--(January!E1:E6=recap!A1:A6),January!K1:K6) Note that only in XL2007 can you use full column references as in =SUMPRODUCT(--(January!A:A=recap!B:B),--(January!E:E=recap!A:A),January!K:K) For more details on SUMPRODUCT Bob Phillips http://www.xldynamic.com/source/xld.SUMPRODUCT.html J.E McGimpsey http://mcgimpsey.com/excel/formulae/doubleneg.html best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "Wanda" wrote in message ... I work with 12 worksheets (XL2003) with recap sheets by department. I have been asked to add a new recap sheet but the formulas that I used for the others do not seem to work. As an example, I need the total of column K in January if column A in January matches column B in the recap and if column E in January also matches column A in the recap. Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Total of a specific name | Excel Worksheet Functions | |||
See column or row total on bottom of worksheet? | Excel Discussion (Misc queries) | |||
Total column changes colors when total equals sum of other columns | New Users to Excel | |||
Adding total dollars based on specific data from another column | Excel Discussion (Misc queries) | |||
grand total column B from every worksheet in workbook | Excel Discussion (Misc queries) |