+ Reply to Thread
Results 1 to 6 of 6

Need to add another field to my VLookup formula (or possibly need a new formula)

  1. #1
    Registered User
    Join Date
    12-13-2013
    Location
    jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Need to add another field to my VLookup formula (or possibly need a new formula)

    Good Morning,

    To assign work to associates using Term Digits, I currently use a VLookup formula (below) along with a template I paste into an additional sheet.

    EX:

    Formula used on Sheet1:
    =VLOOKUP(RIGHT(A2,2),Sheet3!$A$2:$B$21,2)

    Info pasted into Sheet3:
    Term Digit Responsible Person
    00 Dawn
    24 Jennifer
    49 Silvana
    79 Debbie


    Thus, if a file number was 1008729 the formula would put 'Jennifer' because this would be her term digit.

    However, I now need the formula to be expanded to also take an an additional column into account (a state column). example below:

    State Rep Digits
    AK Sotheavy 00-99
    AL Carlos 00-99
    FL Sotheavy 00-14
    FL Robin 15-28
    FL Sophany 29-42
    FL Danielle 43-56
    FL Carlos 57-71
    FL Dameyan 72-85
    FL Tim 86-99
    GA Robin 00-99
    HI Tim 00-99
    NC Sotheavy 00-14
    NC Robin 15-28
    NC Sophany 29-42
    NC Danielle 43-56


    Can anyone help me out with this? I know it has to be possible but i just cant seem to get it right?

    Thank you so much!

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: Need to add another field to my VLookup formula (or possibly need a new formula)

    could you attach the excel file with sample data?

  3. #3
    Forum Expert GeneralDisarray's Avatar
    Join Date
    09-15-2011
    Location
    Pittsburgh, PA, USA
    MS-Off Ver
    Windows Excel 2016
    Posts
    1,416

    Re: Need to add another field to my VLookup formula (or possibly need a new formula)

    can you post an example? I would think you need to just make some kind of combined key column... will be easier to show if you can post an example of what you have and what it needs to do exactly
    Remember, saying thanks only takes a second or two. Click the star icon(*) below the post you liked, to give some Rep if you think an answer deserves it.

    Please,mark your thread [SOLVED] if you received your answer.

  4. #4
    Registered User
    Join Date
    12-13-2013
    Location
    jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Need to add another field to my VLookup formula (or possibly need a new formula)

    Absolutely, I'll get it together now

  5. #5
    Registered User
    Join Date
    12-13-2013
    Location
    jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Need to add another field to my VLookup formula (or possibly need a new formula)

    Formula as it is now.xlsOld vs New Breakdown.xlsx

    I have attached two spreadsheets.

    One shows the formula as it is now, please see the first sheet for the formula and the third sheet for the table that enables the formula. Note that the current formula does not account for states.

    The other attachment shows the current breakdown used in the formula on sheet1 and the new breakdown with state specific term digits (some states will have 0-99 assigned, while other states will have specific term digit breakdowns)

    Thank you!

  6. #6
    Registered User
    Join Date
    12-13-2013
    Location
    jacksonville, Florida
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Need to add another field to my VLookup formula (or possibly need a new formula)

    Good Morning,

    I just wanted to follow up on this to ask if anyone has had a similar formula developed or if anyone can assist in pointing me in the right direction.

    Thank you.

+ 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. Having trouble creating a formula using VLOOKUP, possibly, to compile information
    By needhelpfast7 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-30-2013, 12:38 AM
  2. VLookup formula to separate days from a date field
    By damagedbodies in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2010, 12:48 PM
  3. Replies: 2
    Last Post: 04-05-2010, 05:13 PM
  4. IF AND Formula (possibly)
    By macba in forum Excel General
    Replies: 1
    Last Post: 09-01-2009, 04:41 AM
  5. IF Formula possibly?
    By jendew in forum Excel General
    Replies: 4
    Last Post: 05-14-2009, 11:21 AM

Tags for this Thread

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