Closed Thread
Results 1 to 2 of 2

how to get the difference in value of two columns with reference to another column

  1. #1
    Forum Contributor
    Join Date
    09-19-2017
    Location
    Taguig City, Philippines
    MS-Off Ver
    Microsoft Excel 2016
    Posts
    120

    how to get the difference in value of two columns with reference to another column

    Hi,

    Hope someone could help me out with my attached spreadsheet. Basically I just need to autopopulate the amounts in column H.

    As you can see in columns A-D, i have the details. And in order to get the value for column H, I need to

    1. Lookup the account that I need using the acct code.
    2. Return in column H the value of that code. The value is the amount in column D less the amount in column C.
    3. You may notice that Car Expenses in column H is a combination of accounts 200.00-600.00, so I would also need the formula to be able to identify the codes in between.

    Hope this makes sense and hope someone could help me out.

    Thank you!.
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: how to get the difference in value of two columns with reference to another column

    Welcome to the Forum, unfortunately this is a duplicate post and as such will now be closed, you may continue in your other thread.

    Thread Closed.

    https://www.excelforum.com/excel-gen...criterias.html

    Also, please do not use more than 1 ID on the forum
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Compare two columns and show only the difference in the third column
    By DanzaNZ in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 12-13-2017, 03:07 AM
  2. [SOLVED] Compare 2 columns with 1 column and highlight difference
    By pradeepdeepu_001 in forum Excel General
    Replies: 3
    Last Post: 12-15-2016, 02:11 AM
  3. [SOLVED] First column as reference, rest of columns as listing to reference
    By samuroeh in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-19-2016, 02:05 PM
  4. [VBA] Comparing two columns and pasting the difference into a third column
    By hydroid in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 02-06-2012, 06:29 PM
  5. How to compare two columns and print the difference in third column
    By ssing202 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 12-06-2011, 01:45 AM
  6. Replies: 4
    Last Post: 07-26-2005, 10:05 PM

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