Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 36
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Total of a specific name Tia[_3_] Excel Worksheet Functions 3 July 15th 08 12:34 PM
See column or row total on bottom of worksheet? Debbie Excel Discussion (Misc queries) 4 July 10th 08 03:43 PM
Total column changes colors when total equals sum of other columns newstacy New Users to Excel 1 April 21st 07 09:00 PM
Adding total dollars based on specific data from another column Espo Excel Discussion (Misc queries) 1 June 13th 05 07:52 PM
grand total column B from every worksheet in workbook igor Excel Discussion (Misc queries) 2 February 23rd 05 08:42 PM


All times are GMT +1. The time now is 05:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"