Need a life savor

SueC

New Member
Joined
Jan 12, 2005
Messages
10
Hi ... I have a file with 10 columns. One column (H) have numeric values and one with a reference number(J). I need to identify all the rows that have a common debit(plus) and credit(minus) with the same reference number. U have looked all over the site and can't seem to find what I am looking for. I do this manually every month, but the file just continues to grow with each period, so it is becoming cumbersome.

Hope there is a savior out there for me!

Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
When you say common number, do you mean +100 and -100 is a match or +100 and any negative is a match to be flagged?
 
Upvote 0
Create 2 additional columns (e.g., K & L) with...

K2: =J2&","&ABS(H2)
L2: =COUNTIF($range,K2)

Where $range is an absolute reference from K2 to last row in K. Fill these formulas down to the last row. Apply and AutoFilter on column L for cell values >1.
 
Upvote 0
Mark W. said:
Create 2 additional columns (e.g., K & L) with...

K2: =(J2&","&H2)
L2: =COUNTIF(range,K2)

Where range is K2 to last row in K. Fill these formulas down to the last row. Apply and AutoFilter on column L for cell values >1.

I would change this suggestion slightly
K2: =(J2&","&abs(H2))

HTH
texasalynn
 
Upvote 0
texasalynn said:
Mark W. said:
Create 2 additional columns (e.g., K & L) with...

K2: =(J2&","&H2)
L2: =COUNTIF(range,K2)

Where range is K2 to last row in K. Fill these formulas down to the last row. Apply and AutoFilter on column L for cell values >1.

I would change this suggestion slightly
K2: =(J2&","&abs(H2))

HTH
texasalynn

Already, did.
 
Upvote 0
Mark -- if you do ABS in the concatenated column, you'll find a match between +100 and +100 wouldn't you?

Was thinking something like -

=--ISNUMBER(MATCH(B2&":"&A2,B$2:B$10&":"&(A$2:A$10*-1),0))

BUT, use *-1 in the concatenated column, and substitute to -

=--ISNUMBER(MATCH(B2&":"&A2,X$2:X$10),0))

Where X2 is

==B2&":"&A2*-1
 
Upvote 0

Forum statistics

Threads
1,214,416
Messages
6,119,384
Members
448,889
Latest member
TS_711

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