CF with a differnce

hsandeep

Well-known Member
Joined
Dec 6, 2008
Messages
1,226
Office Version
  1. 2010
Platform
  1. Windows
  2. Mobile
In cell C1 I have done CF. C1=D1.
CF (in C1):
CF1: If cell value>0, back ground color1

Output required:
I want to check value in B1. B1 generates thr’ formula either of 1,2,3,4 or null.
If B1=either of 2 or 3, then
MODIFIED CF (in C1) required as:
back ground color2 if B1=2 with a text in C1 as “RUN”
back ground color3 if B1=3 with a text in C1 as “TAKE-OFF”
else
back ground color1 with C1=D1

Priority of CF as above.
I don't know whether this is possible or not. Thanks for having .....
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi Hsandeep

I used the following formula in cell c21 to retrieve "Run", "take-off" or the value in b21

IF(A21=2,"Run",IF(A21=3,"Take-off",B21))

cell A21 generates a random number between 0 and 4. if it is 2 my cell c21 shows run, if it is 3 c21 shows take-off else c21 shows the number (or anything else) in cell b21

I also used a conditional format for the different background colours according to the results

=$A$21=2 -> uses yellow
=$A$21=3 -> uses green
=or($a$21<2,$A$21>3) -> uses blue

I hope this could help you.

Vândalo
 
Upvote 0
Thanks ITWare2008. It WORKS. Moreover, splendid idea to achieve the goal. Thanks again.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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