CONDITIONALLY FORMAT A SPECIFIED NUMBER (BUT NOT ALL) OF ROWS MATCHING A NUMBER CRITERIA

Mr_Phil

Board Regular
Joined
May 28, 2018
Messages
142
Office Version
  1. 365
I get two reports.
One is parts details
One is a summary that shows parts open for shipment.
I might have details on 30 parts but only 5 are ready to ship. \
So I want to highlight the first 5 of the 30 so I can quickly set up shipping.
Everytime I set down to do it I think I can countif it and it ends up all or nothing.
I've pulled out all my hair. Please take pity on a bald guy... Thank you very much for looking.

1665175446550.png
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
It is much easier to get helpers if you provide your sample data in a form that can be copied for testing.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

See if this is what you want.

22 10 08.xlsm
ABCDEFGHIJ
1
2PARTPART #LOACATIONITEM
3Part APart A1
4Part APart B4
5Part B
6Part B
7Part B
8Part B
9Part B
10Part B
11Part B
CF Parts
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3:C11Expression=COUNTIF($A$3:$A3,$A3)<=VLOOKUP($A3,$I$3:$J$10,2,0)textNO
 
Upvote 0
Solution
It is much easier to get helpers if you provide your sample data in a form that can be copied for testing.
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.

See if this is what you want.

22 10 08.xlsm
ABCDEFGHIJ
1
2PARTPART #LOACATIONITEM
3Part APart A1
4Part APart B4
5Part B
6Part B
7Part B
8Part B
9Part B
10Part B
11Part B
CF Parts
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A3:C11Expression=COUNTIF($A$3:$A3,$A3)<=VLOOKUP($A3,$I$3:$J$10,2,0)textNO
Thank you for your help. I will be sure to install it and use it in the future.
 
Last edited:
Upvote 0
You're welcome. Thanks for the follow-up.
 
Upvote 0

Forum statistics

Threads
1,215,514
Messages
6,125,273
Members
449,219
Latest member
daynle

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