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

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Help With Conditional Formatting

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Help With Conditional Formatting

thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Help With Conditional Formatting

It works fine in the US using excel 2003. Which versoin of excel are you
using and which country are you in. I copied the formulas from you posting.
I also copied the 28th feb 07 and didn't get errors. check the cell where
you have the conditional formating and make sure it is formated as a DATE.

"singingsister" wrote:

thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Help With Conditional Formatting

I'm using excel 03 and im in the UK. It's definately set to date. The
formula needs to look from K3, L3 and M3 downwards with no end row as it's a
working spreadsheet. Does this help?

"Joel" wrote:

It works fine in the US using excel 2003. Which versoin of excel are you
using and which country are you in. I copied the formulas from you posting.
I also copied the 28th feb 07 and didn't get errors. check the cell where
you have the conditional formating and make sure it is formated as a DATE.

"singingsister" wrote:

thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help With Conditional Formatting

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy and
paste the formulae you have used directly from the conditional formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the formula an
element at a time. If you're convinced that you've got red showing from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got 28 Feb
07 in K223, then I suggest that you put a few intermediate steps in various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether you get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph

"singingsister" wrote in message
...
thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I
have. I
have tried to do the formula on the actual spreadsheet (did "testing"
on
dummy sheet before I was certain it worked and got approval from boss
to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is
the
quoted delivery date and column M is the factory acknowledged delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O
(which is
the actual despatch date) the colours in that row for the 3 columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?!
Promise!



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Help With Conditional Formatting

Because you have k223=today() in the formula you should not get any color
for FEb 28 2007. the only way you wuld get color was if the today function
was returning the wrong date. Put =today() in a cell and see what date is
returned. Your computer may be set at the wrong date.

"singingsister" wrote:

I'm using excel 03 and im in the UK. It's definately set to date. The
formula needs to look from K3, L3 and M3 downwards with no end row as it's a
working spreadsheet. Does this help?

"Joel" wrote:

It works fine in the US using excel 2003. Which versoin of excel are you
using and which country are you in. I copied the formulas from you posting.
I also copied the 28th feb 07 and didn't get errors. check the cell where
you have the conditional formating and make sure it is formated as a DATE.

"singingsister" wrote:

thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I have. I
have tried to do the formula on the actual spreadsheet (did "testing" on
dummy sheet before I was certain it worked and got approval from boss to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is the
quoted delivery date and column M is the factory acknowledged delivery date.
What I would like to happen, is that if the date in either of the columns
reaches between 14 days and 7 days away from todays date it flags yellow (as
a warning) and when the date reaches 7 days or less away from todays date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O (which is
the actual despatch date) the colours in that row for the 3 columns above
disappear.

The spreadsheet is a working document so I will need to apply the formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?! Promise!

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Help With Conditional Formatting

David,

I broke it down as you suggested and the only one where it differs is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't work!



"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy and
paste the formulae you have used directly from the conditional formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the formula an
element at a time. If you're convinced that you've got red showing from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got 28 Feb
07 in K223, then I suggest that you put a few intermediate steps in various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether you get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph

"singingsister" wrote in message
...
thanks for that Joel. I've amended it but it's still not working properly.
It's putting dates like 28th feb 07 in red and dates in april in amber?!!!

should just be 1 week away from todays date in red and 14 days in amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I
have. I
have tried to do the formula on the actual spreadsheet (did "testing"
on
dummy sheet before I was certain it worked and got approval from boss
to
use), but, now I've tried to do the formula again and it doesn't work!

To cut a long story short, my spreadsheet has 3 columns I would like to
track.

Column K is the requested delivery date from the customer, column L is
the
quoted delivery date and column M is the factory acknowledged delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O
(which is
the actual despatch date) the colours in that row for the 3 columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?!
Promise!




  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help With Conditional Formatting

So you are telling us that that
=K223 returns 39141
=TODAY() returns 39232
and that
=(K223=TODAY()) returns TRUE ?

O.K., now humour us one stage further, tell us what =K223-TODAY() returns?
--
David Biddulph

"singingsister" wrote in message
...
David,

I broke it down as you suggested and the only one where it differs is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't work!


"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy and
paste the formulae you have used directly from the conditional formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the formula
an
element at a time. If you're convinced that you've got red showing from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got 28
Feb
07 in K223, then I suggest that you put a few intermediate steps in
various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether you
get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph

"singingsister" wrote in
message
...
thanks for that Joel. I've amended it but it's still not working
properly.
It's putting dates like 28th feb 07 in red and dates in april in
amber?!!!

should just be 1 week away from todays date in red and 14 days in
amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of
the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I
have. I
have tried to do the formula on the actual spreadsheet (did
"testing"
on
dummy sheet before I was certain it worked and got approval from
boss
to
use), but, now I've tried to do the formula again and it doesn't
work!

To cut a long story short, my spreadsheet has 3 columns I would like
to
track.

Column K is the requested delivery date from the customer, column L
is
the
quoted delivery date and column M is the factory acknowledged
delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O
(which is
the actual despatch date) the colours in that row for the 3 columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag
amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?!
Promise!






  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Help With Conditional Formatting

David,
=K223 gives me today's date
=today gives me today's date
and yes
=(K223=TODAY()) gives me true

=K223-TODAY()) gives me 00 January 1900

"David Biddulph" wrote:

So you are telling us that that
=K223 returns 39141
=TODAY() returns 39232
and that
=(K223=TODAY()) returns TRUE ?

O.K., now humour us one stage further, tell us what =K223-TODAY() returns?
--
David Biddulph

"singingsister" wrote in message
...
David,

I broke it down as you suggested and the only one where it differs is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't work!


"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy and
paste the formulae you have used directly from the conditional formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the formula
an
element at a time. If you're convinced that you've got red showing from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got 28
Feb
07 in K223, then I suggest that you put a few intermediate steps in
various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether you
get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph

"singingsister" wrote in
message
...
thanks for that Joel. I've amended it but it's still not working
properly.
It's putting dates like 28th feb 07 in red and dates in april in
amber?!!!

should just be 1 week away from todays date in red and 14 days in
amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead of
the
letter O (J,K,L,M,"O").

"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates I
have. I
have tried to do the formula on the actual spreadsheet (did
"testing"
on
dummy sheet before I was certain it worked and got approval from
boss
to
use), but, now I've tried to do the formula again and it doesn't
work!

To cut a long story short, my spreadsheet has 3 columns I would like
to
track.

Column K is the requested delivery date from the customer, column L
is
the
quoted delivery date and column M is the factory acknowledged
delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column O
(which is
the actual despatch date) the colours in that row for the 3 columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag
amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did work?!
Promise!









  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help With Conditional Formatting

Right!

You were previously telling us that you had 28 Feb 2007 in K223 when it was
shown as red. If you've got today's date in K223 then it should indeed be
showing as red.

Now go back and change K223 to 28 Feb 07 and see what happens to the cell
format and to the intermediate parameters which we've been looking at.

As almost always, if you are getting the wrong answer, it is usually because
the wrong question has been asked.
[Note that where you are looking at =K223-TODAY(), it is better to format as
General or Number, as you are looking at a number of days (zero in this
case), rather than at a date as such.]

One further thing to check if you are getting unexpected answers is to make
sure that under Tools/ Options/ Calculation you have the mode set to
Automatic.
--
David Biddulph

"singingsister" wrote in message
...
David,
=K223 gives me today's date
=today gives me today's date
and yes
=(K223=TODAY()) gives me true

=K223-TODAY()) gives me 00 January 1900


"David Biddulph" wrote:

So you are telling us that that
=K223 returns 39141
=TODAY() returns 39232
and that
=(K223=TODAY()) returns TRUE ?

O.K., now humour us one stage further, tell us what =K223-TODAY()
returns?
--
David Biddulph


"singingsister" wrote in
message
...
David,

I broke it down as you suggested and the only one where it differs is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't work!


"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy
and
paste the formulae you have used directly from the conditional
formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the
formula
an
element at a time. If you're convinced that you've got red showing
from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got
28
Feb
07 in K223, then I suggest that you put a few intermediate steps in
various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether
you
get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format
to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph


"singingsister" wrote in
message
...
thanks for that Joel. I've amended it but it's still not working
properly.
It's putting dates like 28th feb 07 in red and dates in april in
amber?!!!

should just be 1 week away from todays date in red and 14 days in
amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead
of
the
letter O (J,K,L,M,"O").


"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates
I
have. I
have tried to do the formula on the actual spreadsheet (did
"testing"
on
dummy sheet before I was certain it worked and got approval from
boss
to
use), but, now I've tried to do the formula again and it doesn't
work!

To cut a long story short, my spreadsheet has 3 columns I would
like
to
track.

Column K is the requested delivery date from the customer, column
L
is
the
quoted delivery date and column M is the factory acknowledged
delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from
todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column
O
(which is
the actual despatch date) the colours in that row for the 3
columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag
amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did
work?!
Promise!









  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Help With Conditional Formatting

David,

I can't go and change K223 as it's a working document and would change the
date . I was originally told what formula to use in the conditional
formatting from another website (can't remember which one) but cell K223
bears no relevance to the overall spreadsheet...it's just a date with regards
to one order, each order is separate to each other.

All I want to do is if the date in the cell is 14 days or less away to be
amber, but when the date in the cell becomes 7 days or less it goes red.

If you need to amend the formula please do!



"David Biddulph" wrote:

Right!

You were previously telling us that you had 28 Feb 2007 in K223 when it was
shown as red. If you've got today's date in K223 then it should indeed be
showing as red.

Now go back and change K223 to 28 Feb 07 and see what happens to the cell
format and to the intermediate parameters which we've been looking at.

As almost always, if you are getting the wrong answer, it is usually because
the wrong question has been asked.
[Note that where you are looking at =K223-TODAY(), it is better to format as
General or Number, as you are looking at a number of days (zero in this
case), rather than at a date as such.]

One further thing to check if you are getting unexpected answers is to make
sure that under Tools/ Options/ Calculation you have the mode set to
Automatic.
--
David Biddulph

"singingsister" wrote in message
...
David,
=K223 gives me today's date
=today gives me today's date
and yes
=(K223=TODAY()) gives me true

=K223-TODAY()) gives me 00 January 1900


"David Biddulph" wrote:

So you are telling us that that
=K223 returns 39141
=TODAY() returns 39232
and that
=(K223=TODAY()) returns TRUE ?

O.K., now humour us one stage further, tell us what =K223-TODAY()
returns?
--
David Biddulph


"singingsister" wrote in
message
...
David,

I broke it down as you suggested and the only one where it differs is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't work!

"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy
and
paste the formulae you have used directly from the conditional
formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the
formula
an
element at a time. If you're convinced that you've got red showing
from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've got
28
Feb
07 in K223, then I suggest that you put a few intermediate steps in
various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether
you
get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change format
to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph


"singingsister" wrote in
message
...
thanks for that Joel. I've amended it but it's still not working
properly.
It's putting dates like 28th feb 07 in red and dates in april in
amber?!!!

should just be 1 week away from todays date in red and 14 days in
amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero instead
of
the
letter O (J,K,L,M,"O").


"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of dates
I
have. I
have tried to do the formula on the actual spreadsheet (did
"testing"
on
dummy sheet before I was certain it worked and got approval from
boss
to
use), but, now I've tried to do the formula again and it doesn't
work!

To cut a long story short, my spreadsheet has 3 columns I would
like
to
track.

Column K is the requested delivery date from the customer, column
L
is
the
quoted delivery date and column M is the factory acknowledged
delivery
date.
What I would like to happen, is that if the date in either of the
columns
reaches between 14 days and 7 days away from todays date it flags
yellow (as
a warning) and when the date reaches 7 days or less away from
todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in column
O
(which is
the actual despatch date) the colours in that row for the 3
columns
above
disappear.

The spreadsheet is a working document so I will need to apply the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to flag
amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did
work?!
Promise!










  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Help With Conditional Formatting

If you can't take a copy of the document and vary parameters in it, then
we're not likely to be able to help you find your error.

The formulae were right, and work correctly for me and for other people that
are trying to help you, so you're obviously not doing what you tell us
you're doing, but you're not giving us enough information to find out what
you've done wrong. We've advised you on the steps to follow to sort out
where you've gone wrong, but if you can't do it systematically in that way,
then I think you're on you're own.
--
David Biddulph

"singingsister" wrote in message
...
David,

I can't go and change K223 as it's a working document and would change the
date . I was originally told what formula to use in the conditional
formatting from another website (can't remember which one) but cell K223
bears no relevance to the overall spreadsheet...it's just a date with
regards
to one order, each order is separate to each other.

All I want to do is if the date in the cell is 14 days or less away to be
amber, but when the date in the cell becomes 7 days or less it goes red.

If you need to amend the formula please do!


"David Biddulph" wrote:

Right!

You were previously telling us that you had 28 Feb 2007 in K223 when it
was
shown as red. If you've got today's date in K223 then it should indeed
be
showing as red.

Now go back and change K223 to 28 Feb 07 and see what happens to the cell
format and to the intermediate parameters which we've been looking at.

As almost always, if you are getting the wrong answer, it is usually
because
the wrong question has been asked.
[Note that where you are looking at =K223-TODAY(), it is better to format
as
General or Number, as you are looking at a number of days (zero in this
case), rather than at a date as such.]

One further thing to check if you are getting unexpected answers is to
make
sure that under Tools/ Options/ Calculation you have the mode set to
Automatic.
--
David Biddulph

"singingsister" wrote in
message
...
David,
=K223 gives me today's date
=today gives me today's date
and yes
=(K223=TODAY()) gives me true

=K223-TODAY()) gives me 00 January 1900


"David Biddulph" wrote:

So you are telling us that that
=K223 returns 39141
=TODAY() returns 39232
and that
=(K223=TODAY()) returns TRUE ?

O.K., now humour us one stage further, tell us what =K223-TODAY()
returns?
--
David Biddulph


"singingsister" wrote in
message
...
David,

I broke it down as you suggested and the only one where it differs
is
=(K223=TODAY()) as I get TRUE as the answer.

I tried re-entering the formula from scratch and it still didn't
work!

"David Biddulph" wrote:

The formulae seem to work OK here.

I suggest, to avoid any further transcription errors, that you copy
and
paste the formulae you have used directly from the conditional
formatting
formula bars to the group here.

If you are still struggling, it is also worth breaking down the
formula
an
element at a time. If you're convinced that you've got red showing
from
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") when you've
got
28
Feb
07 in K223, then I suggest that you put a few intermediate steps in
various
cells, so you can look at:
=AND(K2230,K223=TODAY(),K223-TODAY()<=5,$O223="") and see whether
you
get
FALSE
=K223 and see whether you get 28/2/07 (or 39141 if you change
format
to
General)
=(K223=TODAY()) and see whether you get FALSE
=TODAY() and see whether you get 30/5/07 (or 39232 as General)
etc.
--
David Biddulph


"singingsister" wrote in
message
...
thanks for that Joel. I've amended it but it's still not working
properly.
It's putting dates like 28th feb 07 in red and dates in april in
amber?!!!

should just be 1 week away from todays date in red and 14 days in
amber.

"Joel" wrote:

The two place where you have $O223 there is the digit zero
instead
of
the
letter O (J,K,L,M,"O").


"singingsister" wrote:

I posted a question a few weeks ago about a spreadsheet of
dates
I
have. I
have tried to do the formula on the actual spreadsheet (did
"testing"
on
dummy sheet before I was certain it worked and got approval
from
boss
to
use), but, now I've tried to do the formula again and it
doesn't
work!

To cut a long story short, my spreadsheet has 3 columns I
would
like
to
track.

Column K is the requested delivery date from the customer,
column
L
is
the
quoted delivery date and column M is the factory acknowledged
delivery
date.
What I would like to happen, is that if the date in either of
the
columns
reaches between 14 days and 7 days away from todays date it
flags
yellow (as
a warning) and when the date reaches 7 days or less away from
todays
date the
colour changes to red (as a visual warning to chase delivery).

What I also would like to do is that when I put a date in
column
O
(which is
the actual despatch date) the colours in that row for the 3
columns
above
disappear.

The spreadsheet is a working document so I will need to apply
the
formula to
all rows as it gets added to on a daily basis.

The formula I was using was to flag red was
=and(k2230,k223=today(),k223-today()<=5,$0223="") and to
flag
amber i
used
=and(k2230,k223=today(),k223-today()<=14,$0223="")

PLEASE can someone help me out of my pickle. The formula did
work?!
Promise!












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
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 03:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 05:35 PM
Conditional formatting P Beardshall Excel Worksheet Functions 3 November 24th 06 02:25 AM
Conditional formatting JG Excel Discussion (Misc queries) 9 May 7th 06 12:21 AM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 06:45 PM


All times are GMT +1. The time now is 03:08 AM.

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"