+ Reply to Thread
Results 1 to 6 of 6

VLOOKUP & IF Conditions Together ?

  1. #1
    Forum Contributor
    Join Date
    06-03-2010
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    Excel 2013
    Posts
    135

    VLOOKUP & IF Conditions Together ?

    hi to all experts,

    here I want a formula in cell C7 according to Table1, Table2, Table3, Table4 & table 5. which is if C7
    is equal to Dia 75 than take data from Table 2 i.e. 0.112 through VLOOKUP & same thing I want with condition IF.

    i tried to make something but i failed in this regard i attached a sheet for your kind reference.

    thanks & regards,,,,


    Irfan Khan
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: VLOOKUP & IF Conditions Together ?

    Use..

    =VLOOKUP(D7,IF(C7=50,$O$7:$P$9,IF(C7=75,$O$14:$P$17,IF(C7=110,$O$22:$P$33,IF(C7=160,$O$38:$P$49,IF(C7=200,$O$54:$P$63))))),2,FALSE)

    Also, ensure that your numbers in your tables are formatted as numbers and not text
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: VLOOKUP & IF Conditions Together ?

    Hello

    In your tables some are numbers some are numbers treated as text.

    click on the values say Table1 1 is text not number--

    you have to change first all the table with numbers then center align notice the '1 before the numbers...
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  4. #4
    Forum Contributor
    Join Date
    06-03-2010
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    Excel 2013
    Posts
    135

    Re: VLOOKUP & IF Conditions Together ?

    thanks for reply,

    @ Ace_XL : as per your reply i applied formula which is = =VLOOKUP(D7,IF(C7=50,$O$7:$P$9,IF(C7=75,$O$14:$P$17,IF(C7=110,$O$22:$P$33,IF(C7=160,$O$38:$P$49,IF(C7=200,$O$54:$P$63))))),2,FALSE)
    & also checked my table & converted all of them to text to numbers.

    After applying your formula : it is just picking the values from Table 2.
    Pls tell me alternate or try to execute this formula yourself in attached excel sheet.


    waiting for your response....

    Irfan Khan

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: VLOOKUP & IF Conditions Together ?

    Works for me..see attached
    Attached Files Attached Files

  6. #6
    Forum Contributor
    Join Date
    06-03-2010
    Location
    Jeddah, Saudi Arabia
    MS-Off Ver
    Excel 2013
    Posts
    135

    Re: VLOOKUP & IF Conditions Together ?

    thanks Ace_XL .....


    Regards,,,,,

+ 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