Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
devrim
 
Posts: n/a
Default DateValue Problem...

Hi All,
In my excel sheet there are 2 rows

Date In Date Out
23/05/06 24/05/06
23/05/06 25/05/06
20/05/06 24/05/06
21/05/06 27/05/06
User enters these days manually and I want to know how can I make the Date
Out format red, if Date Out is two days more than Date In. I tried to use
DateValue option but couldn't succeed.
Also is there a way to set up a reminder in excel if dateout passed by two
days?

Any help will be very much appreciated.
Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Arvi Laanemets
 
Posts: n/a
Default DateValue Problem...

Hi

I assume dates start at row 2. Select the range with dates in column B (Date
Out), and apply conditional formatting to it (in Format menu). Set the
formula to
=(B2-A22)
, activate Format window, and set Fill to red. OK.

NB! Sometimes Excel tries to be helpful, and encloses the entered formula
into quotes ("..."). Then you have to remove them manually to make
conditional formatting to work properly.


--
Arvi Laanemets
( My real mail address: arvi.laanemets<attarkon.ee )



"devrim" wrote in message
...
Hi All,
In my excel sheet there are 2 rows

Date In Date Out
23/05/06 24/05/06
23/05/06 25/05/06
20/05/06 24/05/06
21/05/06 27/05/06
User enters these days manually and I want to know how can I make the Date
Out format red, if Date Out is two days more than Date In. I tried to use
DateValue option but couldn't succeed.
Also is there a way to set up a reminder in excel if dateout passed by two
days?

Any help will be very much appreciated.
Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
 
Posts: n/a
Default DateValue Problem...

Hi

Select your DateOut column (I'll presume it's B). Go to Format/Conditional
Format. Select Formula Is and in the box type
=B1-A1=2
and then choose your pattern
This will highlight dates that are two days after Date In. If you want 2
days or more use:
=B1-A1=2

Hope this helps.
Andy.

"devrim" wrote in message
...
Hi All,
In my excel sheet there are 2 rows

Date In Date Out
23/05/06 24/05/06
23/05/06 25/05/06
20/05/06 24/05/06
21/05/06 27/05/06
User enters these days manually and I want to know how can I make the Date
Out format red, if Date Out is two days more than Date In. I tried to use
DateValue option but couldn't succeed.
Also is there a way to set up a reminder in excel if dateout passed by two
days?

Any help will be very much appreciated.
Thanks.



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
have some problem with database baldamenti Excel Discussion (Misc queries) 1 October 13th 05 05:38 PM
Urgent Help Required on Excel Macro Problem Sachin Shah Excel Discussion (Misc queries) 1 August 17th 05 06:26 AM
Problem With Reference Update Egon Excel Worksheet Functions 17 July 16th 05 05:45 AM
Copy an Drag cell Formula Problem Nat Excel Discussion (Misc queries) 1 June 20th 05 03:24 PM
Freeze Pane problem in shared workbooks JM Excel Discussion (Misc queries) 1 February 1st 05 12:04 AM


All times are GMT +1. The time now is 01:59 AM.

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"