+ Reply to Thread
Results 1 to 8 of 8

Formula for finding Debits and Credits

  1. #1
    Registered User
    Join Date
    02-09-2012
    Location
    virigina
    MS-Off Ver
    2010
    Posts
    17

    Formula for finding Debits and Credits

    Good Morning All,

    I have a big project to do at work and I need to find all the debits and credits in the excel file for the particular account that they are in. I would do it manual but i have about 18000 line items which would take hours to go through. Is their a formula that can help me with this? They're are multiple duplicates in the file but i just want the debit and credits in the same account highlighted.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Formula for finding Debits and Credits

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook. Don't upload a picture when you have a workbook question. None of us is inclined to recreate your data. Upload the workbook and manually add an 'after' situation so that we can see what you expect. In addition clearly explain how you get the results..
    To attach a file to your post, you need to be using the main 'New Post' or 'New Thread' page and not 'Quick Reply'.
    To use the main 'New Post' page, click the 'Post Reply' button in the relevant thread.

    On this page, below the message box, you will find a button labelled 'Manage Attachments'.
    Clicking this button will open a new window for uploading attachments.

    You can upload an attachment either from your computer or from another URL by using the appropriate box on this page.
    Alternatively you can click the Attachment Icon to open this page.

    To upload a file from your computer, click the 'Browse' button and locate the file.

    To upload a file from another URL, enter the full URL for the file in the second box on this page.
    Once you have completed one of the boxes, click 'Upload'.

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,626

    Re: Formula for finding Debits and Credits

    Upload example how your file is ornagised (AVOID PRIVATE AND CONFIDENTIAL DATA)

  4. #4
    Registered User
    Join Date
    02-09-2012
    Location
    virigina
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for finding Debits and Credits

    Okay I just uploaded a dummy file. The debit and credit numbers are in column H. I need to match the positive number with the negative number i just wanted highlighted. Their can also be a duplicate of the same negative number which I dont need to worry about. As long as one positive and one negative number is highlighted. So in the end all the positve numbers that have duplicates should be highlighted. The debit and credit numbers also have to match the account name and account number which are in column G and F. Let me know if you need more information or if it's confusing. Sometimes my explanations can be a bit confusing
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-09-2012
    Location
    virigina
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for finding Debits and Credits

    Actually sorry the positive and negative number should be highlighted so in the end i will be left with only some negative numbers that are not highlighted here is an example of what I want it to look like. Sorry if I sound confusing

  6. #6
    Registered User
    Join Date
    02-09-2012
    Location
    virigina
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for finding Debits and Credits

    i uploaded the wrong document to show you an example of what it should look like. Here is it.
    Attached Files Attached Files

  7. #7
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,626

    Re: Formula for finding Debits and Credits

    Maybe this for Conditional formatting:

    =MOD(COUNTIFS(G:G,G2, F:F,F2, H:H,-H2), 2)>0

  8. #8
    Registered User
    Join Date
    02-09-2012
    Location
    virigina
    MS-Off Ver
    2010
    Posts
    17

    Re: Formula for finding Debits and Credits

    I just tried that and when i entered the formula, it didn't match up the debits and credits

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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