+ Reply to Thread
Results 1 to 3 of 3

Help Adding Another layer to if/lookup statement

  1. #1
    Registered User
    Join Date
    09-24-2009
    Location
    Phila, PA
    MS-Off Ver
    Excel 2003
    Posts
    28

    Help Adding Another layer to if/lookup statement

    Using this statement to return rate values and need to another another layer. What I’m looking to do is take this statement another level and if the contractor is working on a non-billed project, return the base rate from the contractor worksheet in column “B” and not the margined rate found in column “D”

    =IF(ISERROR(VLOOKUP($C2,Contractors!$A:$D,4,0)),IF(ISERROR(VLOOKUP($A2,'Billable Projects'!$A:$B,2,0)),VLOOKUP(Detail!$G2,Names!$B:$E,4,0),VLOOKUP($A2,'Billable Projects'!$A:$B,2,0)),VLOOKUP($C2,Contractors!$A:$D,4,0))

    So, using the attached file, the rate for Williams, Roselyn would be $29.77 and not $35.03.

    Thanks for your help.
    Attached Files Attached Files

  2. #2
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,466

    Re: Help Adding Another layer to if/lookup statement

    Doing slightly admenment in the column number of the last VLOOKUP:
    =IF(ISERROR(VLOOKUP($C2,Contractors!$A:$D,4,0)),IF(ISERROR(VLOOKUP($A2,'Billable Projects'!$A:$B,2,0)),VLOOKUP(Detail!$G2,Names!$B:$E,4,0),VLOOKUP($A2,'Billable Projects'!$A:$B,2,0)),VLOOKUP($C2,Contractors!$A:$D,IF(F2="NON_BILL",2,4),0))
    Quang PT

  3. #3
    Registered User
    Join Date
    09-24-2009
    Location
    Phila, PA
    MS-Off Ver
    Excel 2003
    Posts
    28

    Re: Help Adding Another layer to if/lookup statement

    Thanks so much for the help. Worked perfectly

+ 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