Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
can the "convert" function in excel convert to UK gallons? JR Excel Discussion (Misc queries) 2 April 24th 08 04:55 PM
how will i convert 05.01.2007 convert 05.Jan.2007 format? lady_like New Users to Excel 17 February 9th 07 12:43 PM
convert value in word. For Exampe Rs.115.00 convert into word as . Shakti Excel Discussion (Misc queries) 1 May 10th 05 12:00 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM
Convert Time...!convert tenths of a second Pape Excel Discussion (Misc queries) 2 December 16th 04 10:17 AM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"