+ Reply to Thread
Results 1 to 11 of 11

repeating value within column

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    repeating value within column

    Hi,
    Would like to get you help below scenerio:

    I have sheet that looks like this :

    one.PNG



    I tried the below code - but can work only one direction


    Please Login or Register  to view this content.
    wrong result:

    three.PNG


    I would like to get below - if it's possible !

    correct result

    two.PNG


    Thanks in advance.

  2. #2
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    Testing Data:
    HTML Code: 

  3. #3
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: repeating value within column

    This assume columns A:D for data.

    Please Login or Register  to view this content.
    Last edited by JLGWhiz; 10-28-2020 at 11:14 PM.
    Any code provided by me should be tested on a copy or a mock up of your original data before applying it to the original. Some events in VBA cannot be reversed with the undo facility in Excel. If your original post is satisfied, please mark the thread as "Solved". To upload a file, see the banner at top of this page.
    Just when I think I am smart, I learn something new!

  4. #4
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    Thanks ..Successfully fill A portion only..
    HTML Code: 

  5. #5
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    Tried but no luck .. still returns the first verbiage on the list only.

  6. #6
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: repeating value within column

    If your data is not sensitive, click the 'Go Advanced' button at bottom right of the reply box, then click Manage Attachments to upload your file. After you do the upload, you have to post reply for the link to appear in the thread. If the data is sensitive, then make a copy of the sheet as a separate file and alter the sensitive data to protect it then upload that file. We can work better with actual files than with mock data that does not show the actual grid, formulas or other parameters.

    P.S. Using the data you posted, the code worked for me, but I have no merged cells and assumed that the letter in column A would always be 1 row below the Status cell.
    Last edited by JLGWhiz; 10-28-2020 at 11:16 PM.

  7. #7
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    No - The latter A can be anywhere (cell) before next [status] cell downward

    I have attached a sample workbook ( Moved column A to column D ).

    Thanks again
    Attached Files Attached Files
    Last edited by Kevin_M; 10-29-2020 at 06:20 AM.

  8. #8
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: repeating value within column

    Okay, I will take one more shot at it.

    Please Login or Register  to view this content.
    Remove any superfluous text from rows under your actual data so the code will find the proper cells.
    Last edited by JLGWhiz; 10-29-2020 at 10:27 AM.

  9. #9
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    Thanks. If you move A to cell d2 then it will return only B & C
    [i.e Status (A2)- Value1 -Value2- A (D2)]

    Other than that - works great.

    Thanks again

  10. #10
    Registered User
    Join Date
    11-03-2011
    Location
    detroit, us
    MS-Off Ver
    Excel 2007
    Posts
    24

    Re: repeating value within column

    Thanks, JLG - I fixed that ..no worries.

    REALLY APPRECIATED - GREAT HELP!

    Thank you so much!

  11. #11
    Forum Expert JLGWhiz's Avatar
    Join Date
    02-20-2011
    Location
    Florida, USA
    MS-Off Ver
    Windows 10, Excel 2013
    Posts
    2,070

    Re: repeating value within column

    Quote Originally Posted by Kevin_M View Post
    Thanks, JLG - I fixed that ..no worries.

    REALLY APPRECIATED - GREAT HELP!

    Thank you so much!
    You're welcome,
    regards, JLG

+ 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. [SOLVED] How to find non-repeating values in Column B for repeating values in Column A
    By jdegeorge in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-16-2017, 01:43 PM
  2. [SOLVED] repeating macro column by column until it hits a blank
    By bardobhb in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-26-2014, 07:05 PM
  3. Repeating formulaes in each column
    By dadvikas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-10-2011, 04:22 AM
  4. Replies: 1
    Last Post: 06-21-2011, 06:55 AM
  5. creating a repeating formula that doesn't show repeating values
    By cybershot in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 12-09-2010, 06:12 PM
  6. [SOLVED] Repeating Column headings
    By TJ in forum Excel General
    Replies: 0
    Last Post: 07-31-2006, 11:28 AM
  7. How do you set up a repeating column in Outlook?
    By KellyGrace in forum Excel General
    Replies: 1
    Last Post: 06-15-2005, 08: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