Converting Neg Number to "0"

mlnet

New Member
Joined
Sep 12, 2008
Messages
45
Hello,

I have an Access query that I data connect to Excel for a report. In the column “Duration Start/Completion” I have the formula “=[@[Completion Date]]-[@[Start Date]]” to calculate the number of days from start to completion. All is good, but when the completion date is blank I get this number “-42992”.

How can I turn the negative number (-42992) into a zero (0)?


Start Date Completion Date Duration Start/Completion
9/14/2017 9/14/2017 -42992

Appreciate the support.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
re: Converting Neg Number to "0"

Eric,

You are the BEST! It worked and I thank you so much for your help.

Have a great day. :-)
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top