Date format: string to Data with GMT 5+30

shvkumara

New Member
Joined
Nov 12, 2018
Messages
1
Hi,

Thanks for the help which you are going to offer me.

My problem is I have a list of date values in the format "Sun, 11 Nov 2018 23:30:46 GM",, But I want to convert it to IST i.e GMT 5:30. The expected output is "11/12/2018 5:00". I have tried but couldn't get it done in one formula.

Some of the list
Sun, 11 Nov 2018 18:56:12 GMT
Sun, 11 Nov 2018 16:57:19 GMT

thanks
SHiva


 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Hi. In order to do that we would need to know if the date/time you have in your cell is text or a number. Lets say your date is in cell A1. What does the following produce?

=ISNUMBER(A1)
 
Upvote 0
Assuming its text not number:

=TRIM(REPLACE(SUBSTITUTE(A1,"GMT",""),1,FIND(",",A1),""))+TIME(5,30,0)
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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