Go Back   Trackpads Community > General Discussions > Computer and Technology > Microsoft Applications

Microsoft Applications Discussions about Windows and other MS Products such as Office

Reply
 
LinkBack Thread Tools
Old 07-15-2004, 00:24   #1 (permalink)
23shun
Civilians

 
Default How can I display "DAY OFF" If time = 00:00 ??

Please Help

I am building a Time Sheet in excel 2000.

I have 4 cells.
1. In
2. out
3. lunch
4. total hours for the day.

Cells 1, 2 and 3 are Time Cells and 4 is Number cell.

IF Cell 1 displays 00:00, I would want it to display "DAY OFF" in
cell 1 and 2.

Can you help?
Than you in advance

23shun


---
Message posted from http://www.ExcelForum.com/

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Trackpads Information
Click to Visit
Old 07-15-2004, 00:25   #2 (permalink)
Nick Hodge
Civilians

 
Default Re: How can I display "DAY OFF" If time = 00:00 ??

23Shun

This cannot be done using a simple formula as by putting a formula in Cell 2
(Very easy) to display the DAY OFF text, it would get overwritten when next
used to type in an actual time, unless I am misunderstanding your need.

It could be achieved using a Sheet_Change event coding but that may be a
little over the top for a simple change like that.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
nick_hodgeTAKETHISOUT@zen.co.uk.ANDTHIS


"23shun >" <<23shun.19efbj@excelforum-nospam.com> wrote in message
news:23shun.19efbj@excelforum-nospam.com...
> Please Help
>
> I am building a Time Sheet in excel 2000.
>
> I have 4 cells.
> 1. In
> 2. out
> 3. lunch
> 4. total hours for the day.
>
> Cells 1, 2 and 3 are Time Cells and 4 is Number cell.
>
> IF Cell 1 displays 00:00, I would want it to display "DAY OFF" in
> cell 1 and 2.
>
> Can you help?
> Than you in advance
>
> 23shun
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2004, 00:25   #3 (permalink)
Ron Rosenfeld
Civilians

 
Default Re: How can I display "DAY OFF" If time = 00:00 ??

On Wed, 14 Jul 2004 1409 -0500, 23shun
<<23shun.19efbj@excelforum-nospam.com>> wrote:

>IF Cell 1 displays 00:00, I would want it to display "DAY OFF" in
>cell 1 and 2.


You cannot have Cell 1 display 00:00 and also display "DAY OFF".

You cannot have Cell 2 display text dependent on Cell 1, but also allow data
input into that cell without using VBA.

Why not have Cell 4 display "Day Off"?

In Cell 4 you could have the formula similar to:

=IF(cell1=0,"Day Off",cell2-cell1)

You would need to modify the formula to account for how you are entering
"Lunch".
--ron
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-15-2004, 00:25   #4 (permalink)
Frank Kabel
Civilians

 
Default Re: How can I display "DAY OFF" If time = 00:00 ??

Hi
if you at least enter 00:00 in BOTH cells manually you could use the
following custom format:
hh:mm,,"Day Off"

--
Regards
Frank Kabel
Frankfurt, Germany


> Please Help
>
> I am building a Time Sheet in excel 2000.
>
> I have 4 cells.
> 1. In
> 2. out
> 3. lunch
> 4. total hours for the day.
>
> Cells 1, 2 and 3 are Time Cells and 4 is Number cell.
>
> IF Cell 1 displays 00:00, I would want it to display "DAY OFF" in
> cell 1 and 2.
>
> Can you help?
> Than you in advance
>
> 23shun
>
>
> ---
> Message posted from http://www.ExcelForum.com/


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
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
How can I display elapsed time? =?Utf-8?B?Sm9lMTQ4Mg==?= Microsoft Applications 1 11-17-2004 20:53
Display time =?Utf-8?B?QXNobGV5IE1jS293bg==?= Microsoft Applications 1 11-03-2004 04:00
Time Scale display with Time-Zone Helmut Petersen Microsoft Applications 1 06-16-2004 19:50
Display time differently pmack Microsoft Applications 3 06-16-2004 19:24
display one line at a time in jyorknh Microsoft Applications 2 06-15-2004 21:01


Community Information
Options
Quick Options
Trackpads Non-Commercial Ad
Copyright Information Click to Visit
Time
Server Time
All times are GMT -4. The time now is 12:08.
Copyright
Copyright Information
The header is based off of work by Vipixel.com and modified by this site. Trackpads and the Trackpads Logo are both Registered Trademarks of Jason Edwards and cannot be used without prior written permission.  The only exception is as a link back to this site. Trackpads is a private website run by a small legion of volunteers, 3 dogs, 12.5 cats and an army of small, super smart, bio-engineered mice with pointy hats and tutu's. Search Engine Friendly URLs by vBSEO 3.2.0 RC7
Archive Links
Archive Links
Page generated in 0.84072 seconds with 19 queries