Utterly Bamboozled
New Member
- Joined
- Jul 7, 2010
- Messages
- 39
Problem
MID(CELL("filename",C2),(FIND("]",CELL("filename",C2))+1),50) returns name of Sheet 1 = 'P&L Sep-10'
Then use right() to retrieve 'Sep-10' from this name. This is in a text format, and as far as I know cannot be changed to a date format.
My problem lies in using this 'Sep-10' cell in tandem with other dates in another sheet.
Specifically I need to use > & < in the calcs, which don't work when the dates are formatted as text. I.e. =if(A1<B1) returns FALSE where A1=Jan-10 and B1=Feb-10<B1) B1="Feb-10<B1)" and A1="Jan-10" where FALSE returns>
Any assistance would be appreciated!
MID(CELL("filename",C2),(FIND("]",CELL("filename",C2))+1),50) returns name of Sheet 1 = 'P&L Sep-10'
Then use right() to retrieve 'Sep-10' from this name. This is in a text format, and as far as I know cannot be changed to a date format.
My problem lies in using this 'Sep-10' cell in tandem with other dates in another sheet.
Specifically I need to use > & < in the calcs, which don't work when the dates are formatted as text. I.e. =if(A1<B1) returns FALSE where A1=Jan-10 and B1=Feb-10<B1) B1="Feb-10<B1)" and A1="Jan-10" where FALSE returns>
Any assistance would be appreciated!
Last edited: