+ Reply to Thread
Results 1 to 3 of 3

Function to return the value in cell above

  1. #1
    Registered User
    Join Date
    12-11-2007
    Posts
    1

    Function to return the value in cell above

    I have a very long list of data (40,000 rows), small groups of which are each associated with one persons name, which is only listed at the top of the group. I need the name listed on each line to associate the all the data with a unique person. It will take about 10 hours to use autofill to populate these cells. Is there a function I can use to do this without running into a circular reference?

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See if this is what your after

    http://www.contextures.com/xlDataEntry02.html

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Function to return the value in cell above

    Hopefully, your data is set up something like this:
    Please Login or Register  to view this content.
    If that's true....try this:

    Select from the 1st name down through the last blank celll to be associated with the last name.

    Press [F5]........a shortcut for <edit><go to>
    Click [special]....Check: Blanks......Click [OK]

    Next....While all of the blanks are selected.....
    Press =...press the [UP ARROW] key one time...
    Hold down [CTRL] and press [ENTER]

    Now every blank cell refers to the cell above it.

    If you want to "hardcode" those values....
    Select the column of names.
    <edit><copy>
    <edit><paste special>....Check: Values....Click [OK]

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

+ 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