Blank Date in Duration
Hello - I am doing a duration calculation where the date could be blank = no report. If the date is blank, I would like the calculation to return a zero or blank in duration cell. Is this possible?
I have gotten this far but everything tried after has given error :)
ROUNDUP([Date Report Delivered to Ops]@row - [Date Report Requested]@row), IF([Date Report Delivered to Ops]@row ISBLANK...
Best Answers
-
Hello @Michele R.
Is this what you're going for?
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP([Date Report Delivered to Ops]@row - [Date Report Requested]@row))
You can replace the words in quotations "No Report" with whatever result you want if a Blank is found.
https://www.linkedin.com/in/zchrispalmer/
-
Hey! That works perfectly too! A little different but something I was also thinking of doing. THANK YOU!
-
I would need to get a visual with screen shots of all relevant columns and sheets to get a clear direction to assist further.
=NETWORKDAYS will calculate working days, exclude weekends and holidays.
You'll need a separate column or sheet that lists the dates of your holidays. For example:
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", NETWORKDAYS([Date Report Requested]@row, [Date Report Delivered to Ops]@row, [Holiday Column]:[Holiday Column]))
For the second case (difference between multiple dates and finding the latest one):
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP(MAX([Date Checks Mailed]@row, [Date Sent to Accounting]@row, [Date Letters Mailed]@row) - [Date Report Requested]@row))
Hope this is helpful.
https://www.linkedin.com/in/zchrispalmer/
Answers
-
Hello @Michele R.
Is this what you're going for?
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP([Date Report Delivered to Ops]@row - [Date Report Requested]@row))
You can replace the words in quotations "No Report" with whatever result you want if a Blank is found.
https://www.linkedin.com/in/zchrispalmer/
-
Hey! That works perfectly too! A little different but something I was also thinking of doing. THANK YOU!
-
Excellent. Glad it's working for you and is a step in the right direction.
https://www.linkedin.com/in/zchrispalmer/
-
@Mr. Chris, What if I only wanted to include working days and exclude weekends and holidays. With this formula the way it is written can I add that?
Additionally, can you calculate using multiple dates? I need to use the latest date between date checks mailed and dates letters mailed for total days.
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP([Date Checks Mailed]@row - [Date Sent to Accounting]@row))
other date is ([Date Letters Mailed]@row
-
@Mr. Chris, What if I only wanted to include working days and exclude weekends and holidays. With this formula the way it is written can I add that?
Additionally, can you calculate using multiple dates? I need to use the latest date between date checks mailed and dates letters mailed for total days.
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP([Date Checks Mailed]@row - [Date Sent to Accounting]@row))
other date is ([Date Letters Mailed]@row
-
I would need to get a visual with screen shots of all relevant columns and sheets to get a clear direction to assist further.
=NETWORKDAYS will calculate working days, exclude weekends and holidays.
You'll need a separate column or sheet that lists the dates of your holidays. For example:
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", NETWORKDAYS([Date Report Requested]@row, [Date Report Delivered to Ops]@row, [Holiday Column]:[Holiday Column]))
For the second case (difference between multiple dates and finding the latest one):
=IF(ISBLANK([Date Report Delivered to Ops]@row), "No Report", ROUNDUP(MAX([Date Checks Mailed]@row, [Date Sent to Accounting]@row, [Date Letters Mailed]@row) - [Date Report Requested]@row))
Hope this is helpful.
https://www.linkedin.com/in/zchrispalmer/
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!