ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   change styles of the cell if the value is one of other cells. (https://www.excelbanter.com/new-users-excel/144665-change-styles-cell-if-value-one-other-cells.html)

kang

change styles of the cell if the value is one of other cells.
 
change style if the cell has the same value of one of other cell values.
for example
if A1 of sheet1 has the one value of B1:B7 then A1 is red.
How can I do that?

thanks.

Gordon

change styles of the cell if the value is one of other cells.
 
"kang" wrote in message
...
change style if the cell has the same value of one of other cell values.
for example
if A1 of sheet1 has the one value of B1:B7 then A1 is red.
How can I do that?

thanks.



Conditional Formatting



MartinW

change styles of the cell if the value is one of other cells.
 
Hi Kang,

Try conditional formatting in cell A1 using
formula is =MATCH(A1,B1:B7,0)

HTH
Martin




"kang" wrote in message
...
change style if the cell has the same value of one of other cell values.
for example
if A1 of sheet1 has the one value of B1:B7 then A1 is red.
How can I do that?

thanks.




kang

change styles of the cell if the value is one of other cells.
 
Great.
thanks.

MartinW wrote:
Hi Kang,

Try conditional formatting in cell A1 using
formula is =MATCH(A1,B1:B7,0)

HTH
Martin




"kang" wrote in message
...
change style if the cell has the same value of one of other cell values.
for example
if A1 of sheet1 has the one value of B1:B7 then A1 is red.
How can I do that?

thanks.





All times are GMT +1. The time now is 02:05 PM.

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