excelcpa95
New Member
- Joined
- Feb 7, 2022
- Messages
- 1
- Office Version
- 365
- Platform
- Windows
I have a spreadsheet that has a bunch of exchange rates with dates in Column A (most recent date at the top) and exchange rates in the rest of the columns.
I previously used INDEX/MATCH to look up exchange rates on specific dates or the average of exchange rates over a date range. Unfortunately, I have recently integrated some currencies that do not have an exchange rate value for every date, but has a handful of blank cells. I want to lookup so that if the specific date I am looking up is blank, it will return the next non-blank value for the most recent date with a value prior to the date that has a blank cell.
Under my current formulas, I use the array as my INDEX reference, and MATCH Functions using the Date as the Row_Num and Currency as the Column_Num.
How would I be able to accomplish this?
I previously used INDEX/MATCH to look up exchange rates on specific dates or the average of exchange rates over a date range. Unfortunately, I have recently integrated some currencies that do not have an exchange rate value for every date, but has a handful of blank cells. I want to lookup so that if the specific date I am looking up is blank, it will return the next non-blank value for the most recent date with a value prior to the date that has a blank cell.
Under my current formulas, I use the array as my INDEX reference, and MATCH Functions using the Date as the Row_Num and Currency as the Column_Num.
How would I be able to accomplish this?