+ Reply to Thread
Results 1 to 7 of 7

vlookup perhaps?, array formula

  1. #1
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    vlookup perhaps?, array formula

    Hi all,

    I am looking for an ‘array-type’ formula (…I think) that will search a range of cells and grab the first value and copy it to the first cell, then continue on and look for the next cell in the range with a value, then copy that value into the next cell etc…sorry, kind of complicated, but I’m not sure how to explain it any better. I have attached a spreadsheet for clarification (See columns R and S)

    Thanks in advance -
    Attached Files Attached Files
    Last edited by Greed; 10-28-2011 at 11:12 AM. Reason: Solved

  2. #2
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: vlookup perhaps?, array formula

    Why in R4 would you want N4 when N4 is blank?
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: vlookup perhaps?, array formula

    Sorry for the confusion - I had deleted a column after writing the instructions...workbook has been updated

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: vlookup perhaps?, array formula

    Try:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER and copied across (and down, if needed)...
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  5. #5
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: vlookup perhaps?, array formula

    That seems to work well - texcept for the error when there are no more values to show...is there a bit you can add to avoid getting #NUM! when the last value has been shown?
    Thanks again

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: vlookup perhaps?, array formula

    Try:

    Please Login or Register  to view this content.
    CSE confirmed.

  7. #7
    Forum Contributor
    Join Date
    07-15-2011
    Location
    Whitby, Canada
    MS-Off Ver
    Excel 2010
    Posts
    121

    Re: vlookup perhaps?, array formula

    Super - I am in awe of your vast knowledge thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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