Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Multi-sheet sumif help

Howdy All,

I have a workbook with 6 worksheets in it that each contain the data for 6
departments.
The data format on each worksheet is identical.
I have a column on each worksheet for the date (Column B) and another for
the production volume on that date (Column T). The is other date on the
worksheets, but I believe we only need be concerned with these two columns.

On another worksheet called TOTALS, I want to display a total for each date
across the 6 worksheets. For example on 12/15/2006, work was done in 3 of
the 6 departments. I want to display that date and the 3 department total on
the TOTALS worksheet.
Is there a way to list the dates without duplicates and display the totals
by date across all the departments?

I hope I am clear.
Thanks for your input!

Brian


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multi-sheet sumif help

=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&{1,2,3,4,5,6}& "'!C1:C1000"),K1,INDIRECT("'Sheet"&{1,2,3,4,5,6}&" '!T1:T1000")))

which assumes that your sheets are named Sheet1,2,3,etc. and the date is in
K1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Brian" wrote in message
...
Howdy All,

I have a workbook with 6 worksheets in it that each contain the data for 6
departments.
The data format on each worksheet is identical.
I have a column on each worksheet for the date (Column B) and another for
the production volume on that date (Column T). The is other date on the
worksheets, but I believe we only need be concerned with these two
columns.

On another worksheet called TOTALS, I want to display a total for each
date across the 6 worksheets. For example on 12/15/2006, work was done in
3 of the 6 departments. I want to display that date and the 3 department
total on the TOTALS worksheet.
Is there a way to list the dates without duplicates and display the totals
by date across all the departments?

I hope I am clear.
Thanks for your input!

Brian



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 30
Default Multi-sheet sumif help

Thanks Bob.

But it gives me an error on the first Sheet name. I replaced the '1' with
the first sheet name (which is actually MHO) and it errors on it. Any Ideas?


"Bob Phillips" wrote in message
...
=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&{1,2,3,4,5,6}& "'!C1:C1000"),K1,INDIRECT("'Sheet"&{1,2,3,4,5,6}&" '!T1:T1000")))

which assumes that your sheets are named Sheet1,2,3,etc. and the date is
in K1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Brian" wrote in message
...
Howdy All,

I have a workbook with 6 worksheets in it that each contain the data for
6 departments.
The data format on each worksheet is identical.
I have a column on each worksheet for the date (Column B) and another for
the production volume on that date (Column T). The is other date on the
worksheets, but I believe we only need be concerned with these two
columns.

On another worksheet called TOTALS, I want to display a total for each
date across the 6 worksheets. For example on 12/15/2006, work was done in
3 of the 6 departments. I want to display that date and the 3 department
total on the TOTALS worksheet.
Is there a way to list the dates without duplicates and display the
totals by date across all the departments?

I hope I am clear.
Thanks for your input!

Brian





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 340
Default Multi-sheet sumif help

For a list of dates, fill down from the first row:

=SMALL(IF(FREQUENCY(Sheet1:Sheet6!
B:B,ROW($36526:$40179)),ROW($36526:$40179)),ROW())

assuming all dates are between Jan-00 and Jan-10. Then use sumif
formulas for the six cols:

=SUMIF(Sheet1!B:B,A1,Sheet1!T:T)

etc. Alternatively, if you know pivottables, use the multiple
consolidation sources option with e.g. sheet1!B1:T1000,...,sheet6!
B1:T1000 as ranges



On 20 Jul, 16:04, "Brian" wrote:
Thanks Bob.

But it gives me an error on the first Sheet name. I replaced the '1' with
the first sheet name (which is actually MHO) and it errors on it. Any Ideas?

"Bob Phillips" wrote in message

...



=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&{1,2,3,4,5,6}& "'!C1:C1000"),K1,INDIRECT*("'Sheet"&{1,2,3,4,5,6}& "'!T1:T1000")))


which assumes that your sheets are named Sheet1,2,3,etc. and the date is
in K1


--
HTH


Bob


(there's no email, no snail mail, but somewhere should be gmail in my
addy)


"Brian" wrote in message
...
Howdy All,


I have a workbook with 6 worksheets in it that each contain the data for
6 departments.
The data format on each worksheet is identical.
I have a column on each worksheet for the date (Column B) and another for
the production volume on that date (Column T). The is other date on the
worksheets, but I believe we only need be concerned with these two
columns.


On another worksheet called TOTALS, I want to display a total for each
date across the 6 worksheets. For example on 12/15/2006, work was done in
3 of the 6 departments. I want to display that date and the 3 department
total on the TOTALS worksheet.
Is there a way to list the dates without duplicates and display the
totals by date across all the departments?


I hope I am clear.
Thanks for your input!


Brian- Hide quoted text -


- Show quoted text -



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Multi-sheet sumif help

If the sheet names are not an ordered list, like Sheet1, Sheet2, then put
the sheet names in M1:M6 and use

=SUMPRODUCT(SUMIF(INDIRECT("'"&M1:M6&"'!C1:C1000") ,K1,INDIRECT("'"&M1:M6&"'!T1:T1000")))

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Brian" wrote in message
...
Thanks Bob.

But it gives me an error on the first Sheet name. I replaced the '1' with
the first sheet name (which is actually MHO) and it errors on it. Any
Ideas?


"Bob Phillips" wrote in message
...
=SUMPRODUCT(SUMIF(INDIRECT("'Sheet"&{1,2,3,4,5,6}& "'!C1:C1000"),K1,INDIRECT("'Sheet"&{1,2,3,4,5,6}&" '!T1:T1000")))

which assumes that your sheets are named Sheet1,2,3,etc. and the date is
in K1

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my
addy)

"Brian" wrote in message
...
Howdy All,

I have a workbook with 6 worksheets in it that each contain the data for
6 departments.
The data format on each worksheet is identical.
I have a column on each worksheet for the date (Column B) and another
for the production volume on that date (Column T). The is other date on
the worksheets, but I believe we only need be concerned with these two
columns.

On another worksheet called TOTALS, I want to display a total for each
date across the 6 worksheets. For example on 12/15/2006, work was done
in 3 of the 6 departments. I want to display that date and the 3
department total on the TOTALS worksheet.
Is there a way to list the dates without duplicates and display the
totals by date across all the departments?

I hope I am clear.
Thanks for your input!

Brian









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
multi-sheet sort BuzzJoe Excel Discussion (Misc queries) 2 January 3rd 07 04:07 PM
multi column of sumif birdsting Excel Worksheet Functions 3 May 17th 06 01:10 PM
Multi-sheet totals Jim M New Users to Excel 6 May 5th 05 01:26 PM
SUMIF with multi-column sum_range Kevin B Excel Worksheet Functions 2 November 17th 04 02:17 AM


All times are GMT +1. The time now is 06:56 AM.

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

About Us

"It's about Microsoft Excel"