ExcelTip.com
Account Icon Account Icon Account Icon
ExcelTip.com

Go Back   Excel Help Forum > Limelight Media - ExcelTip.com Books > F1 Get the most out of Excel Formulas & Functions

Notices

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-15-2006, 06:47 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
Question Highlighting cells/rows when approaching start date

Hi there All,

I apologise if this seems quite basic or has been answered previously however I have searched for a while on t'internet and cannot find a specific response to my query.

Basically I have a basic spreadsheet showing vehicle details and if possible I want to have cells/rows change colour when the expiry date of the mot and tax is approaching.

Can anyone help or am I looking for the impossible?

Any help or advice will be greatly appreciated.

Best regards,

fnaclew
Reply With Quote
  #2  
Old 11-15-2006, 07:44 AM
Alfaholic Alfaholic is offline
Registered User
 
Join Date: 25 Aug 2006
Posts: 30
Alfaholic is on a distinguished road
Excel 2003 has a function called Conditional Formatting which can do this for you rather easily. It's in the Formats menu. If you struggle with using it you will find Excel's Help entries on the function are comprehensive.

Good luck!
Reply With Quote
  #3  
Old 11-15-2006, 08:05 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
Hi alfaholic,

Thanks for the response.
Yeah, I understand conditional formatting however I can't see how it can help me as I want the row to change to a specific colour when there is say 7 days to go before the mot expires.
Don't want much, do I? lol

I've seen similar on data sheets where I used to work so I'm sure there is a way but personally can't find out how.

Thanks again.
Reply With Quote
  #4  
Old 11-15-2006, 08:57 AM
Jon Quixley Jon Quixley is offline
Forum Contributor
 
Join Date: 02 Aug 2005
Posts: 102
Jon Quixley is on a distinguished road
See the zipped xls file and check out the layers of conditional formatting to see how it will cahnge as you go from more than 21 days to between 7 and 14 days and finally less than 7 days.

Cheers
JQ
Attached Files
File Type: zip COND_FMT.zip (2.5 KB, 118 views)
Reply With Quote
  #5  
Old 11-15-2006, 08:57 AM
oldchippy's Avatar
oldchippy oldchippy is offline
"Eagle Eyed" Forum Moderator
 
Join Date: 14 Feb 2005
Location: Worcester, UK
Posts: 5,934
oldchippy will become famous soon enough oldchippy will become famous soon enough
Do you mean something like the attached
Attached Images
File Type: jpg conditional formats 2.jpg (75.0 KB, 139 views)
__________________
oldchippy
-------------


Click here >>> Top Excel links for beginners to Experts

Forum Rules >>>Please don't forget to read these
Reply With Quote
  #6  
Old 11-15-2006, 09:42 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
jq,
I can see what you mean but I only have one known date within the data e.g. Mot expiry date.

oldchippy,
not sure I get what you're suggesting.

Mind you, I feel as though I'm learning something, which is fantastic! Thanks alot both.

I think I need something that might combine both suggestions. It needs to use todays date to read how long till expiry then once within a range (use 'between' in con. frm.?) e.g. 14 days of expiry the row to change from white say to orange, then 7 days to red.

I would include an example but I'm unable to attach a zip file as we don't have a zip application!

Hope some of this make sense!

Again, thanks very much.
Reply With Quote
  #7  
Old 11-15-2006, 09:50 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
A ha!!

An example?
Attached Files
File Type: zip Vehicle List-z.zip (3.0 KB, 86 views)
Reply With Quote
  #8  
Old 11-15-2006, 09:51 AM
oldchippy's Avatar
oldchippy oldchippy is offline
"Eagle Eyed" Forum Moderator
 
Join Date: 14 Feb 2005
Location: Worcester, UK
Posts: 5,934
oldchippy will become famous soon enough oldchippy will become famous soon enough
Format your date cell to this formatting, it doesn't matter how many you have got. When it get to your MOT date hurry and get the car sorted out!
Attached Images
File Type: jpg conditional formats 3.jpg (91.2 KB, 107 views)
__________________
oldchippy
-------------


Click here >>> Top Excel links for beginners to Experts

Forum Rules >>>Please don't forget to read these
Reply With Quote
  #9  
Old 11-15-2006, 10:11 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
Quote:
Originally Posted by oldchippy
When it get to your MOT date hurry and get the car sorted out!
PMSL!!!

Will try immediately. Ta.
Reply With Quote
  #10  
Old 11-15-2006, 10:19 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
oldchippy,

I replied before opening your file.
Your list of dates, what reference point are they taking from?
You have a column of dates but...?

Sorry to be a pain.

If you feel I'm missing the bleedin' obvious and can't be bothered to exlain futher I'll understand!!! lol
Reply With Quote
  #11  
Old 11-15-2006, 10:23 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
Quote:
Originally Posted by oldchippy
Format your date cell to this formatting, it doesn't matter how many you have got.

...date cell...??



Reply With Quote
  #12  
Old 11-15-2006, 10:24 AM
oldchippy's Avatar
oldchippy oldchippy is offline
"Eagle Eyed" Forum Moderator
 
Join Date: 14 Feb 2005
Location: Worcester, UK
Posts: 5,934
oldchippy will become famous soon enough oldchippy will become famous soon enough
We all started where you are, so let me explain. Ignore my column of date I only did that to show you the formatting that can be applied to cells that dates are within 14 days of TODAY().

What you need to do is apply this formatting to you date cells in your spreadsheet. Once you have done one, you can double-click on the Paintbrush icon and click on all your date cells to apply the same formatting.

Try it on a test spreadsheet, so you understand what's going on.

OK?
__________________
oldchippy
-------------


Click here >>> Top Excel links for beginners to Experts

Forum Rules >>>Please don't forget to read these
Reply With Quote
  #13  
Old 11-15-2006, 10:27 AM
oldchippy's Avatar
oldchippy oldchippy is offline
"Eagle Eyed" Forum Moderator
 
Join Date: 14 Feb 2005
Location: Worcester, UK
Posts: 5,934
oldchippy will become famous soon enough oldchippy will become famous soon enough
Quote:
Originally Posted by fnaclew
...date cell...??



I'm assumming that the MOT and servicing dates are in a cell/s on the spreadsheet and not still on the MOT certificate. I know Excel is good, but not that good!
__________________
oldchippy
-------------


Click here >>> Top Excel links for beginners to Experts

Forum Rules >>>Please don't forget to read these
Reply With Quote
  #14  
Old 11-15-2006, 10:30 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
Quote:
Originally Posted by oldchippy
I'm assumming that the MOT and servicing dates are in a cell/s on the spreadsheet and not still on the MOT certificate. I know Excel is good, but not that good!
You funny!

I like!!
Reply With Quote
  #15  
Old 11-15-2006, 11:42 AM
fnaclew fnaclew is offline
Registered User
 
Join Date: 15 Nov 2006
Posts: 16
fnaclew is on a distinguished road
oldchippy,

Thanks for your patience.

I have done as you recommended however nothing has happened.
I thought maybe it might be reading away from the mot date rather than up to so I reversed the between points. Still no good.

Am I missing something obvious, a case of can't see for looking I wonder?
Reply With Quote
Reply

Bookmarks

New topics in F1 Get the most out of Excel Formulas & Functions


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -4. The time now is 02:50 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0