Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Quick way to change file name

Hello,

In my formula to take the amount of total collection there is a file name
ExtractDatainvcoll_Servr_080718, identified by date 080718 means this is the
status as of 18 July 2008.

But for today Jul 31, 2008 I should change the formula to reflect the
correct Vlookup, to be the name of ExtractDatainvcoll_Servr_080731.

My question is how can we make it automatically ( instead of manually
changed) it will change from the last file name.

Below is my formula:


=IF(ISNA(VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$13:$H$600,8,FALSE)),0,VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$13:$H$600,8,FALSE))

Thanks in advance for any help.
--
H. Frank Situmorang
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Quick way to change file name

If you have a lot of those formulae, then you can change them in one
operation by highlighting the cells with the formula in, then CTRL-H
(or Edit | Replace), and:

Find What: 080718
Replace with: 080731
Click Replace All

Another more automatic way would be to calculate the appropriate date
string from today's date and to use INDIRECT in your formula, but that
will only work if the file is open at the same time.

Hope this helps.

Pete

On Jul 31, 3:43*am, Frank Situmorang wrote:
Hello,

In my formula to take the amount of total collection there is a file name
ExtractDatainvcoll_Servr_080718, identified by date 080718 means this is the
status as of 18 July 2008.

But for today Jul 31, 2008 I should change the formula to reflect the
correct Vlookup, to be the name of ExtractDatainvcoll_Servr_080731.

My question is how can we make it automatically ( instead of manually
changed) it will change from the last file name.

Below is my formula:

=IF(ISNA(VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$13:$H$6*00,8,FALSE)),0,VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$1*3:$H$600,8,FALSE))

Thanks in advance for any help.
--
H. Frank Situmorang


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 65
Default Quick way to change file name

Thanks Pete for your response, what if it is in one cell, as you see my
formula is a bit long, it is still better to use Cntl_H, then we copy it down.

But when I tried it it didn't work, should we higlight all the text in the
formula?, and then do we need to change the option?.

I am also interested in the 2ndone. It does not matter if I open them at the
same time, but how can we use INDIRECT formula.

Thanks in advance for your help.
--
H. Frank Situmorang


"Frank Situmorang" wrote:

Hello,

In my formula to take the amount of total collection there is a file name
ExtractDatainvcoll_Servr_080718, identified by date 080718 means this is the
status as of 18 July 2008.

But for today Jul 31, 2008 I should change the formula to reflect the
correct Vlookup, to be the name of ExtractDatainvcoll_Servr_080731.

My question is how can we make it automatically ( instead of manually
changed) it will change from the last file name.

Below is my formula:


=IF(ISNA(VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$13:$H$600,8,FALSE)),0,VLOOKUP(A13,[ExtractDatainvcoll_Servr_080718.xls]Sheet1!$A$13:$H$600,8,FALSE))

Thanks in advance for any help.
--
H. Frank Situmorang

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
Quick Access Toolbar File Mary Fetsch Excel Discussion (Misc queries) 4 March 3rd 08 01:42 PM
quick change of data OkieViking Charts and Charting in Excel 4 May 3rd 07 01:13 PM
Quick Text colour change? mrrix32 Excel Discussion (Misc queries) 0 January 11th 06 04:30 PM
Quick way to change negative #s to positive Nih Excel Discussion (Misc queries) 2 June 8th 05 09:39 PM
Excel should have a quick and simple "change case" function like . NinaSvendsen Excel Worksheet Functions 1 January 28th 05 03:15 PM


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