ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Change fmt of a cell if number matches any in a range of cells? (https://www.excelbanter.com/excel-worksheet-functions/84281-change-fmt-cell-if-number-matches-any-range-cells.html)

SteveR

Change fmt of a cell if number matches any in a range of cells?
 
I want to change the format of a cell when a number in that cell matches any
number in a largerrange of cells (50 Cells).

Gary''s Student

Change fmt of a cell if number matches any in a range of cells?
 
Use conditional Formatting:

Select B1
Pull-down:

Format Condition Formatting
Select formula is and for the formula
=COUNTIF(A$1:A$50,B1)0

--
Gary''s Student


"SteveR" wrote:

I want to change the format of a cell when a number in that cell matches any
number in a largerrange of cells (50 Cells).


Ardus Petus

Change fmt of a cell if number matches any in a range of cells?
 
Conditional formatting with formula:
=NOT(ISNA(MATCH(A1,$B$1:$B$100)

HTH
--
AP

"SteveR" a écrit dans le message de
...
I want to change the format of a cell when a number in that cell matches

any
number in a largerrange of cells (50 Cells).





All times are GMT +1. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com