Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert dd/mm/yy hh:mm AM IST
25/01/10 04:39 AM IST
I want to write a function which will compare the timing given in format mentioned above with 04:10 pm or 16:10 hrs and highlight if current time is more that 16:10. Please help me with appropriate formula. |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert dd/mm/yy hh:mm AM IST
You'll need to trim the " IST" off the end, then hopefully you can get Excel
to recognise the rest as a real Excel date and time and do the usual Excel processing. =MOD(cellref,1) will trim off the date and leave the time. -- David Biddulph Rajesh Palande wrote: 25/01/10 04:39 AM IST I want to write a function which will compare the timing given in format mentioned above with 04:10 pm or 16:10 hrs and highlight if current time is more that 16:10. Please help me with appropriate formula. |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
convert dd/mm/yy hh:mm AM IST
=--LEFT(A2,LEN(A2)-4) is one way of getting rid of the "IST"
Format the result as date and time. -- David Biddulph David Biddulph wrote: You'll need to trim the " IST" off the end, then hopefully you can get Excel to recognise the rest as a real Excel date and time and do the usual Excel processing. =MOD(cellref,1) will trim off the date and leave the time. Rajesh Palande wrote: 25/01/10 04:39 AM IST I want to write a function which will compare the timing given in format mentioned above with 04:10 pm or 16:10 hrs and highlight if current time is more that 16:10. Please help me with appropriate formula. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
can the "convert" function in excel convert to UK gallons? | Excel Discussion (Misc queries) | |||
how will i convert 05.01.2007 convert 05.Jan.2007 format? | New Users to Excel | |||
convert value in word. For Exampe Rs.115.00 convert into word as . | Excel Discussion (Misc queries) | |||
convert decimal number to time : convert 1,59 (minutes, dec) to m | Excel Discussion (Misc queries) | |||
Convert Time...!convert tenths of a second | Excel Discussion (Misc queries) |