+ Reply to Thread
Results 1 to 2 of 2

Size frequency matrix to individual size list

  1. #1
    Registered User
    Join Date
    08-07-2016
    Location
    Fairbanks, Alaska
    MS-Off Ver
    2011- Mac
    Posts
    2

    Size frequency matrix to individual size list

    Hello all,

    I am having a problem that for summary stats I need to reformat my data a bit. Currently it is in this format with sample rows, size columns, and count values.

    1mm 2mm 3mm 4mm 5mm
    Site 1 1 0 2 0 1
    Site 2 0 0 1 0 1
    Site 3 1 1 0 1 0
    etc

    I would like to get it as such

    Site 1: 1, 3, 3, 5
    Site 2: 3, 5
    Site 3: 1, 2, 4

    Any ideas? I am stuck!

    Thank everyone,
    Jacob

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Size frequency matrix to individual size list

    Hi,

    Assuming your Site names are in A2:A4, and that the 1mm, 2mm, etc are in B1:F1, and that the data is therefore in B2:F4,

    Please Login or Register  to view this content.
    should give you the required output.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ 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. Macro - File Size of Individual Worksheets
    By Excel-Access in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2015, 02:58 PM
  2. Eigenvector of matrix for nxn matrix of variable size
    By rocketscientist165 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-14-2014, 10:51 AM
  3. Copy Data Macro - Autoadjust matrix size?
    By heatwave in forum Excel General
    Replies: 3
    Last Post: 03-23-2011, 06:58 AM
  4. Variable Matrix Size
    By SpeedoJimmy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 05:36 AM
  5. Replies: 1
    Last Post: 03-30-2007, 10:30 AM
  6. Adjusting individual icon size in commandbars?
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2006, 03:50 PM
  7. [SOLVED] How to import a matrix of size 2057x2057
    By Kiran in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-28-2005, 12:06 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