ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Subtracting Hours (https://www.excelbanter.com/excel-worksheet-functions/112341-subtracting-hours.html)

Amnon Wilensky

Subtracting Hours
 
Hi,

I want to convert Israel time to U.S time. Every thing is going fine until
the number become negative. For example: if the time in Israel is 02:30 and
I want to find what is the time at New York I have to subtract 7:00 hours,
and I Excel don't calculate it.

Any help?

Thanks,

Amnon



Stephen Bye

Subtracting Hours
 
if A1 = 02:30 and B1 = 07:00
then you can use:
=MOD(A1-B1+"24:00","24:00")
to get 19:30

"Amnon Wilensky" wrote in message
...
Hi,

I want to convert Israel time to U.S time. Every thing is going fine until
the number become negative. For example: if the time in Israel is 02:30
and I want to find what is the time at New York I have to subtract 7:00
hours, and I Excel don't calculate it.

Any help?

Thanks,

Amnon




Bob Phillips

Subtracting Hours
 
Just use

=MOD(start_time-hours/24,1)


"Amnon Wilensky" wrote in message
...
Hi,

I want to convert Israel time to U.S time. Every thing is going fine until
the number become negative. For example: if the time in Israel is 02:30

and
I want to find what is the time at New York I have to subtract 7:00 hours,
and I Excel don't calculate it.

Any help?

Thanks,

Amnon





Teethless mama

Subtracting Hours
 
Try this

=A1-7/24+1 Format cell as hh:mm

"Amnon Wilensky" wrote:

Hi,

I want to convert Israel time to U.S time. Every thing is going fine until
the number become negative. For example: if the time in Israel is 02:30 and
I want to find what is the time at New York I have to subtract 7:00 hours,
and I Excel don't calculate it.

Any help?

Thanks,

Amnon





All times are GMT +1. The time now is 08:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com