+ Reply to Thread
Results 1 to 11 of 11

Lookup problem

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    17

    Lookup problem

    Hi everyone

    I can't upload my excelfile because the content is secret, but this is how it looks like

    Colom A Colom B
    1/01/2014 40000
    2/01/2014 30000
    3/01/2014 20000
    4/01/2014 35000
    5/01/2014
    6/01/2014
    7/01/2014
    8/01/2014
    9/01/2014
    10/01/2014
    11/01/2014
    12/01/2014
    13/01/2014
    14/01/2014
    15/01/2014
    16/01/2014
    17/01/2014
    18/01/2014
    19/01/2014
    20/01/2014
    22/01/2014
    23/01/2014
    24/01/2014
    25/01/2014
    26/01/2014
    27/01/2014
    28/01/2014
    29/01/2014
    30/01/2014
    31/01/2014
    Jan X


    At the X spot I want a formula that automatically gives me the most recent numbers (35000). If I add the next day a new number I want at the X spot that new number. Is there a formula who can do that? I don't know anything about VBA, so that's not a solution. I thought about a concatenate function, but that doesn't work.

    Thanks in advance

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup problem

    Instead of pasting the data inside the post show it in excel with expected result for giving exact solution


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    03-06-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Lookup problem

    Noobquestion, but how do I add a file?

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup problem

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    03-06-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Lookup problem

    Book1.xlsx
    This is the dataset. I cannot give you the exact dataset because that's secret

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup problem

    In B29 Cell

    =LOOKUP(2,1/(B1:B28<>""),A1:A28)

  7. #7
    Registered User
    Join Date
    03-06-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Lookup problem

    If I do that, excel gives an error: A1 is turned in black, so I think there is the fault. But no idea what it could be. Did you used the formula in the file, and did it work?

  8. #8
    Registered User
    Join Date
    03-06-2014
    Location
    Belgium
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Lookup problem

    I changed A into B in the last part, and it works! Thanks a lot!!!

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup problem

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,218

    Re: Lookup problem

    =LOOKUP(2,1/(B1:B31<>""),B1:B31)

    Can someone explain HOW this works?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  11. #11
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Lookup problem

    Quote Originally Posted by AliGW View Post
    Can someone explain HOW this works?
    Refer Post #9 of the below thread

    http://www.mrexcel.com/forum/excel-q...rted-data.html

    Refer Post #7 of the below thread

    http://www.excelforum.com/excel-form...e-explain.html

+ 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. Problem using LOOKUP
    By Merlin1980 in forum Excel General
    Replies: 1
    Last Post: 12-28-2009, 05:39 AM
  2. Lookup problem
    By squiggler47 in forum Excel General
    Replies: 19
    Last Post: 03-11-2009, 12:47 PM
  3. Lookup problem
    By RD Wirr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-08-2006, 09:20 AM
  4. [SOLVED] LOOKUP problem!!!
    By G in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  5. LOOKUP problem!!!
    By G in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11:05 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