Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
AL AL is offline
external usenet poster
 
Posts: 37
Default Calculated Formula

I'd like to calculate a formula based on date values in
column A. My final formula should read something like
this ='c:\02-05-04\[test.xls]sheet1'!b7

(02-05-04 is in cell a1)
And it should link to a value referenced by the formula.

Can this be done? Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Calculated Formula

Assuming the entry in A1 is a date perhaps:

Range("A2").Formula = "='c:\" & Format(Range("A1").Value, "m-d-yy") &
"\[test.xls]sheet1'!b7"



--
Jim Rech
Excel MVP
"Al" wrote in message
...
| I'd like to calculate a formula based on date values in
| column A. My final formula should read something like
| this ='c:\02-05-04\[test.xls]sheet1'!b7
|
| (02-05-04 is in cell a1)
| And it should link to a value referenced by the formula.
|
| Can this be done? Thanks in advance.


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
Pivot table, IF function, calculated item versus calculated field NomadPurple Excel Discussion (Misc queries) 1 March 9th 10 03:17 PM
I want to create a calculated item based on a calculated field Stijn Excel Discussion (Misc queries) 1 August 25th 08 05:30 PM
Problem with Calculated Items on Calculated Fields. rogue_actuary Excel Worksheet Functions 1 March 6th 07 09:29 PM
Calculated Field and Calculated Item in Pivot Table Fred Smith Excel Discussion (Misc queries) 0 March 4th 07 08:15 PM
pivot table formulas for calculated field or calculated item Vicky Excel Discussion (Misc queries) 3 June 6th 06 05:06 AM


All times are GMT +1. The time now is 06:59 PM.

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"