Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Change a specific figure i.e 0:00 and 24:00 to display as "MIDT"

I'm trying to get a cells to show the word "MIDT" when a time figures 0:00
and 24:00 are entered in the cell! Can anyone help me?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Change a specific figure i.e 0:00 and 24:00 to display as "MIDT"

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures 0:00
and 24:00 are entered in the cell! Can anyone help me?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

I've tried that and still no joy :(
The cell is in P12 and I tried to alter the formula but still no joy. I want
to enter time format in cell P12 and be able to enter times between 0:00 and
23:59 but I want 0:00 to show as the word "MIDT". In cell R12 I want to be
able to enter times between 0:01 and 24:00 but I want 24:00 to show as the
word "MIDT". I would like a formula that will show an error message if in
cell P12 if the figure is greater than 23:59 and an error message in R12 if a
figure less than 0:01 and greater than 24:00. Cheers, it sounds totally
impossible but I hope and pray!

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures 0:00
and 24:00 are entered in the cell! Can anyone help me?



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

You can display 0:00:00 as "MIDT" using a custom format of
hh:mm;hh:mm;"MIDT"

However, that won't work for for 24:00, because, to Excel, that's 1 day,
zero hours, zero minutes.

You can use custom formatting to check for values less than or greater than
certain values, but it will only highlight the cell, not display an error
message. What's wrong with using different cells for error messages and
special formatting?

Regards,
Fred.

"Jason M" wrote in message
...
I've tried that and still no joy :(
The cell is in P12 and I tried to alter the formula but still no joy. I
want
to enter time format in cell P12 and be able to enter times between 0:00
and
23:59 but I want 0:00 to show as the word "MIDT". In cell R12 I want to be
able to enter times between 0:01 and 24:00 but I want 24:00 to show as the
word "MIDT". I would like a formula that will show an error message if in
cell P12 if the figure is greater than 23:59 and an error message in R12
if a
figure less than 0:01 and greater than 24:00. Cheers, it sounds totally
impossible but I hope and pray!

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures
0:00
and 24:00 are entered in the cell! Can anyone help me?




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

That worked perfect!! Shame I couldn't do anything so that 24:00 would show
as MIDT too! :( But thanks alot!! If by a very slim chance, you do come
across a formula that will change 24:00 to MIDT, then please let me know!
Cheers!!

"Fred Smith" wrote:

You can display 0:00:00 as "MIDT" using a custom format of
hh:mm;hh:mm;"MIDT"

However, that won't work for for 24:00, because, to Excel, that's 1 day,
zero hours, zero minutes.

You can use custom formatting to check for values less than or greater than
certain values, but it will only highlight the cell, not display an error
message. What's wrong with using different cells for error messages and
special formatting?

Regards,
Fred.

"Jason M" wrote in message
...
I've tried that and still no joy :(
The cell is in P12 and I tried to alter the formula but still no joy. I
want
to enter time format in cell P12 and be able to enter times between 0:00
and
23:59 but I want 0:00 to show as the word "MIDT". In cell R12 I want to be
able to enter times between 0:01 and 24:00 but I want 24:00 to show as the
word "MIDT". I would like a formula that will show an error message if in
cell P12 if the figure is greater than 23:59 and an error message in R12
if a
figure less than 0:01 and greater than 24:00. Cheers, it sounds totally
impossible but I hope and pray!

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures
0:00
and 24:00 are entered in the cell! Can anyone help me?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

This should change both 24:00 and 0:00 to MIDT:

[=1]"MIDT";[=0]"MIDT";hh:mm

Regards
Fred

"Jason M" wrote in message
...
That worked perfect!! Shame I couldn't do anything so that 24:00 would
show
as MIDT too! :( But thanks alot!! If by a very slim chance, you do come
across a formula that will change 24:00 to MIDT, then please let me know!
Cheers!!

"Fred Smith" wrote:

You can display 0:00:00 as "MIDT" using a custom format of
hh:mm;hh:mm;"MIDT"

However, that won't work for for 24:00, because, to Excel, that's 1 day,
zero hours, zero minutes.

You can use custom formatting to check for values less than or greater
than
certain values, but it will only highlight the cell, not display an error
message. What's wrong with using different cells for error messages and
special formatting?

Regards,
Fred.

"Jason M" wrote in message
...
I've tried that and still no joy :(
The cell is in P12 and I tried to alter the formula but still no joy. I
want
to enter time format in cell P12 and be able to enter times between
0:00
and
23:59 but I want 0:00 to show as the word "MIDT". In cell R12 I want to
be
able to enter times between 0:01 and 24:00 but I want 24:00 to show as
the
word "MIDT". I would like a formula that will show an error message if
in
cell P12 if the figure is greater than 23:59 and an error message in
R12
if a
figure less than 0:01 and greater than 24:00. Cheers, it sounds totally
impossible but I hope and pray!

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time
figures
0:00
and 24:00 are entered in the cell! Can anyone help me?





  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 7
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

PS Where would I enter these formulas?? i.e conditional formatting or cell
format?? Cheers

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures 0:00
and 24:00 are entered in the cell! Can anyone help me?



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Change a specific figure i.e 0:00 and 24:00 to display as "MID

You would enter it in a different cell. Why does it have to be the same one?

Regards,
Fred.

"Jason M" wrote in message
...
PS Where would I enter these formulas?? i.e conditional formatting or cell
format?? Cheers

"Fred Smith" wrote:

=if(mod(a1,1)=0,"MIDT","Not MIDT")

Regards,
Fred.

"Jason M" <Jason wrote in message
...
I'm trying to get a cells to show the word "MIDT" when a time figures
0:00
and 24:00 are entered in the cell! Can anyone help me?




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
Validation ?:Accepting both Numbers AND specific letters("N","n"," Antonio Excel Discussion (Misc queries) 2 April 22nd 08 05:07 PM
How do I change the column heading in Excel to display "A" "B" "C Thai New Users to Excel 1 November 30th 07 08:06 PM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
Change the "Insert Function" display for mail merge Beach Lover Excel Worksheet Functions 3 November 1st 06 06:41 PM
How to change the font of Display window of "Open File" Windows Font Excel Discussion (Misc queries) 0 January 6th 06 03:10 AM


All times are GMT +1. The time now is 02:05 PM.

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

About Us

"It's about Microsoft Excel"