LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Bob Phillips
 
Posts: n/a
Default

OK, maybe select all the cells to compare, say C1:c10 and try a formula of

=COUNTIF($B$51:$B$105,C1)0

--
HTH

Bob Phillips

"Nat" wrote in message
...
Hi Bob,

I'm a little confused and not sure if I was clear enough.
The list of dates from B51-B105 changes depending on data entered on a
different sheet, so the dates in that list aren't the same every time. In

my
calendar, I want the cell to search for it's date in that list and if it's
there, highlight in yellow.

It works great for Jan 1 - 9 using conditional formatting on that cell in

my
calendar with Formula Is =$B$51:$B$105=DATE(2005,1,3) but when I update

the
date for anything after that it doesn't work.

I thought I was just adding the dates in wrong somehow??

Thanks, hope this makes sense :o)

Nat

"Bob Phillips" wrote:

Nat,

Select B51:B105 and use a formula of

=B51=DATE(2005,1,7)

Excel will adjust the formula in each cell to that cell ref, which is

what
you want.

Also better to put the compare date in a cell, say C1, and test that

=B51=$C$1

the C1 has to be absolute so that Excel does NOT update that for each

cell
in the selected range.

--
HTH

Bob Phillips

"Nat" wrote in message
...
This is probably a really simple question, but I can't get my head

around
it.

In one Column I have a list of dates, and above it I have a calendar
template. I want to set up conditional formatting so that if a date

appears
in the list, the cell of that date on the calendar is highlighted

yellow.

I've used:
=$B$51:$B$105=DATE(2005,1,7)
I put this in the cell of 7th Jan 05 (not US format) This worked

great
and
the cell was highlighted. But when I try it with any other date after

9th
Jan 2005 it fails!
ie.
=$B$51:$B$105=DATE(2005,2,4) - This formula to highlight on 4th Feb

doesn't
work!

What am I doing wrong?

All help is greatly appreciated!!

Thanks,

Nat








 
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 - compare 2 dates Dan Excel Discussion (Misc queries) 2 May 23rd 05 07:32 PM
Conditional Formatting with Dates WLMPilot Excel Worksheet Functions 2 May 3rd 05 05:22 PM
Conditional formatting with dates formula problem. [email protected] Excel Discussion (Misc queries) 8 March 5th 05 11:47 PM
Help with Conditional formatting with Dates Prabha Excel Discussion (Misc queries) 4 February 14th 05 04:13 PM
Conditional Formatting Dates John Excel Worksheet Functions 11 December 29th 04 08:43 PM


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