Closed Thread
Results 1 to 11 of 11

what is the best formula for this contra entries? abit confused

  1. #1
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    what is the best formula for this contra entries? abit confused

    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

  2. #2
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    Re: what is the best formula for this contra entries? abit confused

    and the fact the there are duplicate invoice numbers maybe an issue too

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,214

    Re: what is the best formula for this contra entries? abit confused

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    Re: what is the best formula for this contra entries? abit confused

    ok ill attach a file but its just got one column with invoice numbers and one with the amounts

    column A has all the invoice numbers it has duplciate invoice numbers too

    column b has the debits and credits

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,214

    Re: what is the best formula for this contra entries? abit confused

    I would rather see a sample of your data before helping.

  6. #6
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    Re: what is the best formula for this contra entries? abit confused

    ok but i have client data on it so i need to change it abit before i can send

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,214

    Re: what is the best formula for this contra entries? abit confused

    OK. In the meantime ...

    Administrative Note:

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not told us about this. You are required to do so. Cross-posts are allowed but you must provide a link to your posts on other sites.

    Please see Forum Rule #7 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important: https://excelguru.ca/a-message-to-forum-cross-posters/

    (Note: this requirement is not optional. No help to be offered until you provide a link or, for members with fewer than 10 posts, a comment telling us where else you have posted this query.)

  8. #8
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    Re: what is the best formula for this contra entries? abit confused

    o i ahve attacehd the file

    i had to take client names out

    if you filter on sum 995

    you will see a load of 995 and some -995

    my question is if its bases the formula on numbers only it will look at the numbers but i have different clients

    so i ideally want to see the formula maybe say like true of false

    e.g. gabby may have 995 and a -995

    lets say aj has -995

    what if gabbsy positive 995 contras aj's -995


    because alot of the formulas just look at the numbers so they will contra any number that matches
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-14-2023
    Location
    usa
    MS-Off Ver
    365
    Posts
    48

    Re: what is the best formula for this contra entries? abit confused


  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,214

    Re: what is the best formula for this contra entries? abit confused

    Thank you. Please read post #3 again, in particular:

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. The sample layout accurately matches that of your real data. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2407 (Windows 11 23H2 64-bit)
    Posts
    83,214

    Re: what is the best formula for this contra entries? abit confused

    Is this the same question?

    https://www.excelforum.com/excel-gen...ght-thing.html

    Administrative Note:

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #2 about thread duplication.

    I am closing this thread, but you may continue here in the original thread.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Extract line items that are not contra
    By sekharks in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-05-2022, 06:18 AM
  2. [SOLVED] Formula to determine which values Contra each Other
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-05-2021, 10:02 AM
  3. Excel Formula/VBA-Conditional Sum to find contra from multiple entries
    By Miratshah in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-11-2019, 07:01 AM
  4. Contra items - multiple lines
    By RossInk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-13-2015, 03:33 PM
  5. Macro to identify contra entries and then preparing summary for same
    By caavimak in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-06-2012, 01:04 AM
  6. Replies: 1
    Last Post: 10-03-2012, 10:32 PM
  7. [SOLVED] Macro executes but not giving results :confused::confused::confused:
    By Ganesh7299 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-15-2012, 10:49 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1