Quick help on this would be appreciated
The formula below works perfectly:
=INDEX(INDIRECT("'C:\Users\WB\Historical\[EURUSD_2010TD_M15BID.xlsx]M15BID'!"&"$B"&$M12):[EURUSD_2010TD_M15BID.xlsx]M15BID!$D2012,MATCH(TRUE,INDEX(INDIRECT("'C:\Users\WB\Historical\[EURUSD_2010TD_M15BID.xlsx]M15BID'!"&"$D"&$M12):[EURUSD_2010TD_M15BID.xlsx]M15BID!$D2012>=$Q12,0),0),1))))
But, I want to alter the above formula exchange the value "$D2012" (which is referenced twice in this formula) with another INDIRECT reference that gets the cell reference for the row at $X12 instead of it being hardcoded in as 2012. Essentially &"$D"&$X12 .Obviously I am missing a parenthesis, bracket or something.
A fix on this would be very helpful...
Last edited by williampdx; 09-26-2011 at 04:37 PM.
Does this work?
=INDEX(INDIRECT("'C:\Users\WB\Historical\[EURUSD_2010TD_M15BID.xlsx]M15BID'!"&"$B"&$M12&":$D"&$X12),MATCH(TRUE,INDEX(INDIRECT("'C:\Users\WB\Historical\[EURUSD_2010TD_M15BID.xlsx]M15BID'!"&"$D"&$M12&":$D"&$X12)>=$Q12,0),0),1)
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
That's it! Thanks for the help!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks