LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Concantenated SUM() problem

I'm trying to build a sum range statement by concantenating a range from
another sheet. The actual statement looks like this

=SUM(INDIRECT(AF31&"!O_"&INDEX($A:$A,ROW())&"_"&AL 31&":"&AF32&"!O_"&INDEX($A:$A,ROW())&"_"&AL32))

AF31 = Orders_June_2006.xls
AF32 = Orders_June_2006.xls

......in another scenario those could have different names, but lets
ignore that for now

AL31 = 12
AL31 = 22

.....these two cell values represent day codes
.....after formula evaluation it looks like this

=SUM(Orders_June_2006.xls!O_6697_12:Orders_June_20 06.xls!O_6697_22)

The cells are named cells based on product code and day. The formula
evaluation doesn't throw an error, but it never evaluates to anything
but zero. When I type the formula manually without the concatenation, I
get the number I'm supposed to. What is going wrong?? Thanks.

-Dan
 
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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
display value as % in concantenated cell Smudge Excel Discussion (Misc queries) 4 September 11th 07 01:34 PM
Text concantenated with a link to another spreadsheet field CLM Excel Worksheet Functions 4 April 5th 05 06:07 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM
Formatting font with concantenated string Todd[_7_] Excel Programming 3 December 14th 03 06:02 PM


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