Help with possible Macro or IF Funciton

jamessharpe

New Member
Joined
Jan 24, 2019
Messages
4
Hi All,

I've created a spreadsheet with conditional formatting to colour the cell basedon the vale in the cell. I can’t for the life of me figure out how to in thenext cell input one of the 4 options based on the cells colour. Example:

All colours in cell are due to conditional formatting and will change dependenton value inputted.

If cell I3 is red I would like it to automatically inputKey Player
If cell I3 is yellow I would like it to automatically inputKeep Informed
If cell I3 is brown I would like it to automatically inputKeep Satisfied
If cell I3 is green I would like it to automatically inputMonitor

Thanks in advance for any help!

 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Hi & welcome to MrExcel.
What are the CF formulae for I3
 
Upvote 0
i think you may be better off using what ever formula you used for the conditional formatting to get the results you are looking for rather than trying to use VBA based on color. Would be a lot cleaner that way.
 
Upvote 0
My CF formula is using the ones created not my own specificformula
Cell Value between * =Key!$A$10* and * =Key!$A$13* equalsfilling the cell I3 with the desired colour correspondence to the value.



Because of the format of the data in the cellwhich is *Number – Number* I have many rules but they are all the same as abovejust different selected
 
Upvote 0
In that case you can use something like
=IF(AND(I3>=Key!A10,I3<=Key!A13),"key player","")
 
Upvote 0

Forum statistics

Threads
1,224,929
Messages
6,181,812
Members
453,067
Latest member
mdiz777

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