+ Reply to Thread
Results 1 to 3 of 3

Vlookup in multiple areas

Hybrid View

jayna.kozak Vlookup in multiple areas 07-23-2013, 12:51 PM
Ron Coderre Re: Vlookup in multiple areas 07-23-2013, 01:49 PM
jayna.kozak Re: Vlookup in multiple areas 07-23-2013, 03:35 PM
  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    Edmonton, AB
    MS-Off Ver
    Excel 2010
    Posts
    2

    Vlookup in multiple areas

    Hello Excel community!

    I've tried searching for an answer to my specific issue an have not had any luck yet.

    What I have is an Audit template where there are 3 different areas that a result can be located in. They are:
    B9:T31, V10:AF16 and V20:AF22.

    What I have is a "Results" page where if the claim number is entered, it does a vlookup in the sheet and brings back the resulting deduction. This is what I have for the formula so far:

    =IF(C8>0,IF(ISERROR(VLOOKUP(C8,Audit!$B$9:$T$31,19,)),(8-VLOOKUP(C8,Audit!$V$10:$AF$16,11,))/694,(28-VLOOKUP(C8,Audit!$B9:$T31,19,))/694)," ")

    And this is working . . . kinda. It is only referencing the first two sections, and I don't know how to incorporate the other section.

    So, I need to know how to incorporate the third section, which needs to be a 6-vlookup(C8,Audit!$V$20:$AF$22. Thoughts? Or is there a better way to do this?

    Audit sample with percentage deductions.xlsm

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Vlookup in multiple areas

    Using your posted workbook...
    This regular formula seems to return the results you're looking for
    Formula: copy to clipboard
    D8: =IF(C8>0,
    IFERROR(VLOOKUP(C8,Audit!$B$9:$T$31,19,0),
    IFERROR((8-VLOOKUP(C8,Audit!$V$10:$AF$11,11,0))/694,
    IFERROR((28-VLOOKUP(C8,Audit!$V$15:$AF$16,11,0))/694,
    IFERROR((6-VLOOKUP(C8,Audit!$V$20:$AF$23,11,0))/694,"No Results")))),"Not > 0")


    Copy that formula down as far as you need.

    Is that something you can work with?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Registered User
    Join Date
    07-02-2013
    Location
    Edmonton, AB
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Vlookup in multiple areas

    I was able to make that work for me.

    Thanks so much Ron!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Count rows between two areas in a collection/selection of multiple areas
    By JTwrk in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-02-2012, 10:38 AM
  2. freezing multiple areas within a worksheet?
    By driggers in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-04-2007, 03:07 AM
  3. Multiple print areas
    By grahammal in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2006, 11:30 AM
  4. Multiple plot areas
    By Katie in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-16-2005, 06:40 PM
  5. [SOLVED] Set Multiple Print Areas
    By James Hamilton in forum Excel General
    Replies: 1
    Last Post: 06-22-2005, 01:03 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