+ Reply to Thread
Results 1 to 4 of 4

Mutliple IF+VLOOKUP Formula help!

Hybrid View

  1. #1
    Registered User
    Join Date
    01-08-2016
    Location
    London
    MS-Off Ver
    2012
    Posts
    23

    Mutliple IF+VLOOKUP Formula help!

    Hi!

    I am new here, so apologies in advance if I miss any info you peeps may require:

    =IF(Q27="","",IF(R27="",VLOOKUP(Q$27,'Formula Data'!A14:Z38,13,FALSE),(Q$27,'Formula Data'!A14:Z38,13,FALSE)*R27))

    If Q27 is empty, I want my cell (that I am formulating from) to be empty. If it is not empty then I want it to look into R27, if R27 is empty, then I want my cell to have basic vlookup in from Q27, and if R27 is not empty, then I want the vlookup from Q27 multiplied by R27.

    Thank you!

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

    Re: Mutliple IF+VLOOKUP Formula help!

    You almost had it, you just left of the actual vlookup from the last one..

    =IF(Q27="","",IF(R27="",VLOOKUP(Q$27,'Formula Data'!A14:Z38,13,FALSE),VLOOKUP(Q$27,'Formula Data'!A14:Z38,13,FALSE)*R27))

  3. #3
    Registered User
    Join Date
    01-08-2016
    Location
    London
    MS-Off Ver
    2012
    Posts
    23

    Re: Mutliple IF+VLOOKUP Formula help!

    Omg! -_-

    So stupid of me, thanks!! :P

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

    Re: Mutliple IF+VLOOKUP Formula help!

    You're welcome.

    You can improve that a bit by re-arranging how/where the 2nd if checks for R27 being blank.
    So long as the result of the vlookup is always a number, regardless if R27 is blank or not.

    =IF(Q27="","",VLOOKUP(Q$27,'Formula Data'!A14:Z38,13,FALSE)*IF(R27="",1,R27))

+ 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. formula to use mutliple percentages
    By firefairy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-02-2014, 01:26 PM
  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. Formula to count mutliple values
    By kmarees1986 in forum Excel General
    Replies: 4
    Last Post: 11-23-2011, 12:05 PM
  6. vlookup with mutliple criteria
    By raghavfastest in forum Excel General
    Replies: 6
    Last Post: 01-29-2010, 08:14 AM
  7. VLookup Mutliple
    By SMiLEy1989 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 05-23-2007, 05:35 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