Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default SUM function on multiple worksheet

I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet 30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain hurts.

Regards,
Fred

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUM function on multiple worksheet

Hi,

You essentially want to do a SUMIF() across sheets which is not possible.
You can try the following:

1. Select cell D9 of sheet 1 and then while holding down the Shift key click
on sheet 30. This will group sheet 1 to sheet 30;
2. Now enter the formula =IF(B9=Summary!$B$9,Sheet1!C9,0);
3. Now while the sheets are grouped, delete sheet1! from the above formula;
4. Now in cell C9 of the summary sheet, you can use the formula
=SUM(Sheet1:Sheet30!D9)

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rover" wrote in message
...
I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then
totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet
30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based
on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain
hurts.

Regards,
Fred

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default SUM function on multiple worksheet

Ashish,

Thank you for the time to answer my question...It did not work..

But trying to add from mulitple sheet which are identical, but the sheets
have pull down menus (validations). What formulare can I use on the summary
page to sum the total of the sheets based on what the values in the pull down
menus. Do you have another formula besides the sumif...

I appreciate your help

"Ashish Mathur" wrote:

Hi,

You essentially want to do a SUMIF() across sheets which is not possible.
You can try the following:

1. Select cell D9 of sheet 1 and then while holding down the Shift key click
on sheet 30. This will group sheet 1 to sheet 30;
2. Now enter the formula =IF(B9=Summary!$B$9,Sheet1!C9,0);
3. Now while the sheets are grouped, delete sheet1! from the above formula;
4. Now in cell C9 of the summary sheet, you can use the formula
=SUM(Sheet1:Sheet30!D9)

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rover" wrote in message
...
I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then
totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet
30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based
on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain
hurts.

Regards,
Fred


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUM function on multiple worksheet

Hi,

You can also try this formula in your summary sheet

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!B9"), B9,INDIRECT("Sheet"&{1,2,3}&"!C9")))

Since you have a large number of sheets, you can use the following:

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&H9:H11&"!B9"),B 9,INDIRECT("Sheet"&H9:H11&"!C9")))

where H9:H13 holds 1,2,3

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rover" wrote in message
...
I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then
totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet
30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based
on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain
hurts.

Regards,
Fred

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 19
Default SUM function on multiple worksheet

Ashish,

My brain is fried, and I cant seem to get any formulas to work...

How would you...
Sum the totals from cells C9 (values X, Y or Z - based on what the user
selected from the pull down menu in cells C9) in Sheet 1 thru Sheet 30, based
on the criteria (pull down menus) chosen...The sum from will appear on the
Summary sheet.

Please help...

"Ashish Mathur" wrote:

Hi,

You can also try this formula in your summary sheet

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!B9"), B9,INDIRECT("Sheet"&{1,2,3}&"!C9")))

Since you have a large number of sheets, you can use the following:

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&H9:H11&"!B9"),B 9,INDIRECT("Sheet"&H9:H11&"!C9")))

where H9:H13 holds 1,2,3

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rover" wrote in message
...
I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then
totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet
30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based
on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain
hurts.

Regards,
Fred




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUM function on multiple worksheet

Hi,

Cell B9 on the summary sheet and all the 30 sheets has the pull down menu
from which you can select X, Y or Z. Cell C9 of the summary sheet and all
the 30 sheets has the value to be summed up.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Ashish Mathur" wrote in message
...
Hi,

You can also try this formula in your summary sheet

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&{1,2,3}&"!B9"), B9,INDIRECT("Sheet"&{1,2,3}&"!C9")))

Since you have a large number of sheets, you can use the following:

=SUMPRODUCT(SUMIF(INDIRECT("Sheet"&H9:H11&"!B9"),B 9,INDIRECT("Sheet"&H9:H11&"!C9")))

where H9:H13 holds 1,2,3

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Rover" wrote in message
...
I am hoping some can help me...

Lets' say you have 30 sheets (tabs) in a workbook, and they are all the
formatted the same. There is also a summary sheet that calculates then
totals
from each sheet.

To sum the data from all the sheets, I use =(SUM('Sheet 1:Sheet
30'!$C$9)),
and it works fine.

However, how can I enhance the formula to add the cells where there are
pull-down menus (validations).

On the summary sheet I need the totals for X, Y and Z from cell C9 based
on
what is selected from the pull down menu in cell C9.

I appreciate the help, I spent lots of time on this today, and my brain
hurts.

Regards,
Fred

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
Function across multiple worksheet phil Excel Worksheet Functions 7 October 23rd 06 06:40 PM
plot graph from multiple worksheet as embedded chart object on every worksheet [email protected] Charts and Charting in Excel 3 August 24th 06 07:26 PM
plot graph from multiple worksheet as embedded chart object on every worksheet [email protected] Excel Worksheet Functions 2 August 24th 06 05:26 PM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
Reference the worksheet from a multiple worksheet range function ( DBickel Excel Worksheet Functions 1 May 28th 05 03:49 AM


All times are GMT +1. The time now is 05:38 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"