Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
RedHook
 
Posts: n/a
Default Define and Reference fixed data in a table

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

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Ardus Petus
 
Posts: n/a
Default Define and Reference fixed data in a table

Say you have Alpha in F1, Harry in G1 and your data (including headers) in
A1:D4
Enter formula:
=INDEX(B2:D4,EQUIV(F1,A2:A4,0),EQUIV(G1,B1:D1,0))

HTH
--
AP

"RedHook" a écrit dans le message de news:
...
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



  #3   Report Post  
Posted to microsoft.public.excel.newusers
RedHook
 
Posts: n/a
Default Define and Reference fixed data in a table

Thanks Ardus - works great, although I had to use MATCH instead of
EQUIV for some reason.

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Ardus Petus
 
Posts: n/a
Default Define and Reference fixed data in a table

The reason is I'm a bloody frenchman, and forgot to translate the formula!

Cheers,
--
AP

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



  #5   Report Post  
Posted to microsoft.public.excel.newusers
RagDyeR
 
Posts: n/a
Default Define and Reference fixed data in a table

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" wrote in message
oups.com...
Thanks Ardus - works great, although I had to use MATCH instead of
EQUIV for some reason.


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Define chart range using indirect reference Thomas Charts and Charting in Excel 3 May 10th 06 09:44 PM
Define Name reference Lp12 Excel Worksheet Functions 0 February 19th 06 08:08 AM
AHHHH-Get Data from Multiple Excel workbooks JAA149 Excel Discussion (Misc queries) 5 October 30th 05 05:19 PM
Fan charts Dean Charts and Charting in Excel 7 May 30th 05 11:51 AM
Excel: Use a name with external workbook reference for data valida Fishyken Excel Worksheet Functions 3 March 11th 05 10:24 PM


All times are GMT +1. The time now is 05:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"