+ Reply to Thread
Results 1 to 2 of 2

Print Worker if between

  1. #1
    Registered User
    Join Date
    08-23-2011
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2003
    Posts
    1

    Print Worker if between

    Hi guys!

    I was wondering if someone can help me generate a fucntion that would result to the following. The image attached would clarify more

    Basically, I would want to print the Worker name if the number being is tested is in his range of work. Like for the first example. The number being tested is 1502. As we can see in column A:B, the worker assigned for that number is John. So "John" prints beside 1502. And so on and so forth.

    Thanks everyone for the help in advance
    Attached Images Attached Images

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967

    Re: Print Worker if between

    As your ranges do not appear to have any gaps and are sorted in numerical order, the following should work when pasted into E3 provided that the number you are using as your criteria is within the overall range.

    =INDEX(C3:C9,MATCH(D3,A3:A9,1))
    Martin

+ 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