+ Reply to Thread
Results 1 to 2 of 2

Trying to consolidate data...I think

  1. #1
    Registered User
    Join Date
    09-11-2014
    Location
    Portland, Oregon
    MS-Off Ver
    2010
    Posts
    10

    Trying to consolidate data...I think

    I originally posted the below under the formulas topic, but this may be more appropriate for a macro:

    I have a worksheet with ~1300 rows of data and ~100 columns. Each row is unique and based on the data in the row, I'm using a formula to assign a "phase" to each row. Options are phase 1.1, 1.2, 2, or 3. One piece of data in each row is a master ID. Each master ID can be associated with 1 or more rows, i.e. 1 or more rows will have the same master ID. What I'm trying to do is if I have 5 rows with the same master ID, I want to be able to determine the latest phase among the 5 rows. So, if rows 1 - 4 are phase 1.1 and row 5 is phase 3, I want each of the 5 rows to indicate they're part of phase 3.

    Column A is the phase for each row. Column C is where I want the last phase identified and column K contains the master ID.

    Any help is appreciated!

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

    Re: Trying to consolidate data...I think

    Hi f-d- paste this ARRAY FORMULA in C2 and copy down:
    =MAX(IF(K$2:K$3000=K2,A$2:A$3000))

    *You must press CTRL+SHIFT+ENTER to confirm entry of an ARRAY FORMULA in the Formula Bar.
    When copying the formula to other cells, make sure the copied cell is not part of the Paste Area.


    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-14-2017 at 04:15 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. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  2. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  3. [SOLVED] Worksheet has multiple columns with same header title, need to consilidate into one
    By sspatriots in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 07-17-2014, 12:13 PM
  4. Replies: 2
    Last Post: 04-19-2014, 10:06 PM
  5. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  6. Searching data in 1 row, giving back data from column thats left to searched data
    By AmiGoCS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-29-2012, 05:16 PM
  7. Use of Excel to pull data from database daily, posting new data below older data
    By Ishness in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-09-2011, 10:08 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