Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

I would like to set up a conditional format whereby if today's date
minus [date in referenced cell] was greater than a certain number, then
the fill colour of the cell would be changed.

I've tried experimenting with setting this up, but just don't seem to be
able to hit the right syntax.

Any assistance would be much appreciated.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help requested for conditional formatting

CF/ Formula Is/ =TODAY()-A15
or
CF/ Cell Value Is/ less than/ =TODAY()-5
--
David Biddulph

"Paul Hyett" wrote in message
...
I would like to set up a conditional format whereby if today's date minus
[date in referenced cell] was greater than a certain number, then the fill
colour of the cell would be changed.

I've tried experimenting with setting this up, but just don't seem to be
able to hit the right syntax.

Any assistance would be much appreciated.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

In microsoft.public.excel.misc on Sun, 19 Aug 2007, David Biddulph
wrote :

CF/ Formula Is/ =TODAY()-A15
or
CF/ Cell Value Is/ less than/ =TODAY()-5


I'll try those & get back to you.

Thanks.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

In microsoft.public.excel.misc on Sun, 19 Aug 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Sun, 19 Aug 2007, David Biddulph
wrote :

CF/ Formula Is/ =TODAY()-A15
or
CF/ Cell Value Is/ less than/ =TODAY()-5


I'll try those & get back to you.


OK - that first one works!

I didn't even know about the 'Formula Is' option, before! :)
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

In microsoft.public.excel.misc on Mon, 20 Aug 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Sun, 19 Aug 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Sun, 19 Aug 2007, David Biddulph
wrote :

CF/ Formula Is/ =TODAY()-A15
or
CF/ Cell Value Is/ less than/ =TODAY()-5


I'll try those & get back to you.


OK - that first one works!

I didn't even know about the 'Formula Is' option, before! :)


BTW, a follow-up : I'd like the cell fill colour changing only if it
wasn't empty. Presumably the 'ISBLANK' function would be involved
somehow?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help requested for conditional formatting

Yes. And if you are wanting to combine two functions, the AND function is
likely to be required too.
Details of all functions (except DATEDIF) are in Excel help, usually with
examples and with links to related functions through the "See also" link.
--
David Biddulph

"Paul Hyett" wrote in message
...
In microsoft.public.excel.misc on Mon, 20 Aug 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Sun, 19 Aug 2007, Paul Hyett
wrote :
In microsoft.public.excel.misc on Sun, 19 Aug 2007, David Biddulph
wrote :

CF/ Formula Is/ =TODAY()-A15
or
CF/ Cell Value Is/ less than/ =TODAY()-5

I'll try those & get back to you.


OK - that first one works!

I didn't even know about the 'Formula Is' option, before! :)


BTW, a follow-up : I'd like the cell fill colour changing only if it
wasn't empty. Presumably the 'ISBLANK' function would be involved somehow?
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

In microsoft.public.excel.misc on Mon, 20 Aug 2007, David Biddulph
wrote :

Yes. And if you are wanting to combine two functions, the AND function is
likely to be required too.


Details of all functions (except DATEDIF) are in Excel help, usually with
examples and with links to related functions through the "See also" link.


Believe me, I do *try* using Excel help, but it so rarely gives examples
in the form I'm looking for.
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #8   Report Post  
Posted to microsoft.public.excel.misc,microsoft.public.excel.programming
external usenet poster
 
Posts: 390
Default Help requested for conditional formatting

In , Paul Hyett
spake thusly:

BTW, a follow-up : I'd like the cell fill colour changing only
if it wasn't empty. Presumably the 'ISBLANK' function would be
involved somehow?


Not a direct answer to your question, which I believe has been
answered at any rate -- but I coincidentally just finished working
out a reusable module to handle some Conditional Formatting functions.
It's working out to be rather nifty for me, so I've made a web page
about it and am happy to give away the code.

http://heliotropos.com/xl/code/cfmagic.html

=dman=




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Help requested for conditional formatting

In microsoft.public.excel.misc on Tue, 21 Aug 2007, Dallman Ross
wrote :
In , Paul Hyett
spake thusly:

BTW, a follow-up : I'd like the cell fill colour changing only
if it wasn't empty. Presumably the 'ISBLANK' function would be
involved somehow?


Not a direct answer to your question, which I believe has been
answered at any rate -- but I coincidentally just finished working
out a reusable module to handle some Conditional Formatting functions.
It's working out to be rather nifty for me, so I've made a web page
about it and am happy to give away the code.

http://heliotropos.com/xl/code/cfmagic.html


Looks impressive - I just wish I could understand it. :)
--
Paul Hyett, Cheltenham (change 'invalid83261' to 'blueyonder' to email me)
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 390
Default Help requested for conditional formatting

In , Paul Hyett
spake thusly:

In microsoft.public.excel.misc on Tue, 21 Aug 2007, Dallman Ross
wrote :


I coincidentally just finished working out a reusable module to
handle some Conditional Formatting functions. It's working out
to be rather nifty for me, so I've made a web page about it and
am happy to give away the code.

http://heliotropos.com/xl/code/cfmagic.html


Looks impressive - I just wish I could understand it. :)


Well, if I can explain anything, let me know.

Basically, it's for if you're coding page formats in VBA directly
and not via the CF dialog pulldown from the Excel Format menu.
The CF code is long and messy, and if you have a sheet that uses
a lot of it you will fill up your modules with gobbledygook
pretty fast. I didn't like that, so went about creating a
reusable submodule you call from your main code. You just feed
it the CF formulas, the (bottom) border color, and the fill
colors you'll want.

The formulas I show in the sample, you could work through by
simply typing (or copying and pasting) them into the CF dialog
region directly to see what they do (on a sample worksheet,
of course).

=dman=
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
sum if formula help requested Ann Excel Worksheet Functions 4 June 25th 07 10:16 PM
Help Requested on Formula Rich Rosier Excel Worksheet Functions 4 April 2nd 06 09:07 PM
VB syntax help requested anny Excel Worksheet Functions 2 January 27th 06 03:16 AM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM
Help requested (quite long!) Lee Davison Excel Discussion (Misc queries) 7 April 13th 05 02:23 PM


All times are GMT +1. The time now is 03:21 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"