+ Reply to Thread
Results 1 to 7 of 7

Vlookup or something else?

Hybrid View

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2010
    Posts
    63

    Vlookup or something else?

    I need help! I have a spreadsheet in which I enter vendor information and who of our employees approves the invoices for each particular vendor. Is there a formula I can use that will automatically enter which employee approves the invoice when I enter the vendor in the spreadsheet?

    I have attached an example.
    I want to have my spreadsheet automatically enter Chris in column C under Approved by when I enter either Xxyy or PPll in the vendor columnBook2.xlsx

  2. #2
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Vlookup or something else?

    Hi cschoyer,

    Where would we get the source information from. Is it a different workbook?


    Thanks,

    Bonny Tycoon




    **If I was able to help please click the small star icon at the bottom left of my post **

  3. #3
    Registered User
    Join Date
    04-27-2012
    Location
    New York, USA
    MS-Off Ver
    Excel 2010
    Posts
    63

    Re: Vlookup or something else?

    the source information is in the same workbook, on a different worksheet

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Vlookup or something else?

    Hi cschoyer,

    You can use the vlookup function here but for that you need to define the table criteria, see the attached file.
    =VLOOKUP(B2,$J:$K,2,0)

    Sample;
    Book2(6).xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), dilipandey@gmail.com

  5. #5
    Registered User
    Join Date
    12-11-2011
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Vlookup or something else?

    Hi,

    You can use vlookup formula to fix this issue. The formula you can use is =IF(ISNA(VLOOKUP($F2,$B$2:$C$8,2,0))," ",VLOOKUP($F2,$B$2:$C$8,2,0)).

    I've added ISNA to avoid NA erorr for blank cells. Please check the attached excel sheet.

    Hope this helps.

    Warm regards
    Ishtiyaq
    Attached Files Attached Files

  6. #6
    Forum Contributor bonny24tycoon's Avatar
    Join Date
    04-02-2012
    Location
    Hell
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    405

    Re: Vlookup or something else?

    Check out the this... Book2.xlsx Assuming the source file in Sheet2.



    Thanks,

    Bonny Tycoon




    **If I was able to help please click the small star icon at the bottom left of my post **

  7. #7
    Forum Expert icestationzbra's Avatar
    Join Date
    01-07-2004
    MS-Off Ver
    2007, 2010
    Posts
    1,421

    Re: Vlookup or something else?

    another approach...
    Attached Files Attached Files
    - i.s.z -
    CSE, aka Array aka { }, formulae are confirmed with CONTROL+SHIFT+ENTER.
    Replace commas ( , ) with semicolons ( ; ) in formulae, if your locale setting demands.
    All good ideas are courtesy resources from this forum as well as others around the web.
    - e.o.m -

+ 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