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

i understand basic conditional formatting but if i have a number in cell A1
and a series of numbers in a column from A2:A102 what formula can i use to
colour cell A1 if there is the same number anywhere in the colum A2:A102. ??

In other words a formula that looks for a match for whatever the number
happens to be in A1
Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default conditional formatting

This should do it...

=COUNTIF(A2:A102, A1)
--
HTH...

Jim Thomlinson


"jackrobyn1" wrote:

i understand basic conditional formatting but if i have a number in cell A1
and a series of numbers in a column from A2:A102 what formula can i use to
colour cell A1 if there is the same number anywhere in the colum A2:A102. ??

In other words a formula that looks for a match for whatever the number
happens to be in A1
Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default conditional formatting

Select the cells you want to conditional format and use this formula.

=COUNTIF(A2:A102,A2)1

HTH
Regards,
Howard

"jackrobyn1" wrote in message
...
i understand basic conditional formatting but if i have a number in cell A1
and a series of numbers in a column from A2:A102 what formula can i use to
colour cell A1 if there is the same number anywhere in the colum A2:A102.
??

In other words a formula that looks for a match for whatever the number
happens to be in A1
Thanks



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default conditional formatting

I believe I missread your post. Not sure my formula will do what you want.

Regards,
Howard

"L. Howard Kittle" wrote in message
. ..
Select the cells you want to conditional format and use this formula.

=COUNTIF(A2:A102,A2)1

HTH
Regards,
Howard

"jackrobyn1" wrote in message
...
i understand basic conditional formatting but if i have a number in cell
A1
and a series of numbers in a column from A2:A102 what formula can i use
to
colour cell A1 if there is the same number anywhere in the colum A2:A102.
??

In other words a formula that looks for a match for whatever the number
happens to be in A1
Thanks





  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default conditional formatting

thanks the first formula works a treat, exactly what i wanted. cheers

"L. Howard Kittle" wrote:

I believe I missread your post. Not sure my formula will do what you want.

Regards,
Howard

"L. Howard Kittle" wrote in message
. ..
Select the cells you want to conditional format and use this formula.

=COUNTIF(A2:A102,A2)1

HTH
Regards,
Howard

"jackrobyn1" wrote in message
...
i understand basic conditional formatting but if i have a number in cell
A1
and a series of numbers in a column from A2:A102 what formula can i use
to
colour cell A1 if there is the same number anywhere in the colum A2:A102.
??

In other words a formula that looks for a match for whatever the number
happens to be in A1
Thanks






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
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 0 January 15th 07 04:35 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 05:44 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"