Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Extract data value using pick list

Hi Groupies

I have a spreadsheet similar to the following example:

H1 H2 H3
A101 A E I
A102 B F J
A103 C G K
A104 D H L

I would like to use a couple of pick lists to be able to select a row and
another to select a column and then have Excel return the intersecting value.
So, if in the first list I select A103 and in the second one I select H2, I
would have G in my found value.

I was thinking that the Index function would work, but I am just getting
#REF in my result. I was sure that I have done this before, but perhaps not.

Thanks in Advance.

--
Thanks for the brainwaves!

CJ
I blame the parents........
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default Extract data value using pick list

Assuming you already know how to use Data Validation to create a pick list...
Try this:

With
A1:D5 containing your posted table
and
F1 contains the dropdown holding A101, A102, etc
and
G1 contains the dropdown holding H1, H2, etc

Then
H1:
=IF(AND(COUNTIF($A$1:$A$5,F1),COUNTIF($A$1:$D$1,G1 )),VLOOKUP(F1,$A$1:$D$5,MATCH(G1,$A$1:$D$1,0),0)," no match")

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"CJ" wrote:

Hi Groupies

I have a spreadsheet similar to the following example:

H1 H2 H3
A101 A E I
A102 B F J
A103 C G K
A104 D H L

I would like to use a couple of pick lists to be able to select a row and
another to select a column and then have Excel return the intersecting value.
So, if in the first list I select A103 and in the second one I select H2, I
would have G in my found value.

I was thinking that the Index function would work, but I am just getting
#REF in my result. I was sure that I have done this before, but perhaps not.

Thanks in Advance.

--
Thanks for the brainwaves!

CJ
I blame the parents........

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Extract data value using pick list

Hi

assuming your table starts at A1 and is in the range A1:D5, and you
enter your A103 in F1 and you H2 in G1 then

=INDEX($A$1:$D$5,MATCH(F1,$A$1:$A$5,0),MATCH(G1,$A $1:$D$1,0))

--
Regards

Roger Govier


"CJ" wrote in message
...
Hi Groupies

I have a spreadsheet similar to the following example:

H1 H2 H3
A101 A E I
A102 B F J
A103 C G K
A104 D H L

I would like to use a couple of pick lists to be able to select a row
and
another to select a column and then have Excel return the intersecting
value.
So, if in the first list I select A103 and in the second one I select
H2, I
would have G in my found value.

I was thinking that the Index function would work, but I am just
getting
#REF in my result. I was sure that I have done this before, but
perhaps not.

Thanks in Advance.

--
Thanks for the brainwaves!

CJ
I blame the parents........



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CJ CJ is offline
external usenet poster
 
Posts: 102
Default Extract data value using pick list

And the winner is.........Roger!!

Thanks for the input from both of you. Ron, I'm not sure what the problem
is, but I always get No Match so ......hhhmmmmm.

Thanks for the quick responses.
--
Thanks for the brainwaves!

CJ
I blame the parents........


"Roger Govier" wrote:

Hi

assuming your table starts at A1 and is in the range A1:D5, and you
enter your A103 in F1 and you H2 in G1 then

=INDEX($A$1:$D$5,MATCH(F1,$A$1:$A$5,0),MATCH(G1,$A $1:$D$1,0))

--
Regards

Roger Govier


"CJ" wrote in message
...
Hi Groupies

I have a spreadsheet similar to the following example:

H1 H2 H3
A101 A E I
A102 B F J
A103 C G K
A104 D H L

I would like to use a couple of pick lists to be able to select a row
and
another to select a column and then have Excel return the intersecting
value.
So, if in the first list I select A103 and in the second one I select
H2, I
would have G in my found value.

I was thinking that the Index function would work, but I am just
getting
#REF in my result. I was sure that I have done this before, but
perhaps not.

Thanks in Advance.

--
Thanks for the brainwaves!

CJ
I blame the parents........




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
Manual control of link updating for downloaded quotes? dk_ Excel Discussion (Misc queries) 9 November 15th 06 01:04 PM
auto updating list Larry Excel Worksheet Functions 8 July 27th 06 01:59 PM
Subtotals in a list Bagheera Excel Discussion (Misc queries) 9 May 20th 06 01:46 PM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
Pulling data from 1 sheet to another Dave1155 Excel Worksheet Functions 1 January 12th 05 05:55 PM


All times are GMT +1. The time now is 11:50 PM.

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

About Us

"It's about Microsoft Excel"