Conditional Formatting with 3 formats

Bluecalc

New Member
Joined
Oct 22, 2020
Messages
5
Office Version
  1. 365
Platform
  1. Windows
I need to make my table reflect this info:
1 column has the percentages and the other one is blank, can someone help? please

Segment 1 = 0-80%
Segment 2 = 81%-100%
Segment 3 = >100%


So the blank one should show which segment each percentage falls into.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Not sure if you mean it should return the segment name or if you need something else, but if it is the names you want this can be done with a IF-function like this:
Excel Formula:
=IF(A1<=80%;"Segment 1";IF(A1<100%;"Segment 2"; "Segment 3"))
 
Upvote 0
I got this message :(
 

Attachments

  • Screenshot (15).png
    Screenshot (15).png
    11.6 KB · Views: 6
Upvote 0
Not sure if you mean it should return the segment name or if you need something else, but if it is the names you want this can be done with a IF-function like this:
Excel Formula:
=IF(A1<=80%;"Segment 1";IF(A1<100%;"Segment 2"; "Segment 3"))
I got this message :(
 

Attachments

  • Screenshot (15).png
    Screenshot (15).png
    11.6 KB · Views: 3
Upvote 0
oh thank you!

=IF(J7<=80%,"Segment 1",IF(J7<100%,"Segment 2",IF(J7>=100%,"Segment 3")))

that's the one! :D
Not sure if you mean it should return the segment name or if you need something else, but if it is the names you want this can be done with a IF-function like this:
Excel Formula:
=IF(A1<=80%;"Segment 1";IF(A1<100%;"Segment 2"; "Segment 3"))
 
Upvote 0
=IF(J7<=80%,"Segment 1",IF(J7<100%,"Segment 2",IF(J7>=100%,"Segment 3")))

that's the one! :D
That doesn't seem to be to do with Conditional Formatting per your title thread, but this should produce the same results as the formula you have given

Excel Formula:
="Segment "&MATCH(J7,{0,0.800001,1})
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,844
Members
449,051
Latest member
excelquestion515

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