+ Reply to Thread
Results 1 to 6 of 6

Formula for Repeating Cell Value in Blank Cells

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Formula for Repeating Cell Value in Blank Cells

    Hello,

    I am trying to write formula for the following need:

    Column A

    Row 1 Test 1
    Row 2
    Row 3
    Row 4 Test 2
    Row 5
    Row 6 Test 3

    I want to write a formula that will automatically copy the previous cell if the current cell is blank.

    The Final Result should be:

    Row 1 Test 1
    Row 2 Test 1
    Row 3 Test 1
    Row 4 Test 2
    Row 5 Test 2
    Row 6 Test 3

    I have uploaded an excel sheet with 2 tabs "Problem" and " Desired Solution" for better understnding

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Formula for Repeating Cell Value in Blank Cells

    Select Column A
    F5 (Goto)> Special> Blank cells This will select all the blank cells between Test 1 and Test 3
    Do not click on any cell, that will remove the selection. Go to the formula bar (the white text box at top of screen where you'd see the formula or cell contents. Click in that
    In the formula bar type =A1
    Hold down CNTRL and ENTER
    That should fill in all the blanks
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Formula for Repeating Cell Value in Blank Cells

    It WORKED !!!!!!!!!

    Thanks !

  4. #4
    Registered User
    Join Date
    07-10-2012
    Location
    Pune, India
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Formula for Repeating Cell Value in Blank Cells

    put it solved !!
    thanks !

  5. #5
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: Formula for Repeating Cell Value in Blank Cells

    Hi,

    Here is another way by using a blank column and then copy and paste using Values Only over the top of column A.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Formula for Repeating Cell Value in Blank Cells

    @sbhattacharya99,

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    HTH
    Regards, Jeff

+ 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