MS Excel

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
upobDaPlayaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jppintoCommented:
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
twohawksCommented:
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


 
twohawksCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
upobDaPlayaAuthor Commented:
Thanks all..this helped me explain two dimensions to the class
twohawksCommented:
Glad that helped. Thank you for the assignment ;^)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.