Conditional Formatting?

faeryluv

New Member
Joined
Sep 1, 2018
Messages
47
Hi, everyone! I have what I think is an easy question. I have a spreadsheet where column A is route numbers, and column B is item numbers. I need to highlight rows that have the identical route number and item number.

Example
Row 1: route 1 item D4
Row 2: route 1 item C3
Row 3: route 1 item D4

I need row 1 and row 3 to be highlighted. I have 4,217 rows.

Thanks in advance!
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Assuming your data starts in A2, select A2:B last row & use this formula
=COUNTIFS($A:$A,$A2,$B:$B,$B2)>1
 
Upvote 0
Another question, if you don't mind...

I'm using the Subtotal function, and that works good for what I'm doing, however, I don't need all the extra rows.

Without the Subtotal function, I'm manually adding up the duplicate orders and then deleting the extra rows.

Example
Row 1: route 1 item D4 order 50
Row 2: route 1 item D4 order 25

In this case, I manually replace "50" with "75", then I manually delete Row 2. I have thousands like that so it takes hours to do. I need a faster way.

Any advice is much appreciated!!
 
Upvote 0

Forum statistics

Threads
1,213,538
Messages
6,114,218
Members
448,554
Latest member
Gleisner2

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