+ Reply to Thread
Results 1 to 3 of 3

Creating a list based on table (harder than it sounds)

  1. #1
    Registered User
    Join Date
    07-06-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    46

    Creating a list based on table (harder than it sounds)

    Hi all,

    I am trying to derive a concise list from a table. There is 1 table per month and will be 1 list for each month.

    The January table is set out as follows:

    1. Job code (Vertical column A1:A29)
    2. Machine (Horizontal A1:Q1
    3. The data (B2:Q29)

    The data comes from an input tab and will vary each month as to which Machine has worked on which job. The attached table is a sum of hours logged per machine per job.

    The most iterations per month will likely be 10, so I don't mind if the list is has 6 entries with 4 blank - I have put the list in column R to the right of each table.

    Thanks in advance for your help.

    Mike
    Attached Files Attached Files

  2. #2
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Creating a list based on table (harder than it sounds)

    Hi, Manwithaplan!

    I divide the solution in four parts for your understanding.

    First part: [T2] : =IF(S2="","",INDEX(A$2:A$29,AGGREGATE(15,6,ROW(A$2:A$29)-ROW(A$1)/(B$2:Q$29>0),ROWS(T$2:T2))))
    Second part: [U2] : =IF(S2="","",INDIRECT(TEXT(AGGREGATE(15,6,1000*ROW(B$2:Q$29)+COLUMN(B$2:Q$29)/(B$2:Q$29>0),ROWS(U$2:U2)),SUBSTITUTE(ADDRESS(1,100,,0),1,0)),))
    Third part: [V2] : =IF(S2="","",INDEX(B$1:Q$1,RIGHT(AGGREGATE(15,6,1000*(ROW(B$2:Q$29)-ROW(A$1))+(COLUMN(B$2:Q$29)-COLUMN(A$1))/(B$2:Q$29>0),ROWS(V$2:V2)),3)))

    Four part (Joined Text): [W2] : =IF(S2="","",T2&" - "&U2&" hours at $XX/hour - "&V2)

    Check file with results. Blessings!
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    07-06-2016
    Location
    Australia
    MS-Off Ver
    2010
    Posts
    46

    Re: Creating a list based on table (harder than it sounds)

    I think there should be a standard function in excel to do this, but this is genius!!

    Thanks a lot johnmpl

    Mike

+ 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: 1
    Last Post: 08-21-2014, 11:23 AM
  2. Creating a table for daily data entry over a month based on list of assets.
    By Spicey_888 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2014, 03:30 AM
  3. [SOLVED] SUM of data based on names in other cell (more complicated that it sounds)
    By will561 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-19-2014, 08:39 AM
  4. Replies: 9
    Last Post: 02-26-2014, 04:17 PM
  5. Creating validation list from table column based on data in another column
    By dreamthrum in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-11-2013, 08:38 PM
  6. Creating a List from a Table, based on Cell Values
    By Dan86 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-28-2013, 06:01 PM
  7. Compiling a list... more complicated than it sounds!
    By sarahwebb in forum Excel General
    Replies: 3
    Last Post: 04-17-2009, 06:14 PM

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