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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
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,214,581
Messages
6,120,368
Members
448,957
Latest member
BatCoder

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