Edit formula to show one match only

RAJESH1960

Banned for repeated rules violations
Joined
Mar 26, 2020
Messages
2,313
Office Version
  1. 2019
Platform
  1. Windows
Hello guys
With the formula shared by mikerickson, I have been able to get all the matched rows. What mikerickson, shared was what I asked for. In one of the other data, I came across this issue. Hence, this is a different query, since I faced an issue here.
When the Portal rows have more than 1 row of the same amount and Tally has only one row, then it shows all the rows as matched. Likewise, when the Tally rows has more than 1 row of the same amount and Portal has only one row, then too -it shows all the rows as matched. I need help to edit this formula in such a way that the formula will accept only one row in each case and show the remaining as #N/A.
Query Select one in Multiple common Amount match formula.xlsx
ABCDEFGHIJKLM
1LineAs PerID NO.ABC Gross Taxable IGST CGST SGST FormulaActual
21PORTAL27XBJXS4065R1XQ873.00740.00133.20--Matched
32PORTAL27XXXCI7904G1XN1,069.08906.00163.08--#N/AMismatch
43PORTAL29XECXB6064X1X52,596.002,200.00-198.00198.00#N/AMismatch
54PORTAL07XXQFK0196B1XD3,587.003,040.00547.20--Matched
65PORTAL27XBJXS4065R1XQ6,018.005,100.00918.00--Matched
76PORTAL27XBJXS4065R1XQ6,018.005,100.00918.00--MatchedMismatch
87PORTAL27XBJXS4065R1XQ6,018.005,100.00918.00--MatchedMismatch
98PORTAL27XBJXS4065R1XQ6,018.005,100.00918.00--MatchedMismatch
109PORTAL19XFSXX1499K1XF6,490.005,500.00990.00--Matched
1110PORTAL19XXCCX2016R1XI6,490.005,500.00990.00--#N/AMismatch
1211PORTAL27XBJXS4065R1XQ8,201.006,950.001,251.00--Matched
1312PORTAL27XBJXS4065R1XQ8,260.007,000.001,260.00--#N/AMismatch
1413PORTAL27XBJXS4065R1XQ9,411.007,975.001,435.50--#N/AMismatch
1514TALLY27XBJXS4065R1XQ873.00740.00133.20Matched
1615TALLY27XBJXS4065R1XQ873.00740.00133.20MatchedMismatch
1716TALLY29XDDXK6496J1XX2,596.002,200.00198.00198.00#N/AMismatch
1817TALLY07XXQFK0196B1XD3,587.003,040.00547.20Matched
1918TALLY27XBJXS4065R1XQ6,018.005,100.00918.00Matched
2019TALLY19XFSXX1499K1XF6,490.005,500.00990.00Matched
2120TALLY27XBJXS4065R1XQ7,571.006,416.001,154.88#N/AMismatch
2221TALLY27XBJXS4065R1XQ8,201.006,950.001,251.00MatchedMismatch
2322TALLY27XBJXS4065R1XQ8,201.006,950.001,251.00MatchedMismatch
2423TALLY27XBJXS4065R1XQ8,201.006,950.001,251.00MatchedMismatch
Match All
Cell Formulas
RangeFormula
L2:L24L2=IF(MATCH(1,((ABS(G2-$G$2:$G$23018)<=1))*(C2=$C$2:$C$23018)*(B2<>$B$2:$B$23018),0),"Matched","")
Press CTRL+SHIFT+ENTER to enter array formulas.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Just going through the old records, I found a similar issue which was solved. If I edit the formula and add G$2:G2,G3)+1)), maybe it will work. But where to add no idea.?
That query had IF, IFERROR, INDEX, COUNTIFS all included in one formula.
 
Upvote 0
Just going through the old records, I found a similar issue which was solved. If I edit the formula and add G$2:G2,G3)+1)), maybe it will work. But where to add no idea.?
That query had IF, IFERROR, INDEX, COUNTIFS all included in one formula.
As I was unable to get any response, I have shared this post in another forum.
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,673
Members
452,937
Latest member
Bhg1984

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