+ Reply to Thread
Results 1 to 6 of 6

Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

  1. #1
    Registered User
    Join Date
    04-29-2015
    Location
    Tempe, Arizona
    MS-Off Ver
    2013
    Posts
    10

    Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    Data.JPG

    On the left hand side of the above image is the raw data I was given. The data is a mess and I am trying to reformat it. On the right is the setup I would like.

    The data on the left is from a survey. For example for Question 3, the question is in yellow and the row below it includes options (Bank Account, RefWorks Account, ILLIAD account, Library Account). Below the options is the selection.
    1 is the first option listed in the survey and would be the equivalent of an A in a scantron.

    On the reformatted sheet on the right for cell D3 I used the following formula, referring to the raw data and using the equivalent of an H lookup:
    =INDEX(Raw!$M$4:$M$22,MATCH(AdvForm!A3,Raw!$A$4:$A$22,0))

    The problem with the above formula is that I am singling out one vertical column, I need a formula to match the row (respondent) to their answer within the cell range L:O.
    Should I do a nested if statement? By Evaluating if the Index/Match displays the lookup value if not evaluate the next formula??
    Please let me know what would work best?
    This data is driving me crazy
    Attached Images Attached Images

  2. #2
    Registered User
    Join Date
    03-08-2014
    Location
    United Kingdom
    MS-Off Ver
    Office 2010, Office 2013 & Office 2016 / 365
    Posts
    23

    Re: Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    If there is only going to be one answer per question you could use this formula:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This finds the first non blank cell in the range. Hope this helps, but if there are multiple answers then only the first will be returned.

  3. #3
    Registered User
    Join Date
    04-29-2015
    Location
    Tempe, Arizona
    MS-Off Ver
    2013
    Posts
    10

    Re: Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    formula(isblank).JPG

    i like that idea a lot, but for some reason I'm not able to get it to work.
    I am receiving an N/A

  4. #4
    Registered User
    Join Date
    03-08-2014
    Location
    United Kingdom
    MS-Off Ver
    Office 2010, Office 2013 & Office 2016 / 365
    Posts
    23

    Re: Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    Sorry should of said you need to Ctrl + Shift + Enter the formula

    I hope that works

  5. #5
    Registered User
    Join Date
    04-29-2015
    Location
    Tempe, Arizona
    MS-Off Ver
    2013
    Posts
    10

    Re: Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    Perfect it worked! Sorry didn't realize it was an array. Thank you!

  6. #6
    Registered User
    Join Date
    03-08-2014
    Location
    United Kingdom
    MS-Off Ver
    Office 2010, Office 2013 & Office 2016 / 365
    Posts
    23

    Re: Messy Data- Have attempted using Index/Match, but there are multiple headings. need IF

    No problem - happy to help

+ 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. Three Variable Match / Index (With different column headings)
    By burgie10 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-04-2015, 12:54 PM
  2. Using Index Match to return multiple results with very messy data.
    By falkon007 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 01-30-2013, 12:28 PM
  3. Replies: 5
    Last Post: 02-29-2012, 08:51 PM
  4. Replies: 2
    Last Post: 01-27-2012, 01:32 PM
  5. INDEX MATCH and change column headings
    By thart21 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2011, 11:19 AM

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