+ Reply to Thread
Results 1 to 10 of 10

In Search of a Solution that Auto Fills Cells

Hybrid View

  1. #1
    Registered User
    Join Date
    05-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    51

    In Search of a Solution that Auto Fills Cells

    I have attached an example worksheet to display my problem.
    Right now I get a spreadsheet from a supplier each week that is around 10k rows. The data in column A has to manually be dragged down until a record with different is reached. Then that record is dragged down to fill the blanks until another record is reached. Does anyone have solution for this? Right now, I have to manually drag each row down until I reach the end of a 10k row worksheet. thank you
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2506 (Windows 11 Home 24H2 64-bit)
    Posts
    91,403

    Re: In Search of a Solution that Auto Fills Cells

    Which version of Excel are you using? Have you upgraded from Excel 2010?

    If you have PowerQuery (Get & Transform on the Data ribbon in versions from 2016 onwards), it's a simple fill down operation:

    let
        Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        #"Changed Type" = Table.TransformColumnTypes(Source,{{"Item#", Int64.Type}, {"Data", type text}}),
        #"Filled Down" = Table.FillDown(#"Changed Type",{"Item#"})
    in
        #"Filled Down"
    Excel 2016 (Windows) 32 bit
    F
    G
    3
    Item# Data
    4
    123
    data
    5
    123
    data
    6
    123
    data
    7
    123
    asdf
    8
    123
    data
    9
    123
    data
    10
    456
    data
    11
    456
    data
    12
    456
    data
    13
    456
    data
    14
    789
    data
    15
    789
    data
    16
    789
    data
    17
    789
    data
    18
    789
    data
    19
    789
    data
    20
    789
    data
    21
    789
    data
    22
    789
    data
    23
    321
    data
    24
    321
    data
    25
    321
    data
    26
    654
    data
    27
    987
    data
    28
    987
    data
    Sheet: Sheet1
    Attached Files Attached Files
    Last edited by AliGW; 08-01-2019 at 09:18 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: In Search of a Solution that Auto Fills Cells

    Thanks Ali, I am using office 365. I am not familiar with Powerquery.
    Last edited by AliGW; 08-01-2019 at 09:30 AM. Reason: Please don't quote unnecessarily!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: In Search of a Solution that Auto Fills Cells

    In A4, copied down:

    =IF(A3=C4,A3,C4)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  5. #5
    Registered User
    Join Date
    05-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: In Search of a Solution that Auto Fills Cells

    Quote Originally Posted by Glenn Kennedy View Post
    In A4, copied down:

    =IF(A3=C4,A3,C4)
    Glenn, the "finished data" is an example to illustrate what the Raw Data needs to look like. The spreadsheets I get only have an A and B column.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2506 (Windows 11 Home 24H2 64-bit)
    Posts
    91,403

    Re: In Search of a Solution that Auto Fills Cells

    OK - so please update your forum user profile.

    Are you interested in this solution? If so, I can explain it to you.

  7. #7
    Registered User
    Join Date
    05-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: In Search of a Solution that Auto Fills Cells

    Quote Originally Posted by AliGW View Post
    OK - so please update your forum user profile.

    Are you interested in this solution? If so, I can explain it to you.
    Thank you Ali, I dont have time today. But thank you anyways.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: In Search of a Solution that Auto Fills Cells

    Then use:

    =IF(A4="",C3,A4) in C4 copied down

    and (if desired) copy/paste values back onto column A
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    05-25-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    51

    Re: In Search of a Solution that Auto Fills Cells

    Quote Originally Posted by Glenn Kennedy View Post
    Then use:

    =IF(A4="",C3,A4) in C4 copied down

    and (if desired) copy/paste values back onto column A
    Well Done Glenn

  10. #10
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: In Search of a Solution that Auto Fills Cells

    You're welcome.



    If that takes care of your original question, please select "Thread Tools" from the menu link above and mark this thread as SOLVED.

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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] Clicking on cell that auto fills an X and removes all other auto fills in a range
    By ERaasio in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-26-2013, 12:31 PM
  2. Type Initials, Auto Fills Full Name
    By woolyflick in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-29-2013, 03:51 PM
  3. Drop-Down Box which auto-fills another cell
    By kimi4989 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2013, 11:53 PM
  4. Locking a column that auto fills with time.
    By VICTORIE in forum Excel General
    Replies: 0
    Last Post: 05-23-2012, 04:22 PM
  5. auto fills
    By raymonddic in forum Excel General
    Replies: 6
    Last Post: 06-07-2007, 10:02 PM
  6. Solution To Auto Height For Merged Cells
    By JoJo in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-16-2006, 05:58 PM
  7. [SOLVED] auto color blank cells ,best solution
    By bigdaddy3 in forum Excel General
    Replies: 1
    Last Post: 08-03-2005, 01:05 PM
  8. Question about auto fills or linking sheets
    By CEN in forum Excel General
    Replies: 4
    Last Post: 07-14-2005, 04: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