Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 37
Default SUMIF formula that crosses multiple sheet tabs

I have 14 sheet tabs that are named 1, 2, 3, 4, .... 14. These tabs are
positioned next to each other in the workbook. I am trying to create a
summary page that does a "SUMIF" across all of these tabs based upon criteria
that exists in cell B3 of the Summary tab. Here are the specifics:

Sheets 1-14 have product descriptions in column G
Sheets 1-14 have sales for each product in column K
cell B3 on Summary tab = "Soup"

Here is the formula I currently have in cell B4 of the Summary tab:

=SUMIF('1:14'!$G$9:$G$10000,B3,'1:14'!$K$9:$K$1000 0)

The formula results in a #VALUE error. I tried entering as an array formula
too (Ctrl+Shift+Enter), but got the same result. Clearly the SUMIF formula
is not working, but is there another alternative to accomplish the same goal?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default SUMIF formula that crosses multiple sheet tabs

=SUMPRODUCT(SUMIF(INDIRECT(ROW(INDIRECT("1:14"))&" !$G$9:$G$10000"),B3,INDIRECT(ROW(INDIRECT("1:14")) &"!$K$9:$K$10000")))

--
HTH

Bob

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

"JDaywalt" wrote in message
...
I have 14 sheet tabs that are named 1, 2, 3, 4, .... 14. These tabs are
positioned next to each other in the workbook. I am trying to create a
summary page that does a "SUMIF" across all of these tabs based upon
criteria
that exists in cell B3 of the Summary tab. Here are the specifics:

Sheets 1-14 have product descriptions in column G
Sheets 1-14 have sales for each product in column K
cell B3 on Summary tab = "Soup"

Here is the formula I currently have in cell B4 of the Summary tab:

=SUMIF('1:14'!$G$9:$G$10000,B3,'1:14'!$K$9:$K$1000 0)

The formula results in a #VALUE error. I tried entering as an array
formula
too (Ctrl+Shift+Enter), but got the same result. Clearly the SUMIF
formula
is not working, but is there another alternative to accomplish the same
goal?



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
Create multiple sheet tabs from multiple cells. Robert Maddox Excel Worksheet Functions 17 November 14th 07 10:28 PM
Sumif for multiple tabs Brad Excel Worksheet Functions 2 November 17th 06 06:11 PM
view excel sheet tabs in multiple rows gingerq Setting up and Configuration of Excel 2 June 27th 06 01:25 AM
selecting multiple sheet tabs and open another workbook Bannor Excel Discussion (Misc queries) 5 November 25th 05 02:38 AM
printing multiple sheet tabs to image file 0492-Examiner Excel Discussion (Misc queries) 0 October 19th 05 10:43 PM


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