+ Reply to Thread
Results 1 to 4 of 4

Can I store an array of data within a table?

  1. #1
    Registered User
    Join Date
    05-15-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2010
    Posts
    42

    Can I store an array of data within a table?

    I work in manufacturing and we create parts. Every time we make a part we have to check hardness of a set number of parts (depending on how many total we make). I want to make a table that capture the part number, the manufacture data, and then all the hardness we got for that date. How do I make a table to account for this variable number of hardness data points?

    Can I store an array of data for each cell in a column (e.g. Column 4 - Hardness)?

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can I store an array of data within a table?

    Hi,

    To facilitate subsequent analysis keep your data is a normalised flat table with columns for


    Date
    PartNumber
    Manufacture Data
    Hardness Value

    it will mean that you have a row for every observation of a part number and hardness value.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    05-15-2013
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2010
    Posts
    42

    Re: Can I store an array of data within a table?

    Quote Originally Posted by Richard Buttrey View Post
    Hi,

    To facilitate subsequent analysis keep your data is a normalised flat table with columns for


    Date
    PartNumber
    Manufacture Data
    Hardness Value

    it will mean that you have a row for every observation of a part number and hardness value.
    So just 1 massively large table with all the data for all parts and dates combined?

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Can I store an array of data within a table?

    Indeed.

    You'll have stuff entered in somewhat more cells than if you only had one row for a date/partnumber combination and used successive columns to record different hardness measures for the date/partno combo, but subsequent analysis and summarisation will be extremely simple, plus you'll be able to use a pivot table which will mean you'll be able to analyse your data in ways you've not yet thought of.

    The way I often do this sort of stuff is have a dedicated row in which I enter the 4 values, and then click a button to kick off a macro that copies that new data to the table. It avoids having to scroll up & down to enter stuff. And if your part numbers and hardness values are somewhat standard and can be held as values in two other tables you could have drop downs in the input cells so that you can simply pick the values from the drop down and save time typing.
    Last edited by Richard Buttrey; 01-14-2015 at 12:07 PM.

+ 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] How to store variable data into an array - help on arrays
    By mandukes in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-15-2014, 09:24 AM
  2. Store data into an array if/based on specific conditions met
    By exlgh91 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-21-2013, 11:38 AM
  3. Replies: 25
    Last Post: 01-24-2013, 06:07 AM
  4. Can i add another dimension to my variant array and store additional data?
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2012, 12:29 PM
  5. How Do You Take Data Off A Sheet and Store It In An Array
    By Raleigh in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-17-2006, 04:50 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