ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   cond formatting ? (https://www.excelbanter.com/excel-worksheet-functions/98642-cond-formatting.html)

Brian

cond formatting ?
 
I posted a similar ? but was not able to locate it, forgive me for posting
again.

I have 750 cells running down column F that have what is supposed to be a
time. but someone entered the time in the following format 010754, this is
supposed to be 1:07:54 ( military time for 1:07:54 am). Now I am left with
the task of having to change all 750 of these entries to reflect the correct
format. Is there a way to do this easily vai a conditional format or some
other function?

Marcelo

cond formatting ?
 
hi,

=time(left(a1,2),mid(a1,3,2),right(a1,2))

hth
regards from Brazil
Marcelo

"Brian" escreveu:

I posted a similar ? but was not able to locate it, forgive me for posting
again.

I have 750 cells running down column F that have what is supposed to be a
time. but someone entered the time in the following format 010754, this is
supposed to be 1:07:54 ( military time for 1:07:54 am). Now I am left with
the task of having to change all 750 of these entries to reflect the correct
format. Is there a way to do this easily vai a conditional format or some
other function?


Ran Pelly

cond formatting ?
 
I assume all items are 6 digits.

=timevalue(left(E1,2)&":"&mid(E1,2,2)&":"&right(E1 ,2))

where E1 is the cell where the time is wirten.

note that you wil need to make sure the format of the cell is Time HH:MM:SS

hope i helped

Ran.
"Brian" wrote in message
...
I posted a similar ? but was not able to locate it, forgive me for posting
again.

I have 750 cells running down column F that have what is supposed to be a
time. but someone entered the time in the following format 010754, this

is
supposed to be 1:07:54 ( military time for 1:07:54 am). Now I am left

with
the task of having to change all 750 of these entries to reflect the

correct
format. Is there a way to do this easily vai a conditional format or some
other function?





All times are GMT +1. The time now is 08:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com