+ Reply to Thread
Results 1 to 8 of 8

LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    198

    LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    HI

    THX FOR LOOKING

    I have a working sheet "STAT TEST" that will have missing data in two columns.
    I have a simple database where values are located, see "DB1".

    I want to look up the values in column 1 for each row in STAT TEST and get missing data in two columns!

    Easy task for someone but hard for me
    Thanks in advance
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    Hi.


    formula needs to read "text numbers" as numbers in column E before matching data


    In B5 (sheet1) to be copied down


    =INDEX([DB1.xlsx]Blad1!D$2:D$6,MATCH(A5+0,INDEX([DB1.xlsx]Blad1!$E$2:$E$6+0,),0))

    Hope it helps
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

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

  3. #3
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    198

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    Thx for reply with formula.

    Though the entire text does not become any
    STILL writes the formula, yes I have translated INDEX and MATCH to SWEDISH
    what could be wrong

    I uploaded what I see!
    A small favor load the file in B5 in STAT test file?
    Attached Files Attached Files
    Last edited by sealpino; 05-06-2020 at 10:02 AM.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,908

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    Try:
    1. selecting cells B5:B9 and utilizing the clear > clear all feature
    2. make sure that the format of cells B5:B9 is general
    3. modify the formula from post #2 to include single quotes around the '[workbook]sheet'! i.e.
    Formula: copy to clipboard
    =INDEX('[DB1.xlsx]Blad1'!D$2:D$6,MATCH(A5+0,INDEX('[DB1.xlsx]Blad1'!$E$2:$E$6+0,),0))

    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    198

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    I tried that, I send the file to exemplify

    thx for assisting!
    Attached Files Attached Files

  6. #6
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,279

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    In Stat Test "B5"
    Formula: copy to clipboard
    =IFERROR(INDEX([DB1.xlsx]Blad1!$D$2:$D$6,MATCH($A5,[DB1.xlsx]Blad1!$E$2:$E$6,0)),"")

    "C5"
    Formula: copy to clipboard
    =IFERROR(INDEX([DB1.xlsx]Blad1!$F$2:$F$6,MATCH($A5,[DB1.xlsx]Blad1!$E$2:$E$6,0)),"")


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  7. #7
    Forum Contributor
    Join Date
    11-10-2012
    Location
    Sweden, Stockholm
    MS-Off Ver
    MS Excel 365
    Posts
    198

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    THANKS AGAIN FOR YOUR ADVICE AND HELP FROM "AVK" and "JeteMc"
    Have also given creds to "Add Reputation"
    I find it naturally to do that when given assistance!
    THX

  8. #8
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,908

    Re: LOOK UP VALUE in DB and FILL MISSING VALUES in ANOTHER XLS file

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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. Using isblank to fill in missing values
    By salimnore in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-10-2015, 09:53 PM
  2. How to calculate Average of daily data to fill missing values
    By mahjid in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2013, 05:46 AM
  3. Fill Missing Values
    By ramzan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-21-2013, 01:24 PM
  4. [SOLVED] Fill in missing values of one row with the rows beneath it if the rows beneath match
    By ilikeexcel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-20-2012, 02:40 PM
  5. [SOLVED] Auto Fill "Missing" based on two dates values
    By Tejas.T in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-31-2012, 04:22 AM
  6. Looking up info from a seperate Excel file to fill multiple cell values
    By JesseM in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-29-2010, 05:28 PM
  7. Using Linear Regression to Fill in Missing Values
    By Matty's Dilemma in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2009, 06:56 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