Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
djl djl is offline
external usenet poster
 
Posts: 8
Default SUMIF and INDIRECT reference to tab in other workbook

I am trying to summarise multiple tabs onto one spreadsheet in a different
workbook that can have more than one row of data for the same criteria using
the following but it is returning with #REF as it is saying it is volatile.

$L$5 = Filename
$C10 = Tabname
$E$17:$E$28 = Range
$I$10 = Sumif Criteria
$I$17:$I$28 = Sum_Range

=SUMIF(INDIRECT("'["&$L$5&"]"&$C10&"'!$E$17:$E$28"),$I10,INDIRECT("'["&$L$5&"]"&$C10&"'!$I$17:$I$28"))

Any help greatly appreciated !
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default SUMIF and INDIRECT reference to tab in other workbook

Is the workbook with the filename in L5 open?

Both =indirect() and =sumif() won't work if the sending workbook is closed.

DJL wrote:

I am trying to summarise multiple tabs onto one spreadsheet in a different
workbook that can have more than one row of data for the same criteria using
the following but it is returning with #REF as it is saying it is volatile.

$L$5 = Filename
$C10 = Tabname
$E$17:$E$28 = Range
$I$10 = Sumif Criteria
$I$17:$I$28 = Sum_Range

=SUMIF(INDIRECT("'["&$L$5&"]"&$C10&"'!$E$17:$E$28"),$I10,INDIRECT("'["&$L$5&"]"&$C10&"'!$I$17:$I$28"))

Any help greatly appreciated !


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
djl djl is offline
external usenet poster
 
Posts: 8
Default SUMIF and INDIRECT reference to tab in other workbook

both files are open, however the files are on a memory stick and therefore L5
quotes the pathname as well as filename i.e. F:\

"Dave Peterson" wrote:

Is the workbook with the filename in L5 open?

Both =indirect() and =sumif() won't work if the sending workbook is closed.

DJL wrote:

I am trying to summarise multiple tabs onto one spreadsheet in a different
workbook that can have more than one row of data for the same criteria using
the following but it is returning with #REF as it is saying it is volatile.

$L$5 = Filename
$C10 = Tabname
$E$17:$E$28 = Range
$I$10 = Sumif Criteria
$I$17:$I$28 = Sum_Range

=SUMIF(INDIRECT("'["&$L$5&"]"&$C10&"'!$E$17:$E$28"),$I10,INDIRECT("'["&$L$5&"]"&$C10&"'!$I$17:$I$28"))

Any help greatly appreciated !


--

Dave Peterson
.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default SUMIF and INDIRECT reference to tab in other workbook

If the files are open, you don't need the drive or path.

I would suspect that the values that you're using don't match the names of the
file/sheet. I'd double check them by typing them from scratch.

If it still doesn't work after that, you should share the exact values in those
cells.

DJL wrote:

both files are open, however the files are on a memory stick and therefore L5
quotes the pathname as well as filename i.e. F:\

"Dave Peterson" wrote:

Is the workbook with the filename in L5 open?

Both =indirect() and =sumif() won't work if the sending workbook is closed.

DJL wrote:

I am trying to summarise multiple tabs onto one spreadsheet in a different
workbook that can have more than one row of data for the same criteria using
the following but it is returning with #REF as it is saying it is volatile.

$L$5 = Filename
$C10 = Tabname
$E$17:$E$28 = Range
$I$10 = Sumif Criteria
$I$17:$I$28 = Sum_Range

=SUMIF(INDIRECT("'["&$L$5&"]"&$C10&"'!$E$17:$E$28"),$I10,INDIRECT("'["&$L$5&"]"&$C10&"'!$I$17:$I$28"))

Any help greatly appreciated !


--

Dave Peterson
.


--

Dave Peterson
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
Help with Sumif and INDIRECT JHL Excel Worksheet Functions 9 January 19th 09 08:43 PM
INDIRECT reference to another worksheet in same workbook Johan Excel Worksheet Functions 4 July 24th 08 02:05 PM
How do I use an indirect reference to a sheet in another workbook? ClintG Excel Discussion (Misc queries) 3 October 27th 06 07:23 PM
indirect function within sumif to reference other sheets [email protected] Excel Worksheet Functions 3 June 15th 06 05:46 PM
SUMIF INDIRECT Alectrical Excel Worksheet Functions 8 November 28th 05 02:05 PM


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