Date calculation

bullhead14

New Member
Joined
Jul 29, 2013
Messages
2
Can't see the wood for the trees on this......

I am trying to calculate the hire period for standing pieces of kit.
Col A is Erect Date
Col B is Dismantle Date
Col C is Off Hire date

Col D is calculating the number of hire days =IF(A2="",0,IF(C2="",DATE-A2,C2-A2)) this works when I have dates allocated within Col A and C but when Col A date is inserted and is yet to be dismantled it returns a negative in number form.

Any guidance would be greatly appreciated.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
DO you have a formula in C2, 'cos I dont see any formula linking erect date and dismantle date i.e column A and column B

In what cell is the negative value returned? and whats the formula in that cell
 
Upvote 0
Dates are entered manually as there is no set time frame. Negative value is returned in Col D if no dismantle date has occurred.
 
Upvote 0

Forum statistics

Threads
1,214,944
Messages
6,122,384
Members
449,080
Latest member
Armadillos

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