+ Reply to Thread
Results 1 to 5 of 5

Mutliple IF and vlookup

  1. #1
    Registered User
    Join Date
    08-23-2018
    Location
    Houston, Texas
    MS-Off Ver
    2013 pro plus
    Posts
    73

    Mutliple IF and vlookup

    I feel like this is simple but I am missing something very easy here.

    I am trying to plug in a formula which basically says IF a cell = something then vlookup, but i need to do this multiple times.

    So for example the cell is a drop down with 3 options, so if it says "blue" then the vlookup is based of blue tab, but if it says "red" its based of a red tab.

    this is what i have right now but am getting #value

    =IF($A$3="Sales",VLOOKUP(A5,Sales!$A$43:$I$67,9,FALSE),"no")*$D$1,IF($A$3="Risk",VLOOKUP(A5,Fixed_Risk!$A$43:$I$67,9,FALSE),"no")*$D$1

    thanks all

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Mutliple IF and vlookup

    Maybe (untested):
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    08-23-2018
    Location
    Houston, Texas
    MS-Off Ver
    2013 pro plus
    Posts
    73

    Re: Mutliple IF and vlookup

    Thanks!

    and if i wanted to add a third component to this drop would it it look like this?

    =IFERROR(IF($A$3="Sales",VLOOKUP(A5,Sales!$A$43:$I$67,9,FALSE),IF($A$3="Risk",VLOOKUP(A5,Fixed_Risk!$A$43:$I$67,9,FALSE),IF($A$3="Legal",VLOOKUP(A5,Fixed_Legal!$A$43:$I$67,9,FALSE),0))*$D$1, "no"))


    appreciate the help!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Mutliple IF and vlookup

    Yes, but this last bit needs an extra closing bracket: 0))*$D$1, = > 0)))*$D$1,

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,630

    Re: Mutliple IF and vlookup

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ 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. Mutliple IF+VLOOKUP Formula help!
    By Clanty in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2016, 10:10 AM
  2. vlookup (or similar) results where there are mutliple matches
    By kmfdm515 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-31-2013, 10:33 AM
  3. Trouble with Index/Match and/or Vlookup and mutliple column matching
    By eralford in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-03-2012, 08:32 AM
  4. Macro to consolidate the data from mutliple files using Vlookup / Match
    By pradeepkodali in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 03-08-2012, 01:46 PM
  5. vlookup with mutliple criteria
    By raghavfastest in forum Excel General
    Replies: 6
    Last Post: 01-29-2010, 08:14 AM
  6. VLookup Mutliple
    By SMiLEy1989 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-23-2007, 05:35 PM
  7. sum of mutliple products
    By JR573PUTT in forum Excel General
    Replies: 6
    Last Post: 02-28-2007, 07:08 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