#1   Report Post  
Kyle Smith
 
Posts: n/a
Default grouping

I have two columns and three rows with data I want linked / grouped. I have
put the first column of data into a drop box, aka you select one of the three
options. I want to link that selection to the corresponding data.

Example
54" $20
60" $30
66" $40

I want to have a drop box where you select the size (54") and then next cell
automatically puts the corresponding price. Thanks in advance
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi Kyle

select the cells with the sizes in them and then click in the little box to
the left of the formula bar above the letter A and type a name for this area
(a range name) e.g. SIZES and press ENTER (won't work if you don't press
enter)
now select both the sizes and the cost column and create another range name
(e.g. COSTS).

then click in the cell where you want the drop down box (i'm assuming D1 for
this example) (can be on another sheet) and choose data / validation
choose allow
list
click in the source box and press the F3 key
you'll get a list of the range names in your workbook - choose SIZES - ok

now in the cell adjacent to this cell type
=IF(D1="","",VLOOKUP(D1,COSTS,2,0))

now when you choose an item from the drop down list in D1, the associated
cost will be displayed in the adjacent cell.
(for more details on the above, and other fun stuff, check out
www.contextures.com/tiptech.html)

Hope this helps
Cheers
JulieD


"Kyle Smith" <Kyle wrote in message
...
I have two columns and three rows with data I want linked / grouped. I
have
put the first column of data into a drop box, aka you select one of the
three
options. I want to link that selection to the corresponding data.

Example
54" $20
60" $30
66" $40

I want to have a drop box where you select the size (54") and then next
cell
automatically puts the corresponding price. Thanks in advance



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
grouping dates by week/month/etc. on cat. axis Kamal Hood Charts and Charting in Excel 4 January 23rd 05 10:06 AM
Can I use the grouping and lock and protect cells bfisher Excel Discussion (Misc queries) 1 January 11th 05 10:55 PM
how to format numbers, digit grouping ,as per regional settings Mayank Excel Discussion (Misc queries) 3 December 31st 04 04:45 AM
Grouping data within intervals Cartesio Excel Worksheet Functions 0 November 2nd 04 01:45 PM
How to enable grouping in a protected sheet Ankur Excel Worksheet Functions 2 November 1st 04 07:52 PM


All times are GMT +1. The time now is 11:25 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"