+ Reply to Thread
Results 1 to 3 of 3

Complicated Custom Auto Fill

Hybrid View

  1. #1
    Registered User
    Join Date
    12-22-2015
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    2

    Complicated Custom Auto Fill

    Hi Excel forum! I love this forum and this is my first post. This is probably a multi-part question, but I'm pretty desperate. Merry Christmas to me I think I've really screwed myself.

    I'm trying to re-sort some survey data in a way that makes sense to the end user. Each row is the survey date for 6 criteria for 6 cases.
    A1= user1 name B1= CaseName1 C2= CaseName2....repeat four columns then....H1-M1: Case 1 answers 1-6 N1-S1 Case 2 answers 1-6

    Mess. I need it to look like this:

    A1 = user1 B1 = CaseName1 C2-H2 = Case 1 answers 1-6
    A2 = user1 B2 = CaseName2 B2-H2 = Case 2 answers 1-6


    I used this formula =INDIRECT("A"&FLOOR(ROW(A6)/6,1)) to repeat A1 every six rows, so column A is solved (though I am looking for a step-by-step explanation of how that formula works!!!)

    I very much need help to fill out the rest. I have hundreds of rows of this one-user-gives-answers-for-six-cases-on-a-single-row that I need to autofill to turn into many more case-by-case rows.

    I wish I could SUM the point values, but I actually have to show each criteria in a separate column.


    Finally, you can see that there are often blanks and there is only info for 2 or 3 cases - it's rare someone actually has info for 6 complete cases. if there is a magical Array formula or something that will do ALL THIS and only populate rows WITH case data or if someone has an easy way to eliminate rows with blank case data (with the autofill for A1, there will always be data in A1 - i know how to eliminate blank rows) i will send you cookies.

    Please and thanks and happy holidays.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    12-22-2015
    Location
    Chicago
    MS-Off Ver
    2010
    Posts
    2

    Re: Complicated Custom Auto Fill

    UPDATE - I figured out how that INDIRECT formula works. SWEET.

    However, I'm still in trouble for the rest of it. Please help. Thanks!

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 365 version 2501
    Posts
    18,980

    Re: Complicated Custom Auto Fill

    Since you already have a formula to populate the "Responder" column I'll start with the "Case Name" column formula which is:
    =IF(INDIRECT(ADDRESS(MATCH(A8,A$1:A$4,0),MOD(ROW(A6),6)+2))=0,"",INDIRECT(ADDRESS(MATCH(A8,A$1:A$4,0),MOD(ROW(A6),6)+2)))
    The formula to fill in the "Case Answers" is:
    =IF(B8="","",(SUMPRODUCT(($A$2:$A$4=$A8)*(RIGHT($H$1:$AQ$1,2)=RIGHT(C$7,2))*(VALUE(MID($H$1:$AQ$1,7,1))=MOD(ROW(A6),6)+1)*($H$2:$AQ$4))))
    Here is your file with the formulas applied:
    Copy of Excel Example-1.xlsx
    Let me 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. Auto fill decimal sequence using custom fill or formula
    By 8cats in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-22-2013, 08:53 AM
  2. [SOLVED] Custom Auto Fill
    By thelordabdo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-22-2013, 05:13 AM
  3. how to create a custom auto fill sequence
    By lix333 in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 10-06-2012, 09:40 PM
  4. Replace Fill Down, Complicated Equation
    By thequiff in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 06-15-2012, 10:03 AM
  5. Replies: 1
    Last Post: 09-07-2011, 05:57 PM
  6. Custom Auto-Fill Question Similiar To Google
    By Peeekay in forum Excel General
    Replies: 7
    Last Post: 11-11-2010, 02:42 PM
  7. auto fill custom format numbers
    By NDBC in forum Excel General
    Replies: 2
    Last Post: 10-15-2009, 02:26 AM
  8. Custom auto fill question
    By method373 in forum Excel General
    Replies: 2
    Last Post: 12-24-2005, 12:34 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