Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Egon
 
Posts: n/a
Default Building a Filename

Here is the formula:

{=IF(A10<TODAY(),SUM(IF(CONCATENATE("'S:\Major Projects\6917-11
Gomez\revenue and cost tracking\Vessel Reports\[PS-MR-RP-DMR
",TEXT(A10,"dd mmm
yy"),".xls]DMR!$N$182:$Q$254")="CDI",IF('[PS-MR-RP-DMR 01 Jul
05.xls]DMR'!$J$182:$M$254="Assist. Super.",1,0),0)),0)}

What I'm trying to do is build the filename to a file based on the
date. I have to reformat the date so that it matches the format fo the
file. The problem seems to be that the formula isn't calculating the
Concatenate first or is putting it as pure text to evaluate to "CDI." I
need it to evaluate the concatenate and then check for the results
based on the output of the concatenated string.

I've tried different variations, however, this seems to be the one that
is closest to working, although it doesn't want to evaluate properly.

Any help would be appreciated.

Thanks.
J.

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

I haven't tested it but try this

=IF(A10<TODAY(),SUM(IF(INDIRECT("'S:\Major Projects\6917-11Gomez\revenue and
cost tracking\Vessel Reports\[PS-MR-RP-DMR"&TEXT(A10,"dd mmm
yy")&".xls]DMR!$N$182:$Q$254")="CDI",IF('[PS-MR-RP-DMR 01 Jul
05.xls]DMR'!$J$182:$M$254="Assist. Super.",1,0),0)),0)

--
HTH

Bob Phillips

"Egon" wrote in message
oups.com...
Here is the formula:

{=IF(A10<TODAY(),SUM(IF(CONCATENATE("'S:\Major Projects\6917-11
Gomez\revenue and cost tracking\Vessel Reports\[PS-MR-RP-DMR
",TEXT(A10,"dd mmm
yy"),".xls]DMR!$N$182:$Q$254")="CDI",IF('[PS-MR-RP-DMR 01 Jul
05.xls]DMR'!$J$182:$M$254="Assist. Super.",1,0),0)),0)}

What I'm trying to do is build the filename to a file based on the
date. I have to reformat the date so that it matches the format fo the
file. The problem seems to be that the formula isn't calculating the
Concatenate first or is putting it as pure text to evaluate to "CDI." I
need it to evaluate the concatenate and then check for the results
based on the output of the concatenated string.

I've tried different variations, however, this seems to be the one that
is closest to working, although it doesn't want to evaluate properly.

Any help would be appreciated.

Thanks.
J.



  #3   Report Post  
Egon
 
Posts: n/a
Default

That doesn't seem to work either. It gives me an invalid cell reference
value I think, or something to the affect. I'm sure it has to do with
Excel looking at the data from the concatenate funcation as text and
not as a reference to another workbook.

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
filename pointer tanhs Excel Worksheet Functions 0 June 21st 05 02:09 AM
Filename at the very top of Microsoft Excel Window Skyking Excel Discussion (Misc queries) 2 April 28th 05 04:25 AM
2 Question: Coloumn width, Filename nopfusch Excel Worksheet Functions 2 March 15th 05 07:43 PM
How do I join a filename and a cellreference, by just filling in . René Excel Worksheet Functions 1 February 23rd 05 02:24 PM
Insert value of a cell as a filename Ralph Howarth Excel Worksheet Functions 0 January 18th 05 12:03 AM


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