Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Difficult Formula

Hello,

I have a spreadsheet that I want to put more automation into. It
contains the following cell pointer:

=+'T:\Accounting\Accounting Projects\ABC Project\Daily
Settlement\Settlement Sheets\2006-11\[Daily
Settlement_pvt_110806.xls]ABC Daily Settlement'!$H$35

The result is the contents of cell H35 in tab 'ABC Daily Settlement' in
workbook 'Daily Settlement_pvt_110806.xls'. Currently I have to
manually edit the cell to update the file name to reflect a new date,
e.g., from 'Daily Settlement_pvt_110806.xls' to 'Daily
Settlement_pvt_112006.xls'. Is there a way for me to automate the date
change? I already have one range where the date is input and it updates
all the dates in the spreadsheet but I have not been able to figure out
how to accomplish that with this cell pointer. I have alrady tried
=REPLACE and =SUBSTITUTE to no avail so any assistance anyone can
provide will be greatly appreciated!

Mike

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Difficult Formula

Try using INDIRECT, i.e. if you have the relevant date (in any date format)
in cell A1 as the same worksheet with your formula, use

=INDIRECT("'T:\Accounting\Accounting Projects\ABC Project\Daily
Settlement\Settlement Sheets\2006-11\[Daily
Settlement_pvt_"&TEXT(A1,"mmddyy")&".xls]ABC Daily Settlement'!$H$35")


"Mike" wrote:

Hello,

I have a spreadsheet that I want to put more automation into. It
contains the following cell pointer:

=+'T:\Accounting\Accounting Projects\ABC Project\Daily
Settlement\Settlement Sheets\2006-11\[Daily
Settlement_pvt_110806.xls]ABC Daily Settlement'!$H$35

The result is the contents of cell H35 in tab 'ABC Daily Settlement' in
workbook 'Daily Settlement_pvt_110806.xls'. Currently I have to
manually edit the cell to update the file name to reflect a new date,
e.g., from 'Daily Settlement_pvt_110806.xls' to 'Daily
Settlement_pvt_112006.xls'. Is there a way for me to automate the date
change? I already have one range where the date is input and it updates
all the dates in the spreadsheet but I have not been able to figure out
how to accomplish that with this cell pointer. I have alrady tried
=REPLACE and =SUBSTITUTE to no avail so any assistance anyone can
provide will be greatly appreciated!

Mike


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Difficult Formula

Is the file likely to be open at the same time? I doubt it from what
you have written, but if it is (or if it could be) then you could use
the INDIRECT function - this only works with open files, though.

Hope this helps,

Pete

Mike wrote:

Hello,

I have a spreadsheet that I want to put more automation into. It
contains the following cell pointer:

=+'T:\Accounting\Accounting Projects\ABC Project\Daily
Settlement\Settlement Sheets\2006-11\[Daily
Settlement_pvt_110806.xls]ABC Daily Settlement'!$H$35

The result is the contents of cell H35 in tab 'ABC Daily Settlement' in
workbook 'Daily Settlement_pvt_110806.xls'. Currently I have to
manually edit the cell to update the file name to reflect a new date,
e.g., from 'Daily Settlement_pvt_110806.xls' to 'Daily
Settlement_pvt_112006.xls'. Is there a way for me to automate the date
change? I already have one range where the date is input and it updates
all the dates in the spreadsheet but I have not been able to figure out
how to accomplish that with this cell pointer. I have alrady tried
=REPLACE and =SUBSTITUTE to no avail so any assistance anyone can
provide will be greatly appreciated!

Mike


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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Difficult formula SUMPRODUCT,MATCH,WEEKDAY edwardpestian Excel Worksheet Functions 7 May 8th 06 11:53 AM
Difficult Formula Cindy Excel Worksheet Functions 2 March 9th 06 10:26 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM


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