+ Reply to Thread
Results 1 to 8 of 8

Vlookup with If Functions

  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    Shah Alam, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Vlookup with If Functions

    Hi experts,

    I have an issue of which I need to pick a band value for the relevant pack size if the value is fall in certain range per pack size.
    I have attached the sample of my file.

    Thanking in advance for the assistance provided.

    Vegobu
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-29-2011
    Location
    MUMBAI
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    85

    Re: Vlookup with If Functions

    U seem to be multiplying lot size with price relating to the respective alphabet.
    Am I correct?

  3. #3
    Registered User
    Join Date
    09-05-2011
    Location
    Shah Alam, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Vlookup with If Functions

    Yes you are right, but this is the table I created so that when my colorant values falls in a certain range for certain pack size, then the band value (band peso) to that appropriate range to be picked.

  4. #4
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    105

    Re: Vlookup with If Functions

    Good god, this one kicked my butt! Would have been 10x easier if Microsoft would have just added =Evaluate. I would have just used the replace function on your "0<n<=20" data. But no this makes it text.
    Never the less... try this.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    09-05-2011
    Location
    Shah Alam, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Vlookup with If Functions

    Thanks pal, really appreciate your help.

  6. #6
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Vlookup with If Functions

    Try this:

    No helper columns is required

    G3: =LOOKUP(2,1/(Size=D3)/(--LEFT(Range,FIND("<",Range)-1)<=F3),Band)

    copy down

    See the attached file
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-14-2013
    Location
    Florida
    MS-Off Ver
    Excel 2013
    Posts
    105

    Re: Vlookup with If Functions

    Quote Originally Posted by Teethless mama View Post
    Try this:

    No helper columns is required

    G3: =LOOKUP(2,1/(Size=D3)/(--LEFT(Range,FIND("<",Range)-1)<=F3),Band)

    copy down

    See the attached file
    Or better use this one. Not 100% sure I understand how this works.

  8. #8
    Registered User
    Join Date
    09-05-2011
    Location
    Shah Alam, Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Vlookup with If Functions

    Hi
    Thats great pal.

    Thank you very much

+ 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. Vlookup with if functions
    By kygwalt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-22-2013, 12:25 PM
  2. Multiple IF Functions or VLOOKUP functions
    By yinka00000 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-15-2012, 11:29 PM
  3. vlookup functions within if functions.
    By sjhill60 in forum Excel General
    Replies: 1
    Last Post: 10-13-2011, 11:10 PM
  4. VLookup functions
    By bfis20 in forum Excel General
    Replies: 4
    Last Post: 07-31-2009, 05:33 PM
  5. Vlookup functions
    By iamsvs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2008, 06:14 AM

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