+ Reply to Thread
Results 1 to 4 of 4

Help needed with Vlooup from Dynamic workbooks...

  1. #1
    Registered User
    Join Date
    11-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    15

    Help needed with Vlooup from Dynamic workbooks...

    Hi

    I am trying to get a Vlookup funktion to work in a pricing worksheet.

    The sheet is going to be a template, so the customer account number will change with every use.

    For each item, i need to lookup a discount value in a pricing file.. The file is named as the account no, ex. "3720.xlsm" (account number 3720)

    But next use the account number can/will be something else.

    The accountnumber is always set in a cell as a value (numbers as text)

    All the pricing files are located in the same folder, so only the part before the ".xlsm" needs to change

    I am trying this

    Please Login or Register  to view this content.
    "D8" is the komponentno. i want to lookup in the discounttable in the pricing workbook

    "3720" is the part i need to change, depending on the value in cell C2 (next use i might enter "3536" in this cell, and then i need it to find the file "3536.xlsm" and do the lookup in there)

    Ive tried looking around, and all i can come up with is something with the use of the INDIRECT function... but i cant really get that solution to fit my need...

    Ive tried
    Please Login or Register  to view this content.
    that turns out a #VALUE! error

    and

    Please Login or Register  to view this content.
    where the G6 is the cell with the CONCAT function... The CONCAT gives me a textstring in G6 that looks correct.. But when used with the INDIRECT, it returns #REF !


    But nothing i tri will work for me..


    Any1 that can help me with this??


    Best regards

    Kasper

  2. #2
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Help needed with Vlooup from Dynamic workbooks...

    Try with Iferror + Vlookup

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


    https://exceljet.net/formula/vlookup-without-na-error
    Regards,
    Thangavel D

    Appreciate the help? CLICK *

  3. #3
    Registered User
    Join Date
    11-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2010
    Posts
    15

    Re: Help needed with Vlooup from Dynamic workbooks...

    Quote Originally Posted by than_gold View Post
    Try with Iferror + Vlookup

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


    https://exceljet.net/formula/vlookup-without-na-error
    Thx for the reply.... but im not after the error handling... im after the function actually being able to do the Vlookup in the correct file...

    but i cant get it to accept the account number as part of the filename for the workbook to access..

    best regards

  4. #4
    Valued Forum Contributor than_gold's Avatar
    Join Date
    10-17-2017
    Location
    Coimbatore India
    MS-Off Ver
    Office 365
    Posts
    646

    Re: Help needed with Vlooup from Dynamic workbooks...

    Can you please attach a sample file?

+ 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. [SOLVED] VLOOUP and skip blanks
    By forfiett in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-17-2016, 04:01 PM
  2. [SOLVED] INDIRECT nested in VLOOUP
    By Bobz1983 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-26-2014, 12:32 AM
  3. [SOLVED] Vlooup with multiple Arrays
    By Hassan1977 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 09-13-2013, 08:52 AM
  4. [SOLVED] vlooup link to validation list
    By Yari1986 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-07-2013, 03:01 AM
  5. [SOLVED] vlooup input 1 and output 2
    By visha_1984 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-06-2013, 04:02 AM
  6. Vlooup and Sums
    By garethjohn in forum Excel General
    Replies: 9
    Last Post: 04-26-2011, 09:30 AM
  7. Vlooup offset
    By Eucarionte in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-18-2009, 03:52 PM

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