Hi,
I am attempting to create a formula that will allow me to come back with a value if a cell is a business day with respect to the day the formula is run.
So for example,
A1 through A200 have dates
I want to create a function that states something to the effect of:
If A1 equals today and is a business day then "value that I choose"
If A1 equals today minus 1, then "value that I choose"
If A1 equals today minus 2, then "value that choose"
At all times the value of the day minus any number can only be Monday through Friday. Weekends and holidays should be excluded.
Further clarification, if today was a Monday then by stating A1 equals today minus 1, should designate the previous Friday, not Sunday.
If this was just a simple formula that did not take into consideration only business days, then I would be set, but I do not know how to only use business days for this type of scenario.
Thanks for any help.
Bookmarks