+ Reply to Thread
Results 1 to 8 of 8

Value return from two column comparison

  1. #1
    Registered User
    Join Date
    10-22-2012
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Value return from two column comparison

    Thanks to anyone who can help me!

    I work for a medical practice, and I'm trying to quickly find the payments of our contractual reimbursements based on the insurance name and CPT (procedure code). Hopefully I'll explain this clearly...I have a spreadsheet where I'm trying to get a return value if two columns of criteria are selected/compared.

    On the first worksheet I have a mixture of all of our procedures billed for the year (over 18,000 rows). IE -
    Aetna 99214
    Aetna 31231
    Aetna 92511

    On the second worksheet I have what we should be paid from those insurance companies for each procedure. IE -
    Aetna 99214 $175
    Aetna 31231 $350
    Aetna 92511 $300

    What formula can I use to quickly lookup the reimbursement we should have received?

    Thanks again for your help!

  2. #2
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Value return from two column comparison

    How about the VLOOKUP or INDEX and MATCH

  3. #3
    Registered User
    Join Date
    10-22-2012
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Value return from two column comparison

    Well, I think the problem is that I'm an idiot. Every formula I've input fails, and I'm not sure what I'm doing wrong.

  4. #4
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Value return from two column comparison

    Have a look at these links, if you still have a problem, post a spread sheet with some dummy data.

    VLOOKUP

    INDEX and MATCH

  5. #5
    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
    53,048

    Re: Value return from two column comparison

    if you are trying to look INTO your 2nd table, and return a value to your 1st table, use this...
    =VLOOKUP(B1,$B$6:$C$8,2,FALSE)
    this assumes that the procedure code will always be unique
    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

  6. #6
    Registered User
    Join Date
    10-22-2012
    Location
    Chicago, Illinois
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Value return from two column comparison

    I appreciate the input so far, but I'm still not getting valid results.

    I've uploaded a dummy document. I'd like to pull the "Contractual Payment" data from the "Contractual" Tab for the corresponding data in the "CPT" Tab.

    Thanks for the help!
    Attached Files Attached Files

  7. #7
    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
    53,048

    Re: Value return from two column comparison

    thats because the "numbers" in sheet1 are actually text that just looks like a number. highlight that entire range of "numbers", scroll back up to the top and you will see little yellow "warning" label. click on that and select 'convert to number", then try again

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Value return from two column comparison

    Hi mwsc

    As FDibbins points out, the numbers in the CPT column on the CPT sheet are text, so you need to convert those numbers.
    See attached sheet, VLOOKUP in column E + INDEX and MATCH in column F.
    Attached Files Attached Files

+ 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