Need help on an IF formula IF function problem
I am fairly new to this and have created an IF function to find the days between two dates. The date fields may not always be populated because they represent dates of completion in a continuum. If the date fields are not populated I want an "NA" to appear, if a date appears in only the first field I want to the days to be the days to today's date from the date in the field, and if both fields are populated I want the days between the two dates.
=IF(OR(E:E>0&F:F>0,E:E >0&F:F=0), IF(F:F=0, DAYS360(E:E,TODAY(),FALSE), DAYS360(E:E,F:F, FALSE)), "NA")
The days appear in both cases but the "NA" does not appear if the fields are blank instead the number 40359 appears.
Re: Need help on an IF formula IF function problem
=IF(SUM(E2,F2)=0,"NA",IF(F2="",Today()-E2,F2-E2)) copied down
assuming starting at row 2.
Where there is a will there are many ways.
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread
Search Engine Friendly URLs by vBSEO 3.6.0 RC 1