Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Adding Cells from Multiple Sheets

I know the subject line seems like an easy thing so please read this all
before you asnwer. I have a spreadsheet with 60 tabs. On each tab in cell
F36 I have a countif statement that looks like: =countif(D6:D38,"C"). What
I'd like to do is add up the countif statements from all 60 tabs to summarize
that number on another sheet. I started writing something that looks like:
='ALBQ.QWT.1'!F36 + 'ALBQ.QWT.2'!F36 + so on and so forth, but I have 13
spreadsheets with 60 tabs each. As you can see it's kind of a large task to
do manually.

My question is; can I do something programatically to add all of these cells
up without having to write the huge addition statement?

Any help would be greatly appreciated!!!!

Thanks,

KG
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Adding Cells from Multiple Sheets

You can use function SUM, but need a little trick.
1) In the results sheet, type: " =sum( "
!Do not use Enter key after "("

2) use shift and/or ctrl key and mouse to select all the 60 sheets tabs
3) use mouse to select cell F36
4) type ") "

You formula should look like:
=SUM('ALBQ.QWT.1:ALBQ.QWT.60'!F36)

Or

You can directly type the formula like:
=SUM('ShtLeftMost:ShtRightMost!F36)
ShtLeftMost is the sheet name of the left most tab and ShtRightMost is the
sheet name of the right most tab.

===== * ===== * ===== * =====
Daniel CHEN

Spreadsheet/VBA Specialist

www.Geocities.com/UDQServices
Your "Impossible" Task Could Be Someone Else's "Piece of Cake"
===== * ===== * ===== * =====



"Kevin G" wrote in message
...
I know the subject line seems like an easy thing so please read this all
before you asnwer. I have a spreadsheet with 60 tabs. On each tab in
cell
F36 I have a countif statement that looks like: =countif(D6:D38,"C").
What
I'd like to do is add up the countif statements from all 60 tabs to
summarize
that number on another sheet. I started writing something that looks
like:
='ALBQ.QWT.1'!F36 + 'ALBQ.QWT.2'!F36 + so on and so forth, but I have 13
spreadsheets with 60 tabs each. As you can see it's kind of a large task
to
do manually.

My question is; can I do something programatically to add all of these
cells
up without having to write the huge addition statement?

Any help would be greatly appreciated!!!!

Thanks,

KG



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Adding Cells from Multiple Sheets

=Sum('ALBQ.QWT.1:ALBQ.QWT.30'!F36)

--
Regards,
Tom Ogilvy



"Kevin G" wrote in message
...
I know the subject line seems like an easy thing so please read this all
before you asnwer. I have a spreadsheet with 60 tabs. On each tab in

cell
F36 I have a countif statement that looks like: =countif(D6:D38,"C").

What
I'd like to do is add up the countif statements from all 60 tabs to

summarize
that number on another sheet. I started writing something that looks

like:
='ALBQ.QWT.1'!F36 + 'ALBQ.QWT.2'!F36 + so on and so forth, but I have 13
spreadsheets with 60 tabs each. As you can see it's kind of a large task

to
do manually.

My question is; can I do something programatically to add all of these

cells
up without having to write the huge addition statement?

Any help would be greatly appreciated!!!!

Thanks,

KG



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Adding Cells from Multiple Sheets

Tom and Daniel --

Thank you so much for this "easy" fix!! It works like a champ and has saved
me (and my fingertips) a lot of time and effort.

Thanks again,

Kevin G

"Tom Ogilvy" wrote:

=Sum('ALBQ.QWT.1:ALBQ.QWT.30'!F36)

--
Regards,
Tom Ogilvy



"Kevin G" wrote in message
...
I know the subject line seems like an easy thing so please read this all
before you asnwer. I have a spreadsheet with 60 tabs. On each tab in

cell
F36 I have a countif statement that looks like: =countif(D6:D38,"C").

What
I'd like to do is add up the countif statements from all 60 tabs to

summarize
that number on another sheet. I started writing something that looks

like:
='ALBQ.QWT.1'!F36 + 'ALBQ.QWT.2'!F36 + so on and so forth, but I have 13
spreadsheets with 60 tabs each. As you can see it's kind of a large task

to
do manually.

My question is; can I do something programatically to add all of these

cells
up without having to write the huge addition statement?

Any help would be greatly appreciated!!!!

Thanks,

KG




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
Adding multiple intances from several sheets? cwcordell Excel Worksheet Functions 2 November 29th 09 03:09 PM
adding stats from multiple sheets Dan Excel Discussion (Misc queries) 0 December 9th 08 04:42 PM
adding off of multiple sheets bustanutti21 Excel Discussion (Misc queries) 1 December 23rd 05 07:41 PM
adding lots of cells from different sheets dodgyone Excel Worksheet Functions 2 September 26th 05 04:23 PM
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. Steve Excel Worksheet Functions 6 November 24th 04 12:10 AM


All times are GMT +1. The time now is 03:16 PM.

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"