How do I revised the formula in cell L2 to do the opposite and display ONLY the duplicates?

arthurz11

Board Regular
Joined
Nov 9, 2007
Messages
162
Office Version
  1. 2021
Platform
  1. Windows
I want to display the opposite of what the formula does. How do I revised the formula to display the duplicates and not display the ones that are not duplicated?
So on the first roll is should be just -2,-7, row 2 should be blank, row 3 should be blank, and row 4 should be -6,-2.
Picture1.png
 

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"
COUNTIF, or COUNTIFS with more than one condition?

If COUNTIF of cell A2 is >1, you can indicate if each cell on the row in the first table is a lone value or not. You have to use $ symbols to lock the row range in the table you are refering to, if you are going to drag the formulas to other rows/cells.

Can't comment on your existing formula without access to Excel at the moment.
 
Upvote 0
Would you please be so kind as to let me know when you can? I really appreciated.
 
Upvote 0
Why isn't the result for the second row -3 and the result for the third row 0?
 
Upvote 0
COUNTIF, or COUNTIFS with more than one condition?

If COUNTIF of cell A2 is >1, you can indicate if each cell on the row in the first table is a lone value or not. You have to use $ symbols to lock the row range in the table you are refering to, if you are going to drag the formulas to other rows/cells.

Can't comment on your existing formula without access to Excel at the moment.
Would you please be so kind as to let me know when you can? I really appreciated.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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