I have the following formula in a table column that prints a sequence of dates starting at 3/21/2018:
I just want to add to that formula "if the current date to be displayed will be greater than today, then display the N/A error." How do I do that? The closest I can come up with is to duplicate the entire if statement in the "value if false" section of the outer if statement, like this:
...but that seems needlessly complex. Is there a simpler way to do this?
Excel Formula:
=IF(ROW()-ROW(Table1[#Headers])=1,DATE(2018,3,21),OFFSET([@Date],-1,0)+1)
I just want to add to that formula "if the current date to be displayed will be greater than today, then display the N/A error." How do I do that? The closest I can come up with is to duplicate the entire if statement in the "value if false" section of the outer if statement, like this:
Excel Formula:
=IF(IF(ROW()-ROW(Table1[#Headers])=1,DATE(2018,3,21),OFFSET([@Date],-1,0)+1)>TODAY(),NA(),IF(ROW()-ROW(Table1[#Headers])=1,DATE(2018,3,21),OFFSET([@Date],-1,0)+1))
...but that seems needlessly complex. Is there a simpler way to do this?