LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Indirect and sumif functions with multiple workbooks

I have one workbook that basically needs to use a sumif function with the sum
range being an indirect reference to a named range. This works when the
named range is in the same workbook as the sumif formula, but I am having
trouble getting the sumif function to work using an indirect reference to a
named range in a different workbook. I tried the following formula to no
avail to reference the named range, assuming 'store alignment g1' and 'store
alignment g2' refer to the other file's name and tab respecitvely:


=SUMIF('[Total Country Data File (District & Store P&L).xls]IS
Data'!$B$5:$B$40243,F3=SUMIF('[Total Country Data File (District & Store
P&L).xls]IS Data'!$B$5:$B$40243,F3,(INDIRECT(("'["&'Store
Alignment'!G1&".xls]"&'Store Alignment'!G2&"'!"Indirect(h1)))))

Indirect H1 is on the sheet where my sumif formula is, and it is referring
to a named cell range on the other open workbook (total country data file).
Can you nest indirect formulas like this? Is there another way to sum a named
range in another workbook?



 
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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
sumif functions based on multiple data Lori Excel Worksheet Functions 2 July 16th 07 09:39 PM
SUMIF Multiple Workbooks DMc2004 Excel Worksheet Functions 2 June 13th 07 04:35 PM
multiple selections in a sumif functions Frank Excel Worksheet Functions 2 October 25th 05 01:43 PM
Using INDIRECT to refer to different workbooks Ken Cobler Excel Worksheet Functions 3 July 26th 05 10:03 PM


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

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"