Conditional Formatting with a Formula

JDSOuth49

New Member
Joined
Feb 16, 2024
Messages
46
Office Version
  1. 365
Platform
  1. Windows
Good Afternoon.

I am trying to wright a Conditional formatting formula for the following criteria:
1. When a check box is "TRUE" or CHECKED, it puts a "Y" in Cell E15
2. When a check box is "FALSE" or NOT-CHECKED, it puts a "N" in Cell E15

I tried this formula
=IF($E$15=TRUE,"N","Y")

--OR--
Is there another way to get the same results?

1713461778819.png

1713461793369.png


Thank you in advance...
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
just use =$E$15=TRUE as your conditional formatting formula
 
Upvote 0
just use =$E$15=TRUE as your conditional formatting formula
Thank you for the information.
This does work, to return "TRUE" in Cell E15.
What formula would have this outcome? --> When a check box is "TRUE" or CHECKED, it puts a "Y" in Cell E15
 
Upvote 0
I'm not sure what you're asking. You asked about conditional formatting. The formula to format a cell using conditional formatting will occur when the formula you use in the conditional formatting dialog box resolves to TRUE.

If you want to put a Y or N in cell E15 based upon how a check box is clicked is not using CONDITIONAL FORMATTING. It would use a formula in cell E15.
So, if the check box is associated with cell D15 then the formula in crell E15 would be:

Excel Formula:
=IF(D15=TRUE,"Y","N")

Note, there is recent developments in excel where checkbox are actual cell contents. But, I'm not all that familiar with them.
 
Upvote 0
Solution
I'm not sure what you're asking. You asked about conditional formatting. The formula to format a cell using conditional formatting will occur when the formula you use in the conditional formatting dialog box resolves to TRUE.

If you want to put a Y or N in cell E15 based upon how a check box is clicked is not using CONDITIONAL FORMATTING. It would use a formula in cell E15.
So, if the check box is associated with cell D15 then the formula in crell E15 would be:

Excel Formula:
=IF(D15=TRUE,"Y","N")

Note, there is recent developments in excel where checkbox are actual cell contents. But, I'm not all that familiar with them.
Got it...

Thank you for your help
 
Upvote 0

Forum statistics

Threads
1,223,904
Messages
6,175,295
Members
452,632
Latest member
jladair

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