+ Reply to Thread
Results 1 to 5 of 5

Auto fill blank cells with data in a cell above

  1. #1
    Registered User
    Join Date
    02-23-2008
    Posts
    14

    Auto fill blank cells with data in a cell above

    I have a spreadsheet that i need to filter for a user name. The problem is that the User name appears on the first record but not on the records underneath; so if i filter i only get the record with the name against it. I am sure that Excel has a function that lets you copy the column then special paste the data in such a way that blank cells are automatically filled with the data held on the cell directly above. Hope this makes sense! Any suggestions would be greatly appreciated.

    Regards

    Alan

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Asssuming your student name is in column A, In a blank column starting in row 2
    Please Login or Register  to view this content.
    and drag down.

    Then copy that column over to column A with Paste Special>Values.

    Does that work for you?

    ChemistB

  3. #3
    Registered User
    Join Date
    02-23-2008
    Posts
    14
    Many thanks for your reply but this does not solve my problem detailed underneath.

    Student Name
    a
    Need to Fill with "a"
    Need to Fill with "a"
    Need to Fill with "a"
    Need to Fill with "a"
    Need to Fill with "a"
    Need to Fill with "a"
    b
    Need to Fill with "b"
    Need to Fill with "b"
    Need to Fill with "b"
    Need to Fill with "b"
    Need to Fill with "b"
    Need to Fill with "b"
    c
    Need to Fill with "c"
    Need to Fill with "c"
    Need to Fill with "c"
    Need to Fill with "c"
    Need to Fill with "c"
    Need to Fill with "c"
    d
    Need to Fill with "d"
    Need to Fill with "d"
    Need to Fill with "d"
    Need to Fill with "d"
    Need to Fill with "d"
    Need to Fill with "d"
    Need to Fill with "d"
    Regards


    Alan

  4. #4
    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
    _________________________________________


    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 !!!

  5. #5
    Registered User
    Join Date
    02-23-2008
    Posts
    14
    Sorted.... Many thanks this has been a great help my problem is now resolved

    Thanks

    Alan

+ 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