+ Reply to Thread
Results 1 to 6 of 6

Nested vlookup with possible if statement

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Nested vlookup with possible if statement

    I have an invoice spreadsheet that has several segments of billing data. I need to lookup 1 piece of the segment to another table and pull in the commodity description to a commodity column. I thought of delimiting the billing data but the issue is all segments are separated by dashes and some of the location names have dashes in them so the data won't delimit correctly. Attached is a sample of what I have.

    For this example I want to lookup the commodity in column A of the data spreadsheet, find the match in column A of the commodity tab, and bring the value from column B of the commodity tab to column B of the data tab.

    Thanks for your help.
    Attached Files Attached Files
    Last edited by LilSisKin; 02-02-2016 at 11:44 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need help with a formula

    Unfortunately your post does not comply with Rule 1 of our Forum, and with 11 posts you should know that. RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title go to your first post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.

    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Nested vlookup with possible if statement

    Enter this formula in B2 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    v A B
    1 Billing Commodity
    2 21 FITZ STREET-COMBINED-C--R&M Exp - Supplies - Bulb/Lamp-613050-REPAIRS MAINT EXP_ 613050 R&M Exp - Bulb/Lamp
    3 118-122 WEST 23RD STREET-C--R&M Exp - Supplies - Plumbing-613000-REPAIRS MAINT EXP_ 613000 R&M Exp - Plumbing
    4 BOSTON BAY-C--Turn Exp - Keys & Locks-612050-TURNOVER EXP_ 612050 Turn Exp - Keys & Locks
    Last edited by AlKey; 02-02-2016 at 12:25 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  4. #4
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Nested vlookup with possible if statement

    I edited the post name, but I just wanted to say you really don't have to be mean about things like this. Just sayin.

  5. #5
    Registered User
    Join Date
    04-18-2013
    Location
    United States
    MS-Off Ver
    Excel 2007
    Posts
    34

    Re: Nested vlookup with possible if statement

    Thank you Alkey. That worked. You are awesome.

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Nested vlookup with possible if statement

    Thank you for the feedback
    Last edited by AlKey; 02-02-2016 at 12:20 PM.

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04: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