Share via

How To Input Multiple Responses For 1 Variable in Excel

Anonymous
2019-06-14T21:43:45+00:00

Hello, I have been having some trouble finding an answer for how to do this, probably because I'm having trouble explaining it. I'm trying to set up an excel spreadsheet to account for multiple data points under a single variable; essentially, for each case (row) there is a variable of diagnosis (column), and for most cases there are 2-4 separate diagnoses.  I want to be able to create a bubble chart looking at the frequencies of each diagnosis by age and gender (other variables I have), but at the moment I can only do comparisons with "Diagnosis A" (one column), "Diagnosis B" (second column) and so on, instead of all the instances of each diagnosis together. Is there a way to fix this?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Ashish Mathur 101.9K Reputation points Volunteer Moderator
2019-06-14T23:56:45+00:00

Hi,

Select the entire dataset (including the header row) and go to Insert > Table.  Click on any one cell in the Table and go to Data > From Table/Range.  In the Query Editor, select the first 3 columns, right click and select "Unpivot other columns".  Rename columns, if required.  Click on Close and Load.

Now try to build your desired chart.

Hope this helps.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Anonymous
    2019-06-14T23:47:45+00:00

    Here's the way I have the data laid out

    And I'm looking to do a bubble chart like so

    Was this answer helpful?

    0 comments No comments
  2. Ashish Mathur 101.9K Reputation points Volunteer Moderator
    2019-06-14T23:25:32+00:00

    Hi,

    Share your data layout and if possible show the expected result (not your desired graph but just the form in which you would like to transform your original table).

    Was this answer helpful?

    0 comments No comments