confused about contra entries formula

kingjet

New Member
Joined
Apr 30, 2024
Messages
20
Office Version
  1. 365
Platform
  1. Windows
column A: has invoice numbers but they have duplicates too so invoice numbers 12345, 12345, 123455 etc

then they have debit credit figures etc

what formula can i use to see which invoice number has the contra

i want to put this in column b

so client A invoice number is 12345 100

but another client 13456 -100

if i do a basic formula it will tell me that the 100 matches with -100 but they are two different clients i want it to based on the invoice number as opposed to only numbers

there are duplicate invoice numbers so theres an issue there too
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: what is the best formula for this contra entries? abit confused
There is no need to repeat the link(s) provided above but if you have posted the question at other places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
No need to delete the thread.
 
Upvote 0
no it is a different query same file different queryt can you reopen my othe rthread please
 
Upvote 0
Hello

i think i had a good contra formula based on my columns I to L

they basically look at the value and then tell me if there is a same value elsewhere

so if you look at column L all the 2's mean there is a contra entry, which seems fine but it isnt

because if you look at row 2 and row 9

they are two different customers John and Gabby

1. can someone maybe tell me a better contra entry formula?
2. maybe i can add an IF statement somewhere to let me know if its the same customer?

i only want to see a 2 if the customer is the same otherwise it is not a contra
 

Attachments

  • without formulas.PNG
    without formulas.PNG
    51.8 KB · Views: 1
  • with formulas.PNG
    with formulas.PNG
    64.2 KB · Views: 1
Upvote 0

Forum statistics

Threads
1,216,058
Messages
6,128,538
Members
449,456
Latest member
SammMcCandless

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