Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I retrieve Cost from a grid using text drop down lists?

I have the following grid:
A B C D
1 Elim Period Cost
2 0/14 6 ???
3
4 Period
5 Elim 6 12 24
6 0/7 $4.85 $6.30 $8.00
7 7/7 $4.50 $5.95 $7.60
8 0/14 $3.95 $4.75 $6.60
9 14/14 $3.55 $4.35 $5.80
10 0/30 $2.90 $3.80 $5.15
11 30/30 $2.35 $3.15 $4.15
12 60/60 $0.00 $2.70 $3.50
13 90/90 $0.00 $2.05 $2.40
14 180/180 $0.00 $0.00 $1.60


A2 and B2 are drop down lists allowing selection of Elim and Period choices.
They are both formatted as TEXT. I need to return the correct cost in C2 for
the column-row selected by Elim and Period.

I've read through other posts and it seems INDEX() or VLOOKUP() might be
what I need, but I just can't seem to make them work.

Thanks in advance for your assistance!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How do I retrieve Cost from a grid using text drop down lists?

Put this in C2:

=INDEX(B6:D14,MATCH(A2,A6:A14,0),MATCH(B2,B5:D5,0) )

Hope this helps.

Pete

On Jun 5, 10:09*pm, rkenchel
wrote:
I have the following grid:
* * * * A * * * B * * * C * * * D
1 * * * Elim * *Period *Cost
2 * * * 0/14 * *6 * * * ??? * *
3 * * * * * * * * * * * * * * *
4 * * * * * * * Period
5 * * * Elim * *6 * * * 12 * * *24
6 * * * 0/7 * * $4.85 * $6.30 * $8.00
7 * * * 7/7 * * $4.50 * $5.95 * $7.60
8 * * * 0/14 * *$3.95 * $4.75 * $6.60
9 * * * 14/14 * $3.55 * $4.35 * $5.80
10 * * *0/30 * *$2.90 * $3.80 * $5.15
11 * * *30/30 * $2.35 * $3.15 * $4.15
12 * * *60/60 * $0.00 * $2.70 * $3.50
13 * * *90/90 * $0.00 * $2.05 * $2.40
14 * * *180/180 $0.00 * $0.00 * $1.60

A2 and B2 are drop down lists allowing selection of Elim and Period choices.
They are both formatted as TEXT. I need to return the correct cost in C2 for
the column-row selected by Elim and Period.

I've read through other posts and it seems INDEX() or VLOOKUP() might be
what I need, but I just can't seem to make them work.

Thanks in advance for your assistance!


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I retrieve Cost from a grid using text drop down lists?

Thanks Pete!!
I tried something similar off of another post that was combining the MATCHes
into one and I could not make it work. Your solution was right on!
Rog

"Pete_UK" wrote:

Put this in C2:

=INDEX(B6:D14,MATCH(A2,A6:A14,0),MATCH(B2,B5:D5,0) )

Hope this helps.

Pete

On Jun 5, 10:09 pm, rkenchel
wrote:
I have the following grid:
A B C D
1 Elim Period Cost
2 0/14 6 ???
3
4 Period
5 Elim 6 12 24
6 0/7 $4.85 $6.30 $8.00
7 7/7 $4.50 $5.95 $7.60
8 0/14 $3.95 $4.75 $6.60
9 14/14 $3.55 $4.35 $5.80
10 0/30 $2.90 $3.80 $5.15
11 30/30 $2.35 $3.15 $4.15
12 60/60 $0.00 $2.70 $3.50
13 90/90 $0.00 $2.05 $2.40
14 180/180 $0.00 $0.00 $1.60

A2 and B2 are drop down lists allowing selection of Elim and Period choices.
They are both formatted as TEXT. I need to return the correct cost in C2 for
the column-row selected by Elim and Period.

I've read through other posts and it seems INDEX() or VLOOKUP() might be
what I need, but I just can't seem to make them work.

Thanks in advance for your assistance!



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default How do I retrieve Cost from a grid using text drop down lists?

You're welcome, Rog - thanks for feeding back.

Pete

On Jun 5, 11:02*pm, rkenchel
wrote:
Thanks Pete!!
I tried something similar off of another post that was combining the MATCHes
into one and I could not make it work. Your solution was right on!
Rog



"Pete_UK" wrote:
Put this in C2:


=INDEX(B6:D14,MATCH(A2,A6:A14,0),MATCH(B2,B5:D5,0) )


Hope this helps.


Pete


On Jun 5, 10:09 pm, rkenchel
wrote:
I have the following grid:
* * * * A * * * B * * * C * * * D
1 * * * Elim * *Period *Cost
2 * * * 0/14 * *6 * * * ??? * *
3 * * * * * * * * * * * * * * *
4 * * * * * * * Period
5 * * * Elim * *6 * * * 12 * * *24
6 * * * 0/7 * * $4.85 * $6.30 * $8.00
7 * * * 7/7 * * $4.50 * $5.95 * $7.60
8 * * * 0/14 * *$3.95 * $4.75 * $6.60
9 * * * 14/14 * $3.55 * $4.35 * $5.80
10 * * *0/30 * *$2.90 * $3.80 * $5.15
11 * * *30/30 * $2.35 * $3.15 * $4.15
12 * * *60/60 * $0.00 * $2.70 * $3.50
13 * * *90/90 * $0.00 * $2.05 * $2.40
14 * * *180/180 $0.00 * $0.00 * $1.60


A2 and B2 are drop down lists allowing selection of Elim and Period choices.
They are both formatted as TEXT. I need to return the correct cost in C2 for
the column-row selected by Elim and Period.


I've read through other posts and it seems INDEX() or VLOOKUP() might be
what I need, but I just can't seem to make them work.


Thanks in advance for your assistance!- Hide quoted text -


- Show quoted text -


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
Drop down lists that auto create and then filter the next drop down list [email protected] Excel Worksheet Functions 2 September 30th 07 11:53 AM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
Validation - Drop Down Lists with tiny text Peter Excel Discussion (Misc queries) 1 April 12th 06 01:38 PM
Text spacing in drop down lists Cathy Landry Excel Worksheet Functions 7 August 20th 05 12:37 AM
How do i create an automatic monthly cash flow from lists of cost. Fadi Excel Discussion (Misc queries) 0 February 25th 05 02:47 PM


All times are GMT +1. The time now is 06:19 PM.

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"