Code: Select all
=Now()+DaysHoursMinutesCellCode: Select all
=Now()+DaysCell+TIME(HoursCell;MinutesCell;0)Code: Select all
2 Days 10 hrs
1 Day 2 Hrs
4 hrs
2 Hrs 45 MinCode: Select all
=Now()+DaysHoursMinutesCellCode: Select all
=Now()+DaysCell+TIME(HoursCell;MinutesCell;0)Code: Select all
2 Days 10 hrs
1 Day 2 Hrs
4 hrs
2 Hrs 45 MinCode: Select all
[h]" h "mm" min "ss" s"It will not show the day count. It shows the day-number part of the date.RusselB wrote:Using a single d as part of a custom time format will show the number of days.
This is a format similar to one that I am using.. the difference is that mine also shows seconds.as a custom format will show the time information you are asking about, just not with the words.Code: Select all
[<1]h:mm;d.h:mm
Code: Select all
=INT(B1)&" days, "&TEXT(B1;"hh:mm:ss.00")Code: Select all
=IF(B1>=1;INT(B1)&IF(B1>=2;" days ";" day ");"")&IF(B1=INT(B1);"";INT(MOD(B1;1)*24)&" hrs "&IF((B1*24)=INT(B1*24);"";ROUND(MOD(B1;1/24)*1440)&" min"))This part is no problem at all. Calc already stores dates and times compatibly as a single value: a number of days. You can simply add together a date NOW() and an elapsed time greater than one day, because they should each be quantities with the unit days.MeteoricDragon wrote:I am looking for a way to put Days, Hours, and Minutes in a single cell. I have another cell that has a formula in it that needs to add that DaysHoursMinutesCell to the current time. like this:
=Now()+DaysHoursMinutesCell