+ Reply to Thread
Results 1 to 16 of 16

Using VLOOKUP funtion Within IF statement

  1. #1
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Using VLOOKUP funtion Within IF statement

    Hi All,

    I am trying to get the result by putting the if and voolkup together but not able to do it. Here i am attaching the file. Please have a look and suggest me how to do it or please do guide if you have any better way to do this.

    In DATA sheet, i have 3 drop down, and will select the required data, when all the 3 condition matches it will go to reliance sheet and fetct the result and display it in A2. But here i am not getting which will be the vlookup value. I am not getting how to go ahead..

    please help
    thank you
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Please someone help me

  3. #3
    Forum Contributor
    Join Date
    11-02-2011
    Location
    Rugby, England
    MS-Off Ver
    Office 365
    Posts
    846

    Re: Using VLOOKUP funtion Within IF statement

    Hello,
    I'm looking at your sheet now, and to be honest its nto quite clear what you want to do. sheet Datalist - does this serve a purpose?
    Could you please explain in a little more detail what it is you want? Please also re-attach your sheet showing what you want the end result to be?? as this may help us to resolve your query
    galvinpaddy
    Last edited by galvinpaddy; 04-19-2012 at 03:29 PM.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Using VLOOKUP funtion Within IF statement

    how does your "number of persons" 1A, 1C etc relate to member-1, member-2 etc?

    I assume that the "sum assured" number relates to your 2 LAKH and 3 Lakh tables, and that you will have at least 5 more tables?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  5. #5
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Member 1 means it can be 1Adult of 1 Child. So i have taken 2 Compinations like this. Because there are different values for both which i need to fetch and display. Yes, Sum Assured means 2 Lakh 3 Lakh tables. I dont know how to form a table.

    If all the drop down values matches the the result ahould be displayed.

    Please suggest me how to do this

  6. #6
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Hello,

    What i am trying to do is,

    When all the drop down selected values matches then the result should be displayed for that age group in the reliance table. Here, member-1 means it can be either 1A or 1C, so i have taken both the combination. but i am not getting exactly how do i make the table.

  7. #7
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Hey here am modified my sheet and still not able to get the result.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Please look into my sheet and help me

  9. #9
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Using VLOOKUP funtion Within IF statement

    Hi Mythri,

    Based on your attachment assume you are on Excel 2007 or later. See the attached, if this helps.
    Attached Files Attached Files
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Using VLOOKUP funtion Within IF statement

    or try the attached, i changed your data table a bit. adjust the lookup range if you add additional data to your data range
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Thank you very much Haseeb. But now there is a bit different format in only one sheet. for that i am not getting how to do that.

    And if the condition not satidfied how to display NOT APPLICABLE messahge .. please suggest. I tried to use ISEERROR. But couldnt do. here i ma attaching the sheet.
    Please help
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Thank you very much FDibbins.

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

    Re: Using VLOOKUP funtion Within IF statement

    =if(iserror ( you rformula here , "your message here", your formula here again )
    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

  14. #14
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Thanks vlady.

    But i have another problem. I have mentioned in the file. In the sheet 'reliance', MEMBER column all the combination of a member(ex: if its Member 3, then all combinations like 1A+1C, 2A+1C, 3A, 2A+2C and 3C ) have values , but in the sheet 'bajaj' it doesn't has value for all the combination (for ex: if its 3A, i have value for only 2A+2C and 1A+2C). In this case how to put the formula which should be common for both the sheet.

    please suggest

  15. #15
    Registered User
    Join Date
    04-20-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Using VLOOKUP funtion Within IF statement

    Hey Plz help me ... I just not able to do that.

  16. #16
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Using VLOOKUP funtion Within IF statement

    Mythri, see the attached.

    Hope this give you some idea.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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