Conditional formatting for non-alphabetic data

dbbath

New Member
Joined
Jul 24, 2017
Messages
1
Hi there,


I have managed to sort some data according to non-alphabetical criteria. Specifically, I have sorted a range of data for children's attainment levels where 4E (year 4 emerging) comes before 4D (year 4 developing), which comes before 4S (year 4 secure), etc. So I have used 'Custom List' to insert the levels, like this: 3E, 3D, 3S, 4E, 4D, 4S.


Is there a way to use the same principle in conditional formatting? For example, if column B has data for each child for July and column C has data for September, I'd like Excel to highlight in column C the levels that have gone down (e.g. from 3S to 3D), the ones that have stayed the same, and the ones that have improved (e.g. from 3S to 4E).


Thank you in advance.

All the best,


David
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
Hello,

One possible way, probably not the best way, is to have a table with your data with a column to the right i.e.

3E 1
3D 2
3S 3
etc..

you could then use a VLOOKUP formula to check for a higher/lower value and colour as required.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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