+ Reply to Thread
Results 1 to 6 of 6

Filling missing data

  1. #1
    Registered User
    Join Date
    08-07-2015
    Location
    London
    MS-Off Ver
    MS Office 2013
    Posts
    8

    Filling missing data

    Hi all,

    Can anyone advise on how to fill empty cells in Excel in Column 2, based on this example, please:

    Column 1 Column 2
    red
    red 471
    red
    yellow 25
    yellow
    green
    green
    green 119
    green
    purple
    purple
    purple 4758

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Filling missing data

    Column 3
    =SUMIF(A:A,A1,B:B) and copy down.

    Copy column 3

    Paste values on 2
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    08-07-2015
    Location
    London
    MS-Off Ver
    MS Office 2013
    Posts
    8

    Re: Filling missing data

    Great! That was a fast time-saving solution!
    I noticed from my data that in some instances two or more of the same Column 1 values may already be addressed in Column 2. In the example, the formula applied would change the value "119" for "green" to "238". Is there a correction to the formula, please?

    Column 1 Column 2
    red
    red 471
    red
    yellow 25
    yellow
    green
    green 119
    green 119
    green
    purple
    purple
    purple 4758

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Filling missing data

    =lookup(2,1/(($a$1:$a$500=a1)*($b$1:$b$500<>"")),$b$1:$b$500)

  5. #5
    Registered User
    Join Date
    08-07-2015
    Location
    London
    MS-Off Ver
    MS Office 2013
    Posts
    8

    Re: Filling missing data

    Great! Thanks for your help!

  6. #6
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Filling missing data

    Thanks for the feedback. Glad it all worked out.

+ 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. Entering data into table and filling in missing dates
    By troutman in forum Excel General
    Replies: 7
    Last Post: 10-01-2014, 10:43 AM
  2. Filling missing values
    By mahjid in forum Excel General
    Replies: 2
    Last Post: 08-09-2013, 12:30 PM
  3. [SOLVED] Filling in id number that are missing from two spreadsheets
    By tantcu in forum Excel General
    Replies: 3
    Last Post: 01-21-2013, 01:59 PM
  4. Filling missing data and inserting rows
    By eddiepop in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-01-2011, 05:39 PM
  5. Excel 2007 : Filling in missing cells with data in a series.
    By Jeepster1971 in forum Excel General
    Replies: 0
    Last Post: 08-23-2010, 04:19 PM
  6. Filling in missing data
    By dee in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2006, 03:10 AM
  7. Filling in missing data
    By filky in forum Excel General
    Replies: 5
    Last Post: 06-23-2006, 09:45 AM

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