PC Review


Reply
Thread Tools Rate Thread

Database Analysis Question

 
 
=?Utf-8?B?c2tpZXI0NjQ=?=
Guest
Posts: n/a
 
      19th Sep 2006
Hi,

I have the following

Column A B C D E F G
Row
1 Z Y X W V U
2 22 1A 2B 3C 4B 5A 6Z
3 33 1H 3H 4K 7B 8I 9L
4 44 7Q 7N 5M 3P 4G 3E

What I need is if ROW 1 = X and Column A = 33 then the answer is 4K. This is
for a spreadsheet that is 200 columns by 25,000 rows so I really appreciate
the help.

Thanks!
 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      19th Sep 2006
One way ..

Assume source table in Sheet1,
col headers in B1 across, row headers in A2 down

In a new sheet,

In A1: 33
In B1: X

Then in C1:
=OFFSET(Sheet1!$A$1,MATCH(A1,Sheet1!A:A,0)-1,MATCH(B1,Sheet1!$1:$1,0)-1)
will return the required result from the source table (ie 4K). C1 can be
copied down to return correspondingly for other pairs of inputs in A2:B2,
A3:B3, etc.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"skier464" wrote:
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K. This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really appreciate
> the help.
>
> Thanks!

 
Reply With Quote
 
=?Utf-8?B?TWF4?=
Guest
Posts: n/a
 
      19th Sep 2006
One way ..

Assume source table in Sheet1,
col headers in B1 across, row headers in A2 down

In a new sheet,

In A1: 33
In B1: X

Then in C1:
=OFFSET(Sheet1!$A$1,MATCH(A1,Sheet1!A:A,0)-1,MATCH(B1,Sheet1!$1:$1,0)-1)
will return the required result from the source table (ie 4K). C1 can be
copied down to return correspondingly for other pairs of inputs in A2:B2,
A3:B3, etc.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"skier464" wrote:
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K. This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really appreciate
> the help.
>
> Thanks!

 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      19th Sep 2006
skier464 wrote:
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K. This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really appreciate
> the help.
>
> Thanks!

If instead of Z Y X W V U... (although those particular letters work)
and 22 33 44...(the numbers don't) you had permissible range names for
column and row headers, e.g., prod1 prod2 prod3... and item1 item2
item3, then you could highlight your table including the headers, click
Insert|Name|Create, and highlight Top row and Left column. Then you
could simply enter, e.g., =item2 prod3

That would return the sought value at the intersection.

Alan Beban
 
Reply With Quote
 
Alan Beban
Guest
Posts: n/a
 
      19th Sep 2006
skier464 wrote:
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K. This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really appreciate
> the help.
>
> Thanks!

If instead of Z Y X W V U... (although those particular letters work)
and 22 33 44...(the numbers don't) you had permissible range names for
column and row headers, e.g., prod1 prod2 prod3... and item1 item2
item3, then you could highlight your table including the headers, click
Insert|Name|Create, and highlight Top row and Left column. Then you
could simply enter, e.g., =item2 prod3

That would return the sought value at the intersection.

Alan Beban
 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      19th Sep 2006
Hi

=INDEX($1:$25000,MATCH(33,$A:$A,0),MATCH("X",$1:$1,0))

--
Regards

Roger Govier


"skier464" <(E-Mail Removed)> wrote in message
news1923A2F-704B-466D-B541-(E-Mail Removed)...
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K.
> This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really
> appreciate
> the help.
>
> Thanks!



 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      19th Sep 2006
Hi

=INDEX($1:$25000,MATCH(33,$A:$A,0),MATCH("X",$1:$1,0))

--
Regards

Roger Govier


"skier464" <(E-Mail Removed)> wrote in message
news1923A2F-704B-466D-B541-(E-Mail Removed)...
> Hi,
>
> I have the following
>
> Column A B C D E F G
> Row
> 1 Z Y X W V U
> 2 22 1A 2B 3C 4B 5A 6Z
> 3 33 1H 3H 4K 7B 8I 9L
> 4 44 7Q 7N 5M 3P 4G 3E
>
> What I need is if ROW 1 = X and Column A = 33 then the answer is 4K.
> This is
> for a spreadsheet that is 200 columns by 25,000 rows so I really
> appreciate
> the help.
>
> Thanks!



 
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
Database Analysis Skip Bisconer Microsoft Access Getting Started 2 6th Dec 2007 04:01 AM
Database Analysis Question =?Utf-8?B?c2tpZXI0NjQ=?= Microsoft Excel Misc 8 19th Sep 2006 10:35 AM
Database Analysis Question =?Utf-8?B?c2tpZXI0NjQ=?= Microsoft Excel Worksheet Functions 0 19th Sep 2006 08:51 AM
customer database for mailings and invoice analysis =?Utf-8?B?QXJ0aHVy?= Microsoft Excel Misc 1 23rd May 2006 04:27 AM
Database Analysis of Existing DB's D. Harrigan via AccessMonster.com Microsoft Access Database Table Design 1 2nd Mar 2006 07:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:32 AM.