ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   cell formatting (https://www.excelbanter.com/excel-discussion-misc-queries/80234-cell-formatting.html)

GG

cell formatting
 
how to programatically format cell with color when contents meet conditions.
Example: =if cell A1="pass" highlight C1 (where the formula is) with Green,
and so on. and if condition does not come true leave the default or format as
per the user need. Appreciate your help.

Duke Carey

cell formatting
 
Use Format conditional formatting

Select C1 and go to Formatconditional formatting
Use Formula is and type in =A1="pass"
Click on the format button, go to the patterns tab, and choose green


"GG" wrote:

how to programatically format cell with color when contents meet conditions.
Example: =if cell A1="pass" highlight C1 (where the formula is) with Green,
and so on. and if condition does not come true leave the default or format as
per the user need. Appreciate your help.


Kevin B

cell formatting
 
You can do exactly what you have stated with Conditional Formatting, found
by clicking on FORMAT in the menu.
--
Kevin Backmann


"GG" wrote:

how to programatically format cell with color when contents meet conditions.
Example: =if cell A1="pass" highlight C1 (where the formula is) with Green,
and so on. and if condition does not come true leave the default or format as
per the user need. Appreciate your help.



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

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