conditional formatting

Hjemmet

Board Regular
Joined
Jun 20, 2018
Messages
207
Help need for this Formula in conditional formatting


S9
Code:
=IF(AND(S15=2;Y9=2);2)
S10
Code:
=IF(AND(S15=2;Y9=1);2)
S19
Code:
=IF(AND(S15=1;Y19=2);1)
S20
Code:
=IF(AND(S15=1;Y19=1);1)

I need some kind where the Conditional Not to Take Action If One of these cell's are Empty

i have Try with this
Code:
=IS.EMPTY(IF(AND(S15=2;Y9=1);1))
But it came with "False"

Hope that was enough Info
 
Hm HM i have try you code But it came with #Name in cell and Conditonal Format aint Appear....

i try to explain it in those 4 Conditon the formula need to look like.....Maybe i didn explain it as i Ment....Sorry...

1 Condition "AND S15=1 And Y19 Is 1 (or Y9 =1;Y9=2)"
2 Condition "AND S15=1 And Y19 Is 2 (or Y9 =1;Y9=2)"
3 Condition "AND S15=2 And Y9 Is 1 (or Y19 =1;Y19=2)"
4 Condition "AND S15=2 And Y9 Is 1 (or Y19 =1;Y19=2)"

your Code was "=AND($S$15=1;OR($Y$9=1;$Y$9=2);And($Y$19=1))" i have try to change the code a Bit but wont work


 
Upvote 0

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Hm HM i have try you code But it came with #Name in cell and Conditonal Format aint Appear....
i try to explain it in those 4 Conditon the formula need to look like.....Maybe i didn explain it as i Ment....Sorry...
1 Condition "AND S15=1 And Y19 Is 1 (or Y9 =1;Y9=2)"
2 Condition "AND S15=1 And Y19 Is 2 (or Y9 =1;Y9=2)"
3 Condition "AND S15=2 And Y9 Is 1 (or Y19 =1;Y19=2)"
4 Condition "AND S15=2 And Y9 Is 2 (or Y19 =1;Y19=2)" 'Typo error must be 2
your Code was "=AND($S$15=1;OR($Y$9=1;$Y$9=2);And($Y$19=1))" i have try to change the code a Bit but wont work

Sorry, I did not understand.

Try this:

1.
=AND($S$15=1;$Y$19=1;OR($Y$9=1;$Y$9=2))
2.
=AND($S$15=1;$Y$19=2;OR($Y$9=1;$Y$9=2))
3.
=AND($S$15=2;$Y$9=1;OR($Y$19=1;$Y$19=2))
4.
=AND($S$15=2;$Y$9=2;OR($Y$19=1;$Y$19=2))

 
Upvote 0
Hm i first put you New Codes in 4 different cell's

AND every one of those 4 cell's came with error #name

And also try on Conditional Formatting for each 4 cell's Nothing happend



GOT IT GOT IT GOT IT

i have Removed the "$" in the code and then it's WORK

THANK YOU SO MUCH for you Time to Figure it Out for mee

Dante Amor
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,907
Messages
6,175,301
Members
452,633
Latest member
DougMo

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top