Hi Everyone,
Im fairly beginner with Excel and new to the forum. Could use some guidance.
I am copying data from web page to excel, no export function for what Im doing. The format of the cell is a time stamp, something like: 22:37:27 11-Nov-2011, Fri. I need to remove the last5 char's(, Fri)from many cells. Then I need to convert it to MT TZ, ie GMT - 7.
To remove the char's I used: =LEFT(A2, LEN(A2)-5). This gives me 22:37:27 11-Nov-2011
I now need to convert to MT, which I can do with A2-"07:00"
Where Im stuck is how to combine all of this into one formula so I dont need so many columns to translate the date/time. Is it possible to combine the LEFT/LEN with the -"07:00" ?
Thanks, appreciate the help
Scott
Try this:
=(LEFT(A3, LEN(A3)-5)*1)-7/24
and format as custom
hh:mm:ss dd-mmm-yyyy
Alan
Last edited by alansidman; 11-15-2011 at 07:38 PM.
Alan
Click the * below to say thanks.
Database Principles
Pivot Table Tips
Good Excel Video Tutorials
Sumifs or SumProduct
DataPig Access Tutorials
MS Query Tutorial
Worst Pie Chart Ever?
Thanks for the quick response Alan. I just tested and it works perfectly.Thanks,
appreciate the help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks