Highlight Row based on Several Criteria.

smoskowitz

New Member
Joined
Jul 21, 2010
Messages
10
Hello --

I am hopig somebody can help me figure this one out. Below is a list with titles, an ID, a Countif total that counted how many times the ID is in the column and an order of importance based on the list below.

Here's what I want to do:

I want to highlight the title with the lowest importance (the highest number) for each ID.

So using the below example, the formula would need to check and count all of the rows that have the same ID. After that it would need to evaluate the importance column and see which number for a particular ID is highest. I would expect to see the rows with the number 5 for importance highlighted for each ID. I have been racking my brain trying to figure this out using formulas, but can't seem to do it.

Title ID Count Importance
CONTROLLER 100000 3 5
CEO/MD 100000 3 1
CFO/FD 100000 3 2
CONTROLLER 105005 2 5
CFO/FD 105005 2 2



Title Order of Importance
CONTROLLER 5
CEO/MD 1
CFO/FD 2
OTHER - CFO 4
OTHER - CEO 3

Thanks for your help on this.

Seth
 
Last edited:

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
You can use conditional format for this.

Instead of 'Cell value is' you have to use 'Formula is'

Code:
=OFFSET(A1;0;1)=MAX($B$1:$B$5)

Add this code for conditional format of cell A1.

.. where column A holds titles and column B the importance numbers.

Success
 
Upvote 0
Could you please be more specific ?

Does it give you an error or do you meean an other result ?

In case it's an error you could try :
Code:
=OFFSET(A1,0,1)=MAX($B$1:$B$5)
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,741
Members
452,940
Latest member
rootytrip

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