+ Reply to Thread
Results 1 to 4 of 4

How to fill blanks between column and row

  1. #1
    Registered User
    Join Date
    06-07-2017
    Location
    Dallas, Tx
    MS-Off Ver
    2016
    Posts
    2

    How to fill blanks between column and row

    Hi, I have data that looks like this starting at A1 - A5 & A1 - E1:
    Ben Dan Ike Tim Jon
    Dan
    Ike
    Tim
    Jon


    I need it to look like this:
    Ben Dan Ike Tim Jon
    Dan Dan Ike Tim Jon
    Ike Ike Ike Tim Jon
    Tim Tim Tim Tim Jon
    Jon Jon Jon Jon Jon

    Any Suggestions?

  2. #2
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How to fill blanks between column and row

    Hi FloydTx- Try this in B2 ( copy across and down):
    =IF(ROWS($A$1:A1) < COLUMNS($A$1:A1),B$1,$A2)

    Row\Col
    A
    B
    C
    D
    E
    1
    Ben Dan Ike Tim Jon
    2
    Dan Dan Ike Tim Jon
    3
    Ike Ike Ike Tim Jon
    4
    Tim Tim Tim Tim Jon
    5
    Jon Jon Jon Jon Jon


    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 06-07-2017 at 08:41 PM.

  3. #3
    Registered User
    Join Date
    06-07-2017
    Location
    Dallas, Tx
    MS-Off Ver
    2016
    Posts
    2

    Re: How to fill blanks between column and row

    Thank you so much for the help. Works great.

    One last question, similar topic.

    If I have data that originally looked like this ( "|" <-- indicates new cell and "." are just empty space... ignore. Put in to make the pic more accurate):


    Ben | Baseball | 3
    Ben | Football | 4
    Ben | Soccer | 3
    Ben | Softball | 1
    Rob | Baseball | 3
    Rob | Archery | 6

    I need it to look like this:
    ........| Baseball | Football | Soccer | Softball | Archery
    Ben...|....3.......|......4......|....3.....|.....1.....|.............|
    Rob...|.....3......|..............|..........|.............|.....6......|

    Any ideas?
    Last edited by FloydTx; 06-08-2017 at 04:08 PM.

  4. #4
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: How to fill blanks between column and row

    Something like this? Formula in G2,copy across and down:

    =SUMIFS($C$1:$C$6,$A$1:$A$6,$F2,$B$1:$B$6,G$1)

    Row\Col
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    1
    Ben Baseball
    3
    Baseball
    Football
    Soccer
    Softball
    Archery
    2
    Ben Football
    4
    Ben
    3
    4
    3
    1
    0
    3
    Ben Soccer
    3
    Rob
    3
    0
    0
    0
    0
    4
    Ben Softball
    1
    5
    Rob Baseball
    3
    6
    Rob Archery
    6



    Please click the Add Reputation star below any helpful posts, and if you have your answer, mark your thread as SOLVED (Thread Tools up top). Thanks!-Lee
    Last edited by leelnich; 06-08-2017 at 04:51 PM.

+ 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] VBA to loop and fill blanks with data from left column if values exist in 3 cells?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-04-2016, 05:08 PM
  2. [SOLVED] Code to fill in blanks between entries in column
    By phbryan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-23-2015, 09:35 AM
  3. Need to fill blanks in a column
    By bclucas55 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2014, 11:27 AM
  4. [SOLVED] Macro to fill in missing blanks with data in a column
    By robertguy in forum Excel General
    Replies: 6
    Last Post: 10-19-2012, 02:49 AM
  5. Scan a Column A (numbers and blanks) and copy its contents WITHOUT BLANKS into Column B
    By bighandsam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 05:16 PM
  6. Fill blanks in Column
    By LongArm in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-20-2010, 11:15 PM
  7. Copy selected cell in column and fill in blanks
    By Bluestar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2005, 10:28 AM

Tags for this Thread

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