+ Reply to Thread
Results 1 to 6 of 6

Unable to fill down certain data that matches a value in a different column

  1. #1
    Registered User
    Join Date
    08-21-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    19

    Unable to fill down certain data that matches a value in a different column

    Not sure if I worded that correctly but you'll be able to see what I'm talking about with the screenshot that I will provide. I have 3 columns, A,B,C. The middle one B is not important. I have multiple part numbers that have a corresponding value in column C, but only for a select few. I need to be able to fill the rest of C in with it's corresponding part number.

    Example.png

    Hopefully it seems clear what I want to do. I want to fill down the value in column C but only if it has the matching part number that is in column A.

    Thanks in advance.
    Last edited by dylanvv; 11-05-2014 at 12:52 PM.

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: Unable to fill down certain data that matches a value in a different column

    If you first sort by column C, that will put all your blanks to the bottom of column C. Select the top blank cell - let's say that the first blank cell is C25 - and enter the formula

    =IFERROR(VLOOKUP(A25,A$2:C$24,3,FALSE),"")

    Note how A25 is the same row, but C$24 is the row above, which has a value. For example, if the first blank cell was C456, you would use A456 and C$455.

    Then copy that formula down to match column A, copy the formulas and paste-special values to get rid of the formulas, and then re-sort your table by column A. And you're done....
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Registered User
    Join Date
    08-21-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    19

    Re: Unable to fill down certain data that matches a value in a different column

    Hey Bernie,

    Well I attempted to use the formula that you provided but the main issue is when I resort everything, then all of the corresponding values for everything seems to get all messed up. I know that I said in the initial post the the column B wasn't important but it still needs to line up with it's part number. So I don't think the formula you provided is going to work..

  4. #4
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: Unable to fill down certain data that matches a value in a different column

    You need to follow all my instructions, especially the convert the formulas to values prior to re-sorting. If that does not help (it should) re-post with a picture of what you want afterwards, since it really wan't clear from your description.

  5. #5
    Registered User
    Join Date
    08-21-2014
    Location
    Iowa
    MS-Off Ver
    2010
    Posts
    19

    Re: Unable to fill down certain data that matches a value in a different column

    Well I followed the instructions. I just don't think that I have been explaining what I need to be done very well. I'll have another picture here to demonstrate a little better. I just want to find an easy way to "fill down" the values that are in column "C" that correspond with their part number in column "A" If I did it manually it would take forever. And the main issue is that some of the part numbers don't have a value for them, so I have to skip them.

    Example1.png

  6. #6
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: Unable to fill down certain data that matches a value in a different column

    If you follow my step-by-step instructions. then that is exactly what you will get.

+ 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. Auto fill static cell on separate sheet based on changing cells in another sheet
    By lawrence24 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-15-2014, 12:31 PM
  2. Match values between 2 cells in separate columns and shift down if not matching
    By jimmyi189 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-25-2013, 01:54 PM
  3. Replies: 1
    Last Post: 04-11-2013, 01:02 PM
  4. Replies: 3
    Last Post: 04-05-2013, 01:56 PM
  5. Fill in cells based on other cell values
    By BrettW in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-21-2009, 11:46 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