Inserting date by referencing date cell into a formula

LikeButtah

Board Regular
Joined
Jun 24, 2011
Messages
168
I would like to use the dates listed in a column and insert them into a formula
(ie. =INDIRECT.EXT("'O:\Payroll & Rollcall\[7-3-11xls.xls]Summary'!M9"). The problem I think is in the syntax of the date since I’m using the minus or dash because the look of the date in the cell is 7-3-11 but in the formula bar when you click on the date it shows it as 7/3/11. Is there a way of inserting the date by referencing the date cell in the formula? And if so is the workbook name "7-3-11xls.xls" a problem? Thanks.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
the workbook name will be a violation and cause it not to work. is it a separate workbook you are referancing?
 
Upvote 0
Try this formula like this:
=CELL("filename",'7-3-2011'!A1)
will return full path like this:
C:\Documents and Settings\TheQuang\Desktop\[Book2.xls]7-3-2011
Next, use text function to separate date: TEXT("string","dd/mm/yyyy")
 
Upvote 0

Forum statistics

Threads
1,224,616
Messages
6,179,911
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top