Conditional formatting

rjc4

Well-known Member
Joined
Nov 6, 2004
Messages
502
Hi All,

I have a combination of numbers and letters and blank cells in the range A8:A31.

Using conditional formatting can I highlight in say green, the 5 lowest numbers in the range.

Thanks,
RC
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
This range is only part of my spreadsheet and as I'm using VLookups elsewhere in the sheet, I'm running into trouble using the sort function. If I can avoid sorting here it would save me further headaches in developing the sheet. Maybe there is no way to do it via conditional formatting. Was just a hope.

Thanks anyway,
Cheers
RC


venkat1926 said:
only 24 cells. why not sort and green the 5 lowest
 
Upvote 0
This range is only part of my spreadsheet and as I'm using VLookups elsewhere in the sheet, I'm running into trouble using the sort function. If I can avoid sorting here it would save me further headaches in developing the sheet. Maybe there is no way to do it via conditional formatting. Was just a hope.

Thanks anyway,
Cheers
RC


venkat1926 said:
only 24 cells. why not sort and green the 5 lowest
 
Upvote 0
rjc4

Try this.

1. Select A8:A31.
2. Format|Conditional Formatting...|Formula Is: =RANK(A8,$A$8:$A$31,1)<=5
3. Click 'Format' and select your colour.
4. OK, OK
 
Upvote 0
Hi Peter,

Exactly what I was after. Thanks heaps for your help.
Kind regards,
Rick


Peter_SSs said:
rjc4

Try this.

1. Select A8:A31.
2. Format|Conditional Formatting...|Formula Is: =RANK(A8,$A$8:$A$31,1)<=5
3. Click 'Format' and select your colour.
4. OK, OK
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,779
Members
449,049
Latest member
greyangel23

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