+ Reply to Thread
Results 1 to 3 of 3

Nested vlookup

  1. #1
    Registered User
    Join Date
    08-22-2008
    Location
    Swinefleet
    Posts
    10

    Red face Nested vlookup

    I have a new worksheet:

    Employee No. Name

    Under the Name colum (B) i want a formula that uses the employee number (A) to look up the name. The problem i am having is that i need to look the name up from 3 other worksheets.

    On worksheet 1 i have fridays work and 2 i have saturdays work and 3 sundays!! I only want a name to appear if they worked any one (or more) of these days. If they didn't work i would like the name to remain blank.

    On all worksheets employee number and name arein colums A and B.
    I do have another worksheet that has name and number only in though. worksheet 4!

    Can anyone help?!?!
    Last edited by Cat22; 10-13-2008 at 10:29 AM.

  2. #2
    Registered User
    Join Date
    10-07-2008
    Location
    Wessex
    Posts
    55
    I would just take the brute force approach

    =IF(ISNA(VLOOKUP(B2,Sun!A:BN,2,FALSE)),IF(ISNA(VLOOKUP(B2,Sat!A:BN,2,FALSE)),IF(ISNA(VLOOKUP(B2,Fri!A:BN,2,FALSE)),"",VLOOKUP(B2,Fri!A:BN,2,FALSE)),VLOOKUP(B2,Sat!A:BN,2,FALSE)),VLOOKUP(B2,Sun!A:B,2,FALSE))

  3. #3
    Registered User
    Join Date
    08-22-2008
    Location
    Swinefleet
    Posts
    10
    thanks!! xxx

+ 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. Nested VLOOKUP, or similar
    By rlcqut in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-14-2008, 10:39 AM
  2. Vlookup using two columns-needs to match the first two column
    By pduubb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-01-2008, 01:21 PM
  3. Solution : Nested IF or VLOOKUP
    By sachinattri in forum Excel General
    Replies: 9
    Last Post: 12-03-2007, 07:56 PM
  4. Loop + vLookup cause formula too long
    By asyuradou in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-23-2007, 11:38 AM
  5. sumif with nested vlookup
    By b.johnson in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-02-2007, 12:06 PM

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