ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pattern Formula? (https://www.excelbanter.com/excel-discussion-misc-queries/45137-pattern-formula.html)

sixwest

Pattern Formula?
 
I'm OK with understanding conditional formatting but my question is for
adjacent cells. What I need to do is to enter a conditional value in one cell
(in my case a "Y") and then have adjacent cells change their color pattern
(in this case "black").

Can this be done somehow?

Thanks
--
6-West

TomHinkle

yes
in the first dropdown of the conditional formatting box, change the default
value from 'cell value is' to 'formula is'.. Then input a formula that
evaluates to T/f (like: $A1=1)

That should do it!

"sixwest" wrote:

I'm OK with understanding conditional formatting but my question is for
adjacent cells. What I need to do is to enter a conditional value in one cell
(in my case a "Y") and then have adjacent cells change their color pattern
(in this case "black").

Can this be done somehow?

Thanks
--
6-West


Ray A


One way:
in the cells you want to change conditional formatformula
is=if(a1?=y,true,false)

hth

"sixwest" wrote:

I'm OK with understanding conditional formatting but my question is for
adjacent cells. What I need to do is to enter a conditional value in one cell
(in my case a "Y") and then have adjacent cells change their color pattern
(in this case "black").

Can this be done somehow?

Thanks
--
6-West


Ian

Use the same criteria in the other cells but referencing the first. eg if A1
needs to be between 1 & 2 to fulfil the criteria, the in eg B1 use formula
is =if(A1=1,A1<=2).

--
Ian
--
"sixwest" wrote in message
...
I'm OK with understanding conditional formatting but my question is for
adjacent cells. What I need to do is to enter a conditional value in one
cell
(in my case a "Y") and then have adjacent cells change their color pattern
(in this case "black").

Can this be done somehow?

Thanks
--
6-West





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

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