PC Review


Reply
Thread Tools Rate Thread

Define and Reference fixed data in a table

 
 
RedHook
Guest
Posts: n/a
 
      12th May 2006
Hi All

I'm new to Excel and would like to know if it's possible to do the
following:

Define a table(2 dimensional array) of fixed data like this:

Tom Dick Harry

Alpha 10 7 5

Bravo 6 27 4

Charlie 17 22 8


I'd then like to be able to reference each element in the array using
the row and column identifiers as indexes, so (Alpha, Harry) would
return 5, (Charlie,Harry) would return 8 and so on.

Tia
RH

 
Reply With Quote
 
 
 
 
Ardus Petus
Guest
Posts: n/a
 
      12th May 2006
Say you have Alpha in F1, Harry in G1 and your data (including headers) in
A14
Enter formula:
=INDEX(B24,EQUIV(F1,A2:A4,0),EQUIV(G1,B11,0))

HTH
--
AP

"RedHook" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> Hi All
>
> I'm new to Excel and would like to know if it's possible to do the
> following:
>
> Define a table(2 dimensional array) of fixed data like this:
>
> Tom Dick Harry
>
> Alpha 10 7 5
>
> Bravo 6 27 4
>
> Charlie 17 22 8
>
>
> I'd then like to be able to reference each element in the array using
> the row and column identifiers as indexes, so (Alpha, Harry) would
> return 5, (Charlie,Harry) would return 8 and so on.
>
> Tia
> RH
>



 
Reply With Quote
 
RedHook
Guest
Posts: n/a
 
      12th May 2006
Thanks Ardus - works great, although I had to use MATCH instead of
EQUIV for some reason.

 
Reply With Quote
 
Ardus Petus
Guest
Posts: n/a
 
      12th May 2006
The reason is I'm a bloody frenchman, and forgot to translate the formula!

Cheers,
--
AP

"RedHook" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> Thanks Ardus - works great, although I had to use MATCH instead of
> EQUIV for some reason.
>



 
Reply With Quote
 
RagDyeR
Guest
Posts: n/a
 
      12th May 2006
With your present configuration, you might try the "intersection operator",
which is a <Space>.

=Bravo Dick
OR
=Dick Bravo
Will return 27

AS well as
=Alpha Harry
Will return 5

And
=Tom Charlie
Will return 17


--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================

"RedHook" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Thanks Ardus - works great, although I had to use MATCH instead of
EQUIV for some reason.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to define a Class with fixed size array of sub structures shofu_au@yahoo.com.au Microsoft C# .NET 1 27th Jun 2007 02:41 PM
update data in a table with with reference to another =?Utf-8?B?YW5hbnRh?= Microsoft Access VBA Modules 1 27th May 2007 10:26 PM
Define Name reference =?Utf-8?B?THAxMg==?= Microsoft Excel Worksheet Functions 0 19th Feb 2006 08:08 AM
CREATE TABLE: how to define a field's DEFAULT data value? =?Utf-8?B?RWQgQg==?= Microsoft Access Queries 4 11th Jan 2006 04:06 PM
How to define a fixed/unlinked named range? Perspek Microsoft Excel Discussion 1 2nd Aug 2005 11:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:57 PM.