Forum Discussion
emilysheffield
May 23, 2019Copper Contributor
Using the WORKDAY formula issues
Hi - Hoping some one can help. I have written the below formula to deduct 20 working days from a meeting date if the meeting is in category B or to place an n/a in the cell if the meeting is in ...
Twifoo
May 23, 2019Silver Contributor
Delete “”)& after “n/a”, then add ) at the end of your formula.
emilysheffield
May 24, 2019Copper Contributor
- SergeiBaklanMay 24, 2019Diamond Contributor
emilysheffield , I guess you need to apply Date format to your resulting cell.
- emilysheffieldMay 24, 2019Copper Contributor
- TwifooMay 24, 2019Silver ContributorPlease attach your sample file so I can see which issues are causing the formula to return the number rather than the date.
- emilysheffieldMay 24, 2019Copper Contributor
Here u areTwifoo
- SergeiBaklanMay 24, 2019Diamond Contributor
emilysheffield , you didn't correct your formula as Twifoo suggested. Your current formula always returns empty string plus possible date for the option B, other words text & number. Excel interprets final result as text.
For the
=IF(K4="A","n/a",IF(K4="B",WORKDAY(B4,-20),""))
it returns number and with your format it will be shown as date