Hi! I have sheet with following data:
WorkDates column contains dates, but only working days, public holidays are excluded.
I need to enter Date1 and Date2 and amount of average daily payment. For example:
Date1 is 01.01.2021 and Date2 is 03.01.2021, I can (Date3-Date1)x$100 = $200.
I am using VLOOKUP to find DateIndex from the table, but the is a problem if enter Date that is out of range of the table. For example Date1 is Sunday and there is not DateIndex for it. I've tried to use IFNA, but all it helps - to change NA value.
Is there any option without VBA to do Iteration (+1) IF NA returned and do it unless real DateIndex returned?
Some kind of Nested IFNA?
Logic example screenshot
WorkDates column contains dates, but only working days, public holidays are excluded.
I need to enter Date1 and Date2 and amount of average daily payment. For example:
Date1 is 01.01.2021 and Date2 is 03.01.2021, I can (Date3-Date1)x$100 = $200.
I am using VLOOKUP to find DateIndex from the table, but the is a problem if enter Date that is out of range of the table. For example Date1 is Sunday and there is not DateIndex for it. I've tried to use IFNA, but all it helps - to change NA value.
Is there any option without VBA to do Iteration (+1) IF NA returned and do it unless real DateIndex returned?
Some kind of Nested IFNA?
Logic example screenshot