Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Problem with SUMPRODUCT(SUMIF(INDEX formula linking to external fi

Can anyone tell me what's wrong with this formula?

=SUMPRODUCT(SUMIF(INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!j:j"),D3,INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!p:p")))

I am getting #NAME? error.

I am using Excel 2007.
I have the external file open.
I have the Analysis Toolpak Add-Ins.

I believe there must be something wrong with where I have the " ' ! but I
just can't seem to figure it out.

Any ideas would be appreciated!



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Problem with SUMPRODUCT(SUMIF(INDEX formula linking to external fi

Here's my best guess:

=SUMPRODUCT(SUMIF(INDIRECT("'[File_Name.xlsm]"&$A$176:$A$194&"'!J:J"),D3,INDIRECT("'[File_Name.xlsm]"&A$176:$A$194&"'!P:P")))

--
Biff
Microsoft Excel MVP


"gina1221" wrote in message
...
Can anyone tell me what's wrong with this formula?

=SUMPRODUCT(SUMIF(INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!j:j"),D3,INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!p:p")))

I am getting #NAME? error.

I am using Excel 2007.
I have the external file open.
I have the Analysis Toolpak Add-Ins.

I believe there must be something wrong with where I have the " ' ! but I
just can't seem to figure it out.

Any ideas would be appreciated!





  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,420
Default Problem with SUMPRODUCT(SUMIF(INDEX formula linking to external fi

Why don' you tell in words what you are trying to do?

--
__________________________________
HTH

Bob

"gina1221" wrote in message
...
Can anyone tell me what's wrong with this formula?

=SUMPRODUCT(SUMIF(INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!j:j"),D3,INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!p:p")))

I am getting #NAME? error.

I am using Excel 2007.
I have the external file open.
I have the Analysis Toolpak Add-Ins.

I believe there must be something wrong with where I have the " ' ! but I
just can't seem to figure it out.

Any ideas would be appreciated!





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Problem with SUMPRODUCT(SUMIF(INDEX formula linking to externa

I have an Excel workbook with approximately 65 sheets. I need to sum the
values in column J where it matches column D in an external sheet and return
the value from column P for each of the sheets in the workbook. I have the
list of sheet names listed on a sheet inside the workbook and that's how I'm
trying to use INDIRECT to pull information from all of the sheets instead of
just SUMIF and listing each sheet individually as this takes an inordinate
amount of time given the number of sheets in use.

Thanks, Gina

"Bob Phillips" wrote:

Why don' you tell in words what you are trying to do?

--
__________________________________
HTH

Bob

"gina1221" wrote in message
...
Can anyone tell me what's wrong with this formula?

=SUMPRODUCT(SUMIF(INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!j:j"),D3,INDIRECT([File_Name.xlsm]SheetName&"'"&$A$176:$A$194&"'!p:p")))

I am getting #NAME? error.

I am using Excel 2007.
I have the external file open.
I have the Analysis Toolpak Add-Ins.

I believe there must be something wrong with where I have the " ' ! but I
just can't seem to figure it out.

Any ideas would be appreciated!






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
INDEX / MATCH with SUMIF/COUNTIF/SUMPRODUCT Statements? Ronny Hamida Excel Worksheet Functions 10 July 29th 08 03:50 PM
variable substitution in a formula linking to external workbook my Excel Discussion (Misc queries) 2 August 29th 07 03:05 PM
SUMIF and SUMPRODUCT with INDIRECT formula problem Sunnyskies Excel Discussion (Misc queries) 1 August 18th 07 11:17 AM
Linking sumif from external database file George Setting up and Configuration of Excel 1 April 17th 05 08:29 AM
Linking formula to external spreadsheet Tunde Excel Discussion (Misc queries) 1 March 1st 05 03:05 AM


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