Solved

# MS Excel

Posted on 2011-10-06
251 Views
I came across a study guide on MS Excel that said if you only have 1 column then it is a list, but if you have more than 1 column it is 2 dimensional...Thus, in the below example what is the second dimension  ?  What is the first dimension ?

First Name Last Name
Jack            Smith
Mary            Smith
0
Question by:upobDaPlaya

LVL 33

Assisted Solution

If you only have a column, is a list because the column number is always 1. Example:

(row,column): (1,1) (2,1) (3,1) etc...

If you have two columns, you can refer to each value by change row and column coordinates. Example:

(1,1) (1,2) (2,1) (2,2) etc...

On the example you provided, the 2nd dimension is the second column (Last Name).

jppinto
0

LVL 8

Expert Comment

Perhaps the comment in the guide was taken out  of context.
The dimension is up to you, i.e., dermined by how you are choosing to address the data...

First Name Last Name  Street   City
Jack            Smith    streeta  citya
Mary            Smithy    streetb   cityb

one-dimensional horizontal array:  Jack, Smith,    streeta,  citya,
one dimensional vertical array:   First Name; Jack;  Mary;

two-dimensional array  (Last Name, Jack;)   result= Smith
two-dimensional array  (Street, Mary;)  result= streetb

two-dimensional array  (Last Name, Jack; City, Mary;)  result= (a list result..)  Smith, cityb

0

LVL 8

Accepted Solution

Oh, and ippinto is right.  It does well to add that 'if you only have a row, its a list...'  etc holds equally true.

Note that row data is separated by commas, whereas columnar data is separated by semicolons.

In my table above:
For Row one - (1,2,3,4) = First Name, Last Name, Street, City

For Row two - (1,2,3,4) = Jack, Smith, streeta, citya

Within this context, those are both one-dimensional horizontal arrays.

For Column one:  (1;2;3;) = First Name; Jack; Mary
Within this context, this is a one-dimensional Vertical array

(1,1; 3,3)  ...is referencing a two dimensional array.
The result is  First Name; streetb
0

Author Closing Comment

Thanks all..this helped me explain two dimensions to the class
0

LVL 8

Expert Comment

Glad that helped. Thank you for the assignment ;^)
0

## Featured Post

A2 = A1 That kind of cell reference is relative.  If you copy it from A2 to B2, then B2 will get this: B2 = B1 That's all fine and good, but if you then insert a new row above row 2, you'll find: A3 = A1 B3 = B1 This is intentional. …
Sometimes we don't want to show zeros in our Excel spreadsheets. This is sometimes most evident in our charts. Look at the chart below, all the zero values are visible. I think that all will agree with the fact that zero values are not looking nice …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.