+ Reply to Thread
Results 1 to 3 of 3

Searching / Vlookup

  1. #1
    Registered User
    Join Date
    12-03-2007
    Posts
    1

    Searching / Vlookup

    Hi all,

    I am trying to use the functionality of vloopkup inorder to return the value in the column but am not quite sure whether it would work or not.

    I want to search a value along the column

    1 100 A
    101 200 B
    201 300 C

    What i want is that if i want to search for 150, it should return the value A; similarly value 101 or 200 should also return A, and if its out of range it just prompts the value is out of range. or we would use the tradition if-else loops

    can it be done with vlookup??? pl guide me out.

    Thanks,

  2. #2
    Forum Contributor
    Join Date
    02-23-2005
    Location
    England
    Posts
    110
    Your question is confusing, but is the solution in the attached file what you want?
    Attached Files Attached Files
    Last edited by PeterB; 12-03-2007 at 05:27 AM. Reason: Updated attachment as it did not include Out of Range result

  3. #3
    Forum Contributor corinereyes's Avatar
    Join Date
    12-02-2003
    Location
    Philippines
    MS-Off Ver
    MS Excel 2016
    Posts
    520
    Hi,

    Try the attached file.

    Formula used is =
    INDEX(A:C,MATCH(F1,B:B),1)
    Attached Files Attached Files
    Last edited by corinereyes; 12-03-2007 at 05:41 AM. Reason: wrong attachment :(
    Corine

+ 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