Lookup Duplicate Values

Sufiyan97

Well-known Member
Joined
Apr 12, 2019
Messages
1,614
Office Version
  1. 365
  2. 2013
Platform
  1. Windows
Hello all,

I am using below formula to lookup duplicate values but not getting the result

need help in this

Book1
EFGHI
1A1 AmountA1 DateB1 AmountDate
2-5448.2207/16/2018-5,448.2205/29/2018Not Getting This I need Both this and next one
3-5448.2207/16/2018-5,448.2207/16/2018
4-2198.2401/08/2018-2,198.2407/06/2017Not Getting This I need Both this and next one
5-2198.2401/08/2018-2,198.2401/08/2018
6-50006/20/2020-500.0002/13/2018Not Getting This I need Both this and next one
7-50006/20/2020-500.0006/20/2020
8-47502/14/2020-475.0011/11/2019Not Getting This I need Both this and next one
9-47502/14/2020-475.0002/14/2020
10-64.8811/08/2019-64.8803/07/2017Not Getting This I need Both this and next one
11-64.8811/08/2019-64.8811/08/2019
12-58.5211/30/2018-58.5202/08/2018Not Getting This I need Both this and next one
13-58.5211/30/2018-58.5211/30/2018
14-296.5512/15/2016-296.5511/10/2016Not Getting This I need Both this and next one
15-296.5512/15/2016-296.5512/15/2016
16-193.9010/10/2020-193.9009/23/2017Not Getting This I need All of them
17-193.9010/10/2020-193.9007/30/2019
18-193.9010/10/2020-193.9010/12/2019
19-193.9010/10/2020-193.9002/06/2020
20-193.9010/10/2020-193.9010/10/2020
Sheet1
Cell Formulas
RangeFormula
F2:F20F2=IFERROR(INDEX($H$2:$H$20,AGGREGATE(15,6,(ROW($H$2:$H$20)-ROW($H$2)+1)/($G$2:$G$20=E2),COUNTIF(E$2:E20,E2))),"-")
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi Alifufarni,

Try COUNTIF(E$2:E2,E2) instead of COUNTIF(E$2:E20,E2)
 
Upvote 0
Solution

Forum statistics

Threads
1,224,816
Messages
6,181,141
Members
453,021
Latest member
Justyna P

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