+ Reply to Thread
Results 1 to 4 of 4

Reformat Form Responses

  1. #1
    Registered User
    Join Date
    12-10-2017
    Location
    Queanbeyan, NSW Australia
    MS-Off Ver
    2016
    Posts
    26

    Reformat Form Responses

    I am attempting to reformat a spreadsheet that I have which is data from a client list that I collected from a online form.

    This is a client list for a salon where I have asked clients to provide information (i.e. mobile no, email etc.) The second part of the form asked that any client who has children (dependants) that are also clients that will have the same contact info (mobile, email) to list them out also.

    The raw data I have is for the client (parent) to highlight their dependants. Individual columns, I need to be able to use the dependant columns to add an additional row for each dependant.

    I have attached an example of the raw data that was received and also manually added below what my desired output would be. (This is all fictional data for the purpose of my query).

    I can obviously do this manually but I have hundreds of clients to go through.

    Any assistance on how I could make this happen would be greatly appreciated.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,879

    Re: Reformat Form Responses

    Would this presentation work for you?

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    I
    1
    Email address First name Last name Mobile no. Appointment notification(s) preference D.O.B. Number of dependents Dependent name Dependents
    2
    [email protected] Bernie Smith 0411222330 Text Message
    28419
    2
    Coen
    3
    [email protected] Bernie Smith 0411222330 Text Message
    28419
    2
    Ava
    4
    [email protected] Sabrena King 0411222332 Text Message
    2
    Scarlett
    5
    [email protected] Sabrena King 0411222332 Text Message
    2
    Hunter
    6
    [email protected] David Smith 0411222333 Email and Text Message
    29784
    2
    Jackson
    7
    [email protected] David Smith 0411222333 Email and Text Message
    29784
    2
    Tyler
    8
    [email protected] Kellie Deanes 0411222335 Text Message
    29451
    2
    Sienna
    9
    [email protected] Kellie Deanes 0411222335 Text Message
    29451
    2
    Cooper
    Sheet: Sheet1
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    12-10-2017
    Location
    Queanbeyan, NSW Australia
    MS-Off Ver
    2016
    Posts
    26

    Re: Reformat Form Responses

    Unfortunately that will not work. If there are three (3) members of one family.

    For example Jane Smith and her kids, John and Jill Smith, I would need an individual row per person even though the contact details (phone and email) for the children would be the same as the parent, Jane Smith in this example.

    Once I have the data in this format, it will then be imported back into my client software.

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

    Re: Reformat Form Responses

    This proposal is a Power Query/formula combination.
    1. Use the following Power Query advanced editor code to produce the green table:
    Please Login or Register  to view this content.
    2. The following formula will place DOB's only in the correct rows: =IF(AND(COUNTIFS(H$12:H12,H12)=1,M12>0),M12,"")
    3. The following formula will place parent and child in the correct rows: =IF(COUNTIFS(Table1_2[Email address],Table1_2[@[Email address]])=1,"",IF(N12<>"","Parent","Child"))
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Form Responses Automatically sorted in Spreadsheet
    By Footnah in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 02-27-2020, 06:38 AM
  2. Assigning values to form responses
    By jm594 in forum Excel General
    Replies: 2
    Last Post: 12-30-2019, 06:28 PM
  3. Changing Drop Down to Allow Multiple Responses and adding new responses to drop down
    By Anthony Buchanan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2016, 02:17 PM
  4. [SOLVED] Using form checkbox responses to determine which worksheets to show/hide
    By yukinosei in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-02-2014, 12:34 PM
  5. Replies: 1
    Last Post: 07-03-2012, 08:19 AM
  6. No Responses
    By DJGassman in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-19-2011, 07:26 AM
  7. Link Form Responses to Sheet
    By knarf in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-13-2009, 02:49 PM

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