+ Reply to Thread
Results 1 to 6 of 6

Summarise Text from data table based on lookups on row and column header

  1. #1
    Registered User
    Join Date
    01-16-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    13

    Summarise Text from data table based on lookups on row and column header

    Sorry for the complicated Title. I don't really know how to explain what I need in a sentence.

    I have a system where staff will input data with a user form that populates a table equivalent to DataTbl in the attached sheet.

    I need to then summarise the data in a separate table where one axis shows the categories and the other shows the current weeks dates (Week commencing last friday).
    The table then needs to be populated with the details (Which is free text entry) from the DataTbl, cross referencing both the row and column header.
    Obviously there will potentially be more than one entry that applies and as such my intention was to concatenate the details of each entry that fits the bill.

    I am happy with any solution although favourably I wont include power query as some of our systems are on 2013 and we cant use add ins.

    Any help appreciated.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-05-2012
    Location
    Malaysia
    MS-Off Ver
    Excel 2019
    Posts
    74

    Re: Summarise Text from data table based on lookups on row and column header

    I would suggest you to also create a sample of excel worksheet manually enter the results you want. It would be easier for others to assist you with a solution.

  3. #3
    Registered User
    Join Date
    01-16-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    13

    Re: Summarise Text from data table based on lookups on row and column header

    Ok i have updated the sheet to show what results i want.

    Hopefully it makes sense now.

    The reason i don't just want to use a pivot is because i need all of the blanks and the dates have to simply show the current week (beginning Friday).
    I think i might be able to force just be having VBA produce some dummy data onLoad? It's hacky though.

    Is there anything more simple i am missing here?
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Summarise Text from data table based on lookups on row and column header

    This proposal involves custom sorting the data by date (oldest to newest) and category (A to Z).
    1. After sorting use the follow to collect the text in DataTbl[Column1]: =IF(AND(A4=A3,B4=B3),D3&","&CHAR(10)&C4,C4)
    2. Use the following to identify the data to be displayed: =OR(A4<>A5,B4<>B5)
    3. Fill the Result table using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  5. #5
    Registered User
    Join Date
    01-16-2020
    Location
    London
    MS-Off Ver
    365
    Posts
    13

    Re: Summarise Text from data table based on lookups on row and column header

    Thanks so much for this. it works! I have no idea how but i will work it out.

    Cheers mate.

  6. #6
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,567

    Re: Summarise Text from data table based on lookups on row and column header

    You're Welcome and thank you for the feedback. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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] Display table of data based on lookups
    By trench3368 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 01-08-2018, 12:09 PM
  2. [SOLVED] How to return column header based on a value from a table
    By elf607 in forum Excel General
    Replies: 12
    Last Post: 09-30-2016, 08:43 AM
  3. Replies: 6
    Last Post: 09-27-2016, 07:36 AM
  4. Copy data based on column header in a table to a new location
    By karthik.jaish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2016, 03:05 AM
  5. [SOLVED] Find Row in Table based on Column Header
    By thisguy4000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2014, 12:55 PM
  6. [SOLVED] SUMIF Query: How to summarise values based on data extracted from a text string
    By The_Snook in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-17-2013, 10:12 AM
  7. Replies: 2
    Last Post: 10-13-2012, 03:30 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