ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to add conditional formating on depand on another cell (https://www.excelbanter.com/excel-discussion-misc-queries/190256-how-add-conditional-formating-depand-another-cell.html)

biswajit paik

How to add conditional formating on depand on another cell
 
Hi
I want to change the cell color & text on depand on another cell. Like
=if(a2="Computer",c2="red")

if a2 is computer then c2 whould be red color & text would be Yes.

Hi pls reply me to my id

dennis

How to add conditional formating on depand on another cell
 
Is there any good reason you need an extra column to display Yes (meaning Yes
there is Computer in the other column) and then Make it Red instead of
checking your original column and making that Red if it displays computer ?

"biswajit paik" wrote:

Hi
I want to change the cell color & text on depand on another cell. Like
=if(a2="Computer",c2="red")

if a2 is computer then c2 whould be red color & text would be Yes.

Hi pls reply me to my id


Janusz Pawlinka

How to add conditional formating on depand on another cell
 
Użytkownik "biswajit paik" napisał
w wiadomości ...
Hi
I want to change the cell color & text on depand on another cell. Like
=if(a2="Computer",c2="red")

if a2 is computer then c2 whould be red color & text would be Yes.

Hi pls reply me to my id




Go to cell C2 and write formula
= if(a2="Computer"; "Yes", "")

and then use "Format-Conditional Formating",
choose from listboxes 'Value Is' and 'equals',
write ="Yes",
press Format button and choose desired cell format.

I don't know how to do this in one step without a macro.
--
==============================
Janusz Pawlinka




All times are GMT +1. The time now is 11:22 AM.

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