+ Reply to Thread
Results 1 to 13 of 13

Scatter Plot combining Alphanumeric and Numeric Data

  1. #1
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Scatter Plot combining Alphanumeric and Numeric Data

    I am not sure exactly where to post this...but since I am wanting a scatter plot graph, I thought I should post it here.

    I am totally lost on how to begin putting this into Excel and setting everything up. Here is the situation:

    Students take reading level tests at the beginning of the year to determine what reading level they are on. This is denoted with AA, A, B, C, D...all the way through Z. The closer to Z a student is, the higher the reading level.

    Students also take a fluency test to determine how many words they know. This scale goes from 300 to 0...and each level spans 10 points...300-291, 290-281, 280-271...(I think I entered them incorrectly on the 1st attached file but will correct later).

    What I want...is to take those 2 pieces of data for each student, somehow combine them, then plot them on a graph using a scatter plot. See the attached picture as to how the graph should look. The 2nd attached picture is sample data that would be used.

    Is this even possible...combining 2 pieces of data to plot one place on the scatter plot?

    Thank you in advance for your assistance.
    Attached Images Attached Images

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    I don't see a chart of any kind in your pictures, so I am not sure I am understanding. What I do see in your pictures is the beginnings of a pivot table, though I am not sure. See if this is anything like what you are looking for (an intro to pivot tables in newer versions of Excel if needed: http://www.excel-easy.com/data-analy...ot-tables.html ):
    (Note that your profile indicates Excel 2003, so I did this in 2002 that should be a closer match to the commands in 2003. If your profile is in error, change it so that you get better help in the future).
    1) Select data table/database in 2nd picture.
    2) Data->Pivot table and pivot chart report (to bring up the pivot table wizard). Work through the wizard to select the source data and destination sheet/range.
    3) Drag "sight words" field into the row labels area. Drag "reading level" field into "column labels" area. Drag "reading level" field into "data items" area (because level is text, excel will assume you want a "count of each level" in this area).
    4) Select the row labels area -> Main Pivot table menu -> Pivot table submenu -> Group and show detail -> Select desired values (start at 0, finish at 300, by 10).

    Is that the kind of thing you are trying to do, or am I completely misunderstanding?
    3)
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    Thank you for your quick response MrShorty. I apologize for not updating my version of Excel. I am currently using Excel 2016.

  4. #4
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    Did you have any trouble following Excel Easy's instructions for creating a pivot table? Did you decide if that is what you are looking for?

  5. #5
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    To clarify more of what I'm wanting. I should say that picture 1 is what I want the graph/chart to look like...with the student names in the proper column and row according to their reading level and word fluency. For instance...let's say Bill took the reading level test and scored level K. Bill took the fluency test and scored a 264. According to picture 1, I would like Bill's name to be put in cell N7. Abby took the same two tests and scored a level C and 103 respectively. She would be put into cell F23.

    It is entirely possible to have multiple students in the same cell...is this doable as well? For instance, Jay scored a level C and 109 respectively. He would also be put into cell F23 along with Abby.

    Does this make it a little clearer?

  6. #6
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    I'm getting ready to see if I can work through it right now. I'll let you know soon. Thanks!

  7. #7
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    MrShorty, I don't think the pivot table is what I'm looking for.

    I would like to be able to combine the reading level...let's say H...with the fluency level....let's say 193...so get a data point H193...then plot that point onto the chart. The reading levels would be the column headings and the fluency divisions would be the rows. So, for H193, find the column heading H....then find where 193 falls....and the student's name would appear there. In the case of H193 using picture 1, the student's name would appear in cell K14.

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,819

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    With my limited experience with pivot tables and slicers and such, I still wonder if there is a way to accomplish what you want with those tools. Someone with a lot more experience with them would probably need to enter the discussion.

    I don't yet know if I would use VBA or regular worksheet functions for this. The approach I see using looks something like this:

    1) Two helper columns in the source data table that lookup row and column numbers for each record.
    1a) The row number lookup can be a simple MATCH() function, if you change column B in the first picture so that it is just the upper boundary of each range: 300,289,279,.... =MATCH(Pic2!B2,Pic1!$B$4:$B$29,-1).
    1b) Similar MATCH() function to get column number.
    2) Conditional concatenation or something to combine all names that match up with each row and column number combination.
    3) formulas or procedure to place each text string into its corresponding row,column position in the array/range.

    If I did that with formulas only, I would certainly use several helper columns/ranges. I might do all or part (especially part 3) using VBA (either sub or UDF). I haven't yet thought through all the details, hoping that you would be able to fill in most of that. How much help would you need to develop this kind of algorithm/procedure?

  9. #9
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    I am, at best, a beginner. I have little to zero knowledge of VBA and indepth Excel functions. So I would need considerable assistance.

  10. #10
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to Quick Post button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  11. #11
    Registered User
    Join Date
    05-14-2014
    MS-Off Ver
    Excel 2016
    Posts
    14

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    My apologies

  12. #12
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    I "borrowed" a user defined function from here:http://www.excelforum.com/tips-and-t...ml#post3096647


    Please Login or Register  to view this content.

    How to install your new code
    1. Copy the Excel VBA code
    2. Select the workbook in which you want to store the Excel VBA code
    3. Press Alt+F11 to open the Visual Basic Editor
    4. Choose Insert > Module
    5. Edit > Paste the code into the module that appeared
    6. Close the VBEditor
    7. Save your workbook (Excel 2007+ select a macro-enabled file format, like *.xlsm)


    In the attached I split the upper and lower Sight Word boundary scores in columns B:C. Then find this array entered formula in D4 filled down and across.

    If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  13. #13
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Scatter Plot combining Alphanumeric and Numeric Data

    By the way. Since you have Excel 2016 you may have the TEXTJOIN function. It is my understanding not all skus have it. If you do you won't need the user defined function above and you won't need to save as a macro enabled file.

+ 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. [SOLVED] Extracting Numeric data from alphanumeric
    By paradise2sr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-06-2013, 03:23 AM
  2. [SOLVED] Sorting numeric and alphanumeric data
    By scokaw in forum Excel General
    Replies: 7
    Last Post: 08-21-2012, 09:00 AM
  3. Replies: 2
    Last Post: 07-26-2012, 09:27 AM
  4. Pull numeric data from an Alphanumeric String
    By cwooten in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-21-2011, 11:25 AM
  5. [SOLVED] extract numeric data from alphanumeric rows using VBA / macros ?
    By h3lpMe in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-20-2011, 05:23 PM
  6. Scatter plot of two columns data
    By chz939 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-02-2007, 11:07 AM
  7. [SOLVED] parse numeric data from alphanumeric string
    By BlackIce in forum Excel General
    Replies: 5
    Last Post: 06-28-2006, 10:25 PM
  8. [SOLVED] Can I copy x-y scatter plot data direct from one plot to another?
    By Chris in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 06-03-2005, 09:05 AM

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