+ Reply to Thread
Results 1 to 10 of 10

Multiple variables

  1. #1
    Registered User
    Join Date
    08-16-2015
    Location
    Oxford, England
    MS-Off Ver
    2013
    Posts
    5

    Multiple variables

    Hi all,

    I am a historian and I have very little experience with Excel. I am assuming this is a silly question, but I would like to have three sets of variables in my data. I.e. I want to look at which textbooks were read at different schools over a 20 year period of time. So I have around 70 textbooks, 23 institutions, and the textbooks used at each institution each year. So I would like to produce a graph or table that lets me show which textbooks were more popular at which points in time, and in which institutions. I would greatly appreciate any help!

    Best wishes,

    Zahra

  2. #2
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Multiple variables

    Do you have a workbook with the data in? If so, can you post it here? or if you're precious about the data, create a sample sheet with some pretend versions of the data in.
    If someone has helped you then please add to their Reputation

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,444

    Re: Multiple variables

    At first glance you might want to use a Pivot Table. Basics are explained at http://www.contextures.com/CreatePivotTable.html ( and other places of course)

  4. #4
    Registered User
    Join Date
    08-16-2015
    Location
    Oxford, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple variables

    Hi, I'm not precious about my data! I just don't even have it in a workbook properly because I don't know how to arrange it. Right now it's in this kind of form (I just started putting it in this way and know that even this might be flawed):

    1830 1831 1832
    Institution
    Calcutta Madrasa Bedil
    Calcutta Madrasa Tughra
    Calcutta Madrasa Akhlaq-I Nasiri
    Calcutta Madrasa Akhlaq-I Jalali
    Allahabad Free School Akhlaq-I Muhsinin
    Allahabad Free School Insha-I Harkaran
    Allahabad Free School Sikandarnama
    Allahabad Free School Meena Bazar
    Allahabad Free School Zuhuri
    Allahabad Free School Urfi
    Allahabad Free School Tughra


    As you can see, since everything varies each year, I have started putting in the data, repeating each institution so that I can write in each textbook (such as Zuhuri, Bedil) separately.

    Thank you!

  5. #5
    Registered User
    Join Date
    08-16-2015
    Location
    Oxford, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple variables

    The data is in a table form and that didn't paste properly. But The institutions are under institution, while the years run across the table, and so in the table above 'Bedil' 'Tughra' etc are under '1831'

  6. #6
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Multiple variables

    Fist things first, is the data you want in a workbook hard copy or electronic? if the latter then we may be able to get it into Excel without much fuss but thats an aside to your question.

    Apologies, Im still having problems visualising the data you have even with the explanation as you have 4 heading "1830","1831","1832","Institution" but then the 1st row has 3 items of data but your explanation seems to indicate that the 3rd item "Bedil" is in the 2nd column "1831"

    Could you make that table into a very basic spreadsheet, by just typing the data into the relevant cells and then upload that in a post?

  7. #7
    Registered User
    Join Date
    08-16-2015
    Location
    Oxford, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple variables

    Ok thank you for your time! I have got this so far. Am still filling in the data. The years go across the table, while Institutions go down. The texts are in the middle.

    Textbooks.xlsx

  8. #8
    Forum Expert
    Join Date
    10-09-2014
    Location
    Newcastle, England
    MS-Off Ver
    2003 & 2013
    Posts
    1,986

    Re: Multiple variables

    What Id say, to start with is that if you're just looking for a way to store the data then the best way for charting, data analysis etc would be to change it to a simple 3 column sheet showing (in no particular order)

    Institution
    Text
    Year

    Ive amended your workbook to show this in a 2nd sheet, Ive then added a very basic Pivot Table/Chart to show the power of these as per Pepe's suggestion. These are definitely worth playing with. Once you have some definite view of the data you want out then I'll happily take a further look.

    What should alwys be remembered is that you dont have to store your data in the format you want it displayed, many of my workbooks have a mass of data hidden away thats just a jumble but then have numerous sheets ordering and displaying this in some sensible way.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-16-2015
    Location
    Oxford, England
    MS-Off Ver
    2013
    Posts
    5

    Re: Multiple variables

    Thank you so much! This is incredibly helpful. I had no idea something like this could be done - thank you again!

    Also Pepe le Mokko - I didn't respond to your earlier suggestion because I hadn't heard of pivot charts and thought they would be incredibly complicated. But thanks!

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Multiple variables

    The pivot table appears to be the way to go. I have reservations about the use of graphs because of the number of texts, institutions and years. I think that this would create a very "busy" chart that is difficult to read. I agree with pjwhitfield about the layout of the data. I created the same layout that he did by selecting all the data and sorting in order of institution then used Freeze Panes to keep the institutions in view as well as the year. This made it very easy to copy and paste the data for each institution and enter the proper year.

    The pivot table is the same, I think, but I applied Conditional Formatting to show the values rated by colour. You could also have a table produced that would identify the most popular text for every year. This would be more easily shown with a lot more data because right now there are years where all the texts are equal.

    I will upload the workbook so that you can maybe see the possibility of the Conditional Formatting.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Excel Vlookup, multiple sheets and multiple variables
    By caninekopz in forum Excel General
    Replies: 3
    Last Post: 11-27-2013, 10:33 AM
  2. Replies: 1
    Last Post: 07-16-2013, 01:54 AM
  3. [SOLVED] INDEX/MATCH Multiple Worsheets Multiple Variables
    By Jadvancing in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2013, 06:42 PM
  4. Variables to multiple cells on multiple sheets
    By BoBoCoDeR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-06-2012, 05:02 PM
  5. Multiple variables:bunch of variables
    By sbq80 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-19-2009, 04:22 PM
  6. Replies: 9
    Last Post: 02-16-2009, 12:46 PM
  7. IF statement using multiple variables to give multiple outcomes
    By stujordan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-06-2009, 06:46 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