Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Conditional Formatting!!!

I have a spreadsheet which uses conditional formattting. The colour of a
particular cell changes colour, depending on the expiry date (shown in
another cell).

I have another column with wording in which says either, Quotes; Business
Case; Tender; EU. At the moment, cell A7 turns amber, when the expiry date is
3-months away, to alert me to begin renewal of a contract, however, some
contracts require upto 12-months of preparatory work, so is it possible, for
the formula in A1 to take into account, the type of renewal (ie. Quotes;
tender etc).

For example, if a contract expires 01.01.11, and the renewal cell states EU,
then I want the formula to pick this up, and turn amber 12-months prior to
the expiry date, ie on 01.01.10.

Does this make sense and can anyone please help??

Many thanks
Vikki
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Conditional Formatting!!!

It would help if you showed the formula you were using.

In general, you do something like:
=or(and(a1="EU",a2<today()+365),and(a1<"EU",a2<to day()+91))

Regards,
Fred.

"Vikki" wrote in message
...
I have a spreadsheet which uses conditional formattting. The colour of a
particular cell changes colour, depending on the expiry date (shown in
another cell).

I have another column with wording in which says either, Quotes; Business
Case; Tender; EU. At the moment, cell A7 turns amber, when the expiry date
is
3-months away, to alert me to begin renewal of a contract, however, some
contracts require upto 12-months of preparatory work, so is it possible,
for
the formula in A1 to take into account, the type of renewal (ie. Quotes;
tender etc).

For example, if a contract expires 01.01.11, and the renewal cell states
EU,
then I want the formula to pick this up, and turn amber 12-months prior to
the expiry date, ie on 01.01.10.

Does this make sense and can anyone please help??

Many thanks
Vikki


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default Conditional Formatting!!!

Try something like this:

=OR(AND(B7<"",B7<=TODAY()+90,C7<"EU"),AND(B7<"" ,B7<=TODAY()+360,C7="EU"))
--

HTH,

RD
================================================== ===
Please keep all correspondence within the Group, so all may benefit!
================================================== ===


"Vikki" wrote in message
...
I have a spreadsheet which uses conditional formattting. The colour of a
particular cell changes colour, depending on the expiry date (shown in
another cell).

I have another column with wording in which says either, Quotes; Business
Case; Tender; EU. At the moment, cell A7 turns amber, when the expiry date
is
3-months away, to alert me to begin renewal of a contract, however, some
contracts require upto 12-months of preparatory work, so is it possible, for
the formula in A1 to take into account, the type of renewal (ie. Quotes;
tender etc).

For example, if a contract expires 01.01.11, and the renewal cell states EU,
then I want the formula to pick this up, and turn amber 12-months prior to
the expiry date, ie on 01.01.10.

Does this make sense and can anyone please help??

Many thanks
Vikki


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Conditional Formatting!!!

Hi Fred

I am currently using 3 seperate conditions as follows:

TO TURN CELL GREEN =DATEDIF(TODAY(),$N$162,"M")=3

TO TURN CELL ORANGE =AND(DATEDIF(TODAY(),$N$162,"M")<3,TODAY()<$N$162)

TO TURN CELL RED=TODAY()=$N$162

I want to modify these so it is not always based on 3 months, I need it be
12-months if H162 says EU, 6-months if it says TENDER, 3 months for
QUOTATIONS & 3 months for BUSINESS CASE.

I hope you can help me get this right!

Thanks
Vikki

"Fred Smith" wrote:

It would help if you showed the formula you were using.

In general, you do something like:
=or(and(a1="EU",a2<today()+365),and(a1<"EU",a2<to day()+91))

Regards,
Fred.

"Vikki" wrote in message
...
I have a spreadsheet which uses conditional formattting. The colour of a
particular cell changes colour, depending on the expiry date (shown in
another cell).

I have another column with wording in which says either, Quotes; Business
Case; Tender; EU. At the moment, cell A7 turns amber, when the expiry date
is
3-months away, to alert me to begin renewal of a contract, however, some
contracts require upto 12-months of preparatory work, so is it possible,
for
the formula in A1 to take into account, the type of renewal (ie. Quotes;
tender etc).

For example, if a contract expires 01.01.11, and the renewal cell states
EU,
then I want the formula to pick this up, and turn amber 12-months prior to
the expiry date, ie on 01.01.10.

Does this make sense and can anyone please help??

Many thanks
Vikki



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Conditional Formatting!!!

Here's what I would do.

1. Eliminate the first condition, and set the cell to green background. This
is the default background if the other conditions aren't met
2. Change the orange condition to:
=datedif(today(),$N$162,"M")<if(H162="EU",12,if(H1 62="TENDER",6,3))
3. Leave the red condition as is.

Other things I would look at:
-- Review the use of absolute addressing ($N$162). When you copy this
formula, this address won't change. Is this what you want?
-- Add a column called, say, lead time, calculated as the Datedif in months.
Now you can substitute this column for my if statement in the orange
condition, and you can select on this number. The problem with conditional
formatting is that you visually have to search the file. You're often better
off to calculate the lead time, then use can use Autofilter to display only
the records you are interested in.

Regards,
Fred.

"Vikki" wrote in message
...
Hi Fred

I am currently using 3 seperate conditions as follows:

TO TURN CELL GREEN =DATEDIF(TODAY(),$N$162,"M")=3

TO TURN CELL ORANGE =AND(DATEDIF(TODAY(),$N$162,"M")<3,TODAY()<$N$162)

TO TURN CELL RED=TODAY()=$N$162

I want to modify these so it is not always based on 3 months, I need it be
12-months if H162 says EU, 6-months if it says TENDER, 3 months for
QUOTATIONS & 3 months for BUSINESS CASE.

I hope you can help me get this right!

Thanks
Vikki

"Fred Smith" wrote:

It would help if you showed the formula you were using.

In general, you do something like:
=or(and(a1="EU",a2<today()+365),and(a1<"EU",a2<to day()+91))

Regards,
Fred.

"Vikki" wrote in message
...
I have a spreadsheet which uses conditional formattting. The colour of a
particular cell changes colour, depending on the expiry date (shown in
another cell).

I have another column with wording in which says either, Quotes;
Business
Case; Tender; EU. At the moment, cell A7 turns amber, when the expiry
date
is
3-months away, to alert me to begin renewal of a contract, however,
some
contracts require upto 12-months of preparatory work, so is it
possible,
for
the formula in A1 to take into account, the type of renewal (ie.
Quotes;
tender etc).

For example, if a contract expires 01.01.11, and the renewal cell
states
EU,
then I want the formula to pick this up, and turn amber 12-months prior
to
the expiry date, ie on 01.01.10.

Does this make sense and can anyone please help??

Many thanks
Vikki




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
How can I convert conditional formatting into explicit formatting? Patrick Harris Excel Discussion (Misc queries) 0 April 9th 09 12:00 AM
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting Conditional Formatting Icon Sets The Rook[_2_] Excel Discussion (Misc queries) 3 March 7th 09 08:48 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 03:18 PM.

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"