Hi
I need a formula for calculating days and time. I have attached excel for example how it could be.
Thanks
Sunil
Hi
I need a formula for calculating days and time. I have attached excel for example how it could be.
Thanks
Sunil
For total minutes
=(B2-A2)*1440
Make sure all dates are the same format (yours are not) and that they are proper date/times (not text)
Regards
Special-K
Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.
In C2
=$B2-$A2
Custom Format : d" Days"
In D2
=$B2-$A2
Custom Format : [mm] "Mins"
In E2
=TEXT(C2,"d")&" days "&TEXT(D2,"[mm]")&" Mins"
Copy down
Life's a spreadsheet, Excel!
Say thanks, Click *
I think that this will do what you want.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
hi Dover,
If i click on f2 button for seeing formula in cell. it is comeing #value error.
When i am trying rebuild the same formula in different cell also it is coming as #value error.
Thanks
Sunil
Hi Ace,
Sorry to say u, I am not able to solve with that formula.
Thanks
Sunil
I notice your date cells have TWO spaces between the date and time, maybe these being picked up as text values, they should be numeric.
Select each date, hit F2 then enter, the date/time appears to reformat to a number and the calculation then works.
Hi Special,
No luck for me. i removed. still it is showing same error
Regards
Sunil
Hi Special,
No luck for me. i removed. still it is showing same error
Regards
Sunil
See attached. Row 5 has '0' input value leading to erroneous output
Hi Ace,
Thanks a lot for your help. Just need one more help on result cell. I need it like 1 hour 20 mint. i tried but it is giving incorrect mints.
Thanks
Sunil
Last edited by theprincesunil; 04-27-2014 at 02:17 PM. Reason: Want to attach file
In E2
=TEXT(C2,"d")&" days "&TEXT(D2,"[HH]")&" Hrs "&MOD(TEXT(D2,"[mm]"),60)&"mnts"
It works super. Thanks a lot ACE.
I can't replicate your problem. I hit F2 and the formula appears properly....no errors at all. I just works perfectly.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks