+ Reply to Thread
Results 1 to 3 of 3

Lookup or Vlookup with condition

  1. #1
    Registered User
    Join Date
    09-04-2014
    Location
    Israel
    MS-Off Ver
    2010
    Posts
    4

    Question Lookup or Vlookup with condition

    Hi,
    The following formula brings the value from Sheet Marks to the current cell in a different sheet where the formula is written:

    =IF(VLOOKUP($A$3,Marks!$B$14:$ED$79,122,FALSE)="","",VLOOKUP($A$3,Marks!$B$14:$ED$79,122,FALSE))

    The values in sheet Marks are either: 1, 2, 3 or 4. What changes should be done to the formula so that it shows the value instead of the number?

    Below is the corresponding values:
    1 = Always
    2 = Most of the time
    3 = Sometimes
    4 = rarely

    Khalil

  2. #2
    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,917

    Re: Lookup or Vlookup with condition

    I abreviated (being lazy lol)
    INDEX({"A","M","S","R"},IF(VLOOKUP($A$3,Marks!$B$14:$ED$79,122,FALSE)="","",VLOOKUP($A$3,Marks!$B$14:$ED$79,122,FALSE)))
    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

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Lookup or Vlookup with condition

    or Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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. Lookup condition
    By hanif in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-07-2015, 11:00 AM
  2. If or Lookup condition
    By zeez36 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-22-2014, 02:49 AM
  3. Replies: 1
    Last Post: 05-19-2012, 02:54 AM
  4. multi condition format? lookup and date condition valid for.
    By D_Rennie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-13-2009, 11:37 AM
  5. Lookup using condition
    By shabbir in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-20-2008, 10:34 PM
  6. [SOLVED] Sumproduct - Condition based on lookup of a Lookup
    By Hari in forum Excel General
    Replies: 13
    Last Post: 05-31-2006, 04:30 AM
  7. [SOLVED] VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY
    By Scott Lolmaugh in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2006, 07:10 PM

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