Hello
I'm trying to subtract a date/time in m/d/yyyy h:mm format from the current date/time.
I have the following formula :
=IFERROR(INT(NOW()-A1)&" days " & TEXT(NOW()-A1,"h""hrs ""m""mins"""),"")
If the current date/time is 1/24/2018 8:51 and the date in A1 is 1/23/2018 1:20, the formula correctly yields the difference as 1 days 7hrs 31mins.
What I'd like is to just calculate the difference in hours and minutes (not days)
So in this example, result would be 31 hrs 31 mins.
Does anyone know how can I modify the above formula?
Thanks for your help
I'm trying to subtract a date/time in m/d/yyyy h:mm format from the current date/time.
I have the following formula :
=IFERROR(INT(NOW()-A1)&" days " & TEXT(NOW()-A1,"h""hrs ""m""mins"""),"")
If the current date/time is 1/24/2018 8:51 and the date in A1 is 1/23/2018 1:20, the formula correctly yields the difference as 1 days 7hrs 31mins.
What I'd like is to just calculate the difference in hours and minutes (not days)
So in this example, result would be 31 hrs 31 mins.
Does anyone know how can I modify the above formula?
Thanks for your help