Identify multiple rows?

welshgasman

Well-known Member
Joined
May 25, 2013
Messages
1,395
Office Version
  1. 2019
  2. 2007
Platform
  1. Windows
Hi all,

My boss wants me to try and work out a way of highlighting all rows except the first for a certain criteria.

I have a column that holds a unique key, and this can be repeated for as many rows as necessary. I can easily add a COUNTIF to get the number of rows for that key, that is one item we do need.
What he also wants is to leave the first row alone, but highlight in some way the other rows.?

Does anyone have some tips on how I might achieve this please?

TIA
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Hi sheetspread,
Sorry, I do not understand. All the rows will be visible, each row will have the same number in a column due to the CountIf function.
I am looking for some way to determine that for 3 rows each will have 3 in the column, but the last two rows, need to ne highlighted in some way. That i can probably do, it is the function/process to identify all but the first row for a common set of rows (as identified by the unique key).
 
Upvote 0
Are you trying to just highlight the duplicates? Then change the end cell of the countif reference to relative (cumulative), filter <2, and use the Go To method:


Excel 2010
AB
1Unique KeyCount
211
312
413
514
621
722
831
941
1042
1143
1244
1345
1451
1552
1661
1762
1863
1964
2071
2172
2273
2374
Sheet9
Cell Formulas
RangeFormula
B2=COUNTIF($A$2:A2,A2)


(can be done with conditional formatting also)

If this still isn't what you want, show me a small data sample with before/after results
 
Last edited:
Upvote 0
Nope, you've cracked it, that is what he is looking for, or so I believe

Thank you.
I was thinking a running count might do it and was going to try that tomorrow when in work, but you have confirmed it, and I would have still had to work out how to do a running count, and you have shown me how.

Thanks again.:cool:
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,616
Members
452,661
Latest member
Nonhle

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