+ Reply to Thread
Results 1 to 9 of 9

Vlookup formula assistance

  1. #1
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Vlookup formula assistance

    Hi All

    I have attached a file for your perusal.

    My Vlookup formula in Stage 1 document cell D51 keeps throwing a error if the option chosen in cell C50 is "double" anything".

    It works fine when "single" or "triple" is chosen.

    I'm confused......Please help!!!!!!
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Vlookup formula assistance

    So are we!!! Have you attached the correct file?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Vlookup formula assistance

    Hi Glenn

    Oops that might help
    Attached Files Attached Files

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup formula assistance

    You need to use FALSE as the 4th argument of the Vlookup.

    OR

    Sort the data on the Drop Down Info Sheet
    Range B53:I64 in Ascending order by column B.
    Last edited by Jonmo1; 01-07-2016 at 02:08 PM.

  5. #5
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Vlookup formula assistance

    Hi Jonmo1

    Of course, how silly of me....Brain gets this way after hours and hours of coding and formulas.

    Thanks a stack.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup formula assistance

    You're welcome.

  7. #7
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Vlookup formula assistance

    Hi Jonmo1

    Quick question with the same workbook.

    Is there a simpler way to express the following formula which works well:

    =IF(AND(D50>3.1,D50<=6),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,3),IF(AND(D50>6.1,D50<=9),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,4),IF(AND(D50>9.1,D50<=12),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,5),IF(AND(D50>12.1,D50<=15),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,6),IF(AND(D50>15.1,D50<=18),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,7),IF(AND(D50>18.1,D50<=24),VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,8),0))))))

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Vlookup formula assistance

    Try

    =IFERROR(VLOOKUP(C50,'DROP DOWN INFO AND PRICING'!B53:I64,MATCH(D50,{3.1,6.1,9.1,12.1,15.1,18.1,24.1})+2),0)

  9. #9
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Vlookup formula assistance

    Pure genius Jonmo1

    Works like a charm...I'm learning so much from this Forum...You guys are absolutely amazing....
    Thanks again

+ 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. IF and VLookUp Formula, Need Assistance in correct Formula
    By Buzz1423 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-10-2015, 08:43 AM
  2. [SOLVED] IF and Vlookup Formula Assistance Please!
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-10-2015, 05:57 AM
  3. Vlookup/If formula assistance
    By Jess0121 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-18-2014, 03:18 PM
  4. [SOLVED] Assistance with my VLOOKUP Formula....Please help...
    By dmejia174 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-09-2013, 08:52 PM
  5. [SOLVED] Assistance with PTO Accrural Possible VLOOKUP Formula
    By bwelter in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-10-2013, 10:00 PM
  6. vlookup formula assistance
    By jman667 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-03-2013, 04:58 PM
  7. Replies: 2
    Last Post: 04-05-2010, 05:13 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