+ Reply to Thread
Results 1 to 4 of 4

VLOOKUP a range

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212

    VLOOKUP a range

    Hi there, I have 10 groups of in a range.EG
    Range
    0.25 - 0.5   A
    0.5 - 0.7     B
    0.7 - 0.8     C 
    0.8 - 2        D
    How can I use the VL formula using a value in cell A1 to find out which group it belongs to. Also group B and D are special and I would like for the VL formula to return them in bold.

    VLOOKUP(A1,Sheet2!,A:B,2)
    Something like this?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Does this help

    VBA Noob
    Attached Files Attached Files
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    10-09-2006
    Posts
    212

    Thumbs up

    Dude, you teach me so much. Thanks alot. It helps big time!

    Martin.

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,719
    You could also use this formula to get the same result

    =IF(A3<E3,"Not found",LOOKUP(A3,E3:G6))

+ 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