Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 389
Default Adding Multiple Pages(Tabs)

I currently use the following formula to add values together from one tab to
a totals page.

=SUMPRODUCT(--('1-500'!C4:'1-500'!C518="CY"),--('1-500'!H4:'1-500'!H518="Bus"),'1-500'!G4:'1-500'!G518)

But I have added another page (tab) which i need adding into the totals
pages as well. The same information is held on this new page and it is held
in the same column and rows. How do i adjust the above formula to include the
new page? The name page is called 501-1000.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Adding Multiple Pages(Tabs)

Replace 1-500 with 501-1000
--
If this post helps click Yes
---------------
Jacob Skaria


"Steven" wrote:

I currently use the following formula to add values together from one tab to
a totals page.

=SUMPRODUCT(--('1-500'!C4:'1-500'!C518="CY"),--('1-500'!H4:'1-500'!H518="Bus"),'1-500'!G4:'1-500'!G518)

But I have added another page (tab) which i need adding into the totals
pages as well. The same information is held on this new page and it is held
in the same column and rows. How do i adjust the above formula to include the
new page? The name page is called 501-1000.

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default Adding Multiple Pages(Tabs)

Stephen

Usually, the easiest way is to add two sheets one before 1-500! and call it
First, and the second after the second sheet and call it Last.

To sum the values in B5 in all sheets use =SUM(First:Last!B3)
to sum B5:B10 in all sheets use =SUM(First:Last!B5:B10)

Unfortunately, it seems you can't do that with SUMPRODUCT. I had to make the
Ranges absolute copy the formula and replace the Sheet references using Edit,
Replace then add the two formulas as below.

=SUMPRODUCT(--('1-500'!$C$4:'1-500'!$C$518="CY"),--('1-500'!$H$4:'1-500'!$H$518="Bus"),'1-500'!$G$4:'1-500'!$G$518)+SUMPRODUCT(--('501-1000'!$C$4:'501-1000'!$C$518="CY"),--('501-1000'!$H$4:'501-1000'!$H$518="Bus"),'501-1000'!$G$4:'501-1000'!$G$518)

HTH
Peter Atherton





"Steven" wrote:

I currently use the following formula to add values together from one tab to
a totals page.

=SUMPRODUCT(--('1-500'!C4:'1-500'!C518="CY"),--('1-500'!H4:'1-500'!H518="Bus"),'1-500'!G4:'1-500'!G518)

But I have added another page (tab) which i need adding into the totals
pages as well. The same information is held on this new page and it is held
in the same column and rows. How do i adjust the above formula to include the
new page? The name page is called 501-1000.

Thanks

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
Please Help ~ Lookup from Multiple Pages/Tabs Huge Woorkbook.. Champ Excel Worksheet Functions 2 November 25th 08 11:49 PM
Adding Multiple Excel Spreadsheets To One Another From Saved HTML Pages Martin[_3_] Excel Worksheet Functions 1 August 2nd 08 05:20 PM
Fomula when adding the same cell across multiple tabs RAL Excel Discussion (Misc queries) 4 May 31st 07 02:56 AM
Tabs v.Pages DarklyCute1 Excel Worksheet Functions 1 July 12th 06 06:07 PM
adding row headings to multiple pages - how do i input the rows? connie New Users to Excel 1 May 18th 06 05:10 PM


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