convert EST date and time to IST date and time through excel.

chavinash2004

New Member
Joined
Dec 7, 2012
Messages
2
I have a requirement to convert the date and time through excel.

for example: now the current time is 18:30 (A1) IST and put the formula in excel (A1-"10:30") i got the O/P 8:00.
I am not getting the correct time when the time is 2:00 AM.

Thanks in Advance. Please help in this?
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
=if(a1-timevalue("10:30")<0,24-(a1-timevalue("10:30")),a1-timevalue("10:30"))
 
Upvote 0
Without ABS formula also it will work. i dunno why i added that in the first place :P
Code:
 =IF(A2-TIME(10,30,0)<0,1+A2-TIME(10,30,0),A2-TIME(10,30,0))
[/
Try this
Code:
 =IF(A2-TIME(10,30,0)<0,ABS(1+A2-TIME(10,30,0)),A2-TIME(10,30,0))
 
Upvote 0
Hi,

Thanks for your quick response. The formula is working fine but the problem is i am not able to do it for every minute.
When i pull down increasing with hour. Please verify the below:
[TABLE="width: 138"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]IST[/TD]
[TD]EST[/TD]
[/TR]
[TR]
[TD="align: right"]0:30[/TD]
[TD="align: right"]14:00[/TD]
[/TR]
[TR]
[TD="align: right"]1:30[/TD]
[TD="align: right"]15:00[/TD]
[/TR]
[TR]
[TD="align: right"]2:30[/TD]
[TD="align: right"]16:00[/TD]
[/TR]
[TR]
[TD="align: right"]3:30[/TD]
[TD="align: right"]17:00[/TD]
[/TR]
[TR]
[TD="align: right"]4:30[/TD]
[TD="align: right"]18:00[/TD]
[/TR]
[TR]
[TD="align: right"]5:30[/TD]
[TD="align: right"]19:00[/TD]
[/TR]
[TR]
[TD="align: right"]6:30[/TD]
[TD="align: right"]20:00[/TD]
[/TR]
[TR]
[TD="align: right"]7:30[/TD]
[TD="align: right"]21:00[/TD]
[/TR]
[TR]
[TD="align: right"]8:30[/TD]
[TD="align: right"]22:00[/TD]
[/TR]
[TR]
[TD="align: right"]9:30[/TD]
[TD="align: right"]23:00[/TD]
[/TR]
[TR]
[TD="align: right"]10:30[/TD]
[TD="align: right"]0:00[/TD]
[/TR]
[TR]
[TD="align: right"]11:30[/TD]
[TD="align: right"]1:00[/TD]
[/TR]
[TR]
[TD="align: right"]12:30[/TD]
[TD="align: right"]2:00[/TD]
[/TR]
[TR]
[TD="align: right"]13:30[/TD]
[TD="align: right"]3:00[/TD]
[/TR]
[TR]
[TD="align: right"]14:30[/TD]
[TD="align: right"]4:00[/TD]
[/TR]
[TR]
[TD="align: right"]15:30[/TD]
[TD="align: right"]5:00[/TD]
[/TR]
[TR]
[TD="align: right"]16:30[/TD]
[TD="align: right"]6:00[/TD]
[/TR]
[TR]
[TD="align: right"]17:30[/TD]
[TD="align: right"]7:00[/TD]
[/TR]
[TR]
[TD="align: right"]18:30[/TD]
[TD="align: right"]8:00[/TD]
[/TR]
[TR]
[TD="align: right"]19:30[/TD]
[TD="align: right"]9:00[/TD]
[/TR]
[TR]
[TD="align: right"]20:30[/TD]
[TD="align: right"]10:00[/TD]
[/TR]
[TR]
[TD="align: right"]21:30[/TD]
[TD="align: right"]11:00[/TD]
[/TR]
[TR]
[TD="align: right"]22:30[/TD]
[TD="align: right"]12:00[/TD]
[/TR]
[TR]
[TD="align: right"]23:30[/TD]
[TD="align: right"]13:00[/TD]
[/TR]
</tbody>[/TABLE]

How can do the same for every minute........
Please help me in this also. Thanks in advance. Thanks!! Avinash.
 
Upvote 0
Dint this fomula work for you with ABS
=IF(A2-TIME(10,30,0)<0,ABS(1+A2-TIME(10,30,0)),A2-TIME(10,30,0))
Its throwing up the result just as desired by you

BDW what did you mean by every minute??
 
Upvote 0

Forum statistics

Threads
1,222,286
Messages
6,165,090
Members
451,932
Latest member
meddle71

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