+ Reply to Thread
Results 1 to 3 of 3

Fill cells based on occurrence of first match vertically, multiple columns

  1. #1
    Registered User
    Join Date
    12-04-2014
    Location
    sweden
    MS-Off Ver
    2010
    Posts
    5

    Fill cells based on occurrence of first match vertically, multiple columns

    Hi

    This is a little tricky to explain so I add both picture and xlsx file
    I want to consolidate 3 (or more) columns into one column, based on the latest cells value that occurs in an array. From top to bottom for each row. Most cells are empty, and there is only one value on each horizontal line. I'd like to fill (populate) a consolidated column based on the latest cell.

    Conditions
    More rows will be entered every day. But a formula in column E is ok to use and copy downwards.
    Consolidate into column E,
    AND
    fill the empty cells based on the previous value of any of the 3 columns. - I don't know how to do this part.

    Excelforum_fill_from_closest_cell_when_condition.xlsx

    Screenshot 2024-01-14 144631.jpg

    Regards
    Last edited by onni; 01-14-2024 at 10:05 AM. Reason: spelling

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,059

    Re: Fill cells based on occurrence ioffirst match vertically, multiple columns

    F2=IF(A2&B2&C2="",F1,A2&B2&C2), copy down.

  3. #3
    Registered User
    Join Date
    12-04-2014
    Location
    sweden
    MS-Off Ver
    2010
    Posts
    5

    Re: Fill cells based on occurrence ioffirst match vertically, multiple columns

    Quote Originally Posted by josephteh View Post
    F2=IF(A2&B2&C2="",F1,A2&B2&C2), copy down.
    Yes !! Thanks a lot. I was stuck on index and match for a while. This is great.

    Regards

+ 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] match vertically from 3 cells.
    By Dantyr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-28-2022, 05:03 PM
  2. [SOLVED] auto fill columns for multiple sheets based on match column with another sheet
    By abdo meghari in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-01-2022, 01:52 PM
  3. Replies: 16
    Last Post: 08-19-2019, 08:00 AM
  4. [SOLVED] Multiple Columns which need to be combined with some columns not having all the cells fill
    By kikboxr777 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-30-2014, 01:38 AM
  5. [SOLVED] Fill Cells based on 3 Criteria (2 that match and 1 that doesn't)
    By freybe06 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2013, 09:40 AM
  6. Replies: 2
    Last Post: 06-14-2013, 05:28 AM
  7. [SOLVED] VBA fill in cells in a new column in table based on multiple criteria from other columns
    By HRA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2013, 06:48 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