Solved

# MS Excel 2007 Help

Posted on 2011-05-07
275 Views
I need to have a drop down list that has the following things:

This
That
the other

I know how to do that.  :-)

Next I need to have the following:

If "This" is selected from the drop down list, a1 thru 3 dispalys the following

a1 123
a2 456
a3 789

If "That" is selected from the drop down list, a1 thru 3 displays the following

a1 abc
a2 def
a3 ghi

If "the other" is selected from the drop down list, a1 thru 3 displays the following

a1 123abc
a2 456def
a3 789ghi

Is there a way to accomplish this??
0
Question by:HDM

LVL 41

Expert Comment

Here you go...

Dave
ThisThatTheOther-r1.xlsx
0

LVL 41

Accepted Solution

Note, the formula in A1 - looks at the drop down list result in C1:

=IF(\$C\$1="This","123",IF(\$C\$1="That","abc",IF(\$C\$1="the other","123abc","")))

Then for A2, and A3, the results are slightly different, as requested..

A2:
=IF(\$C\$1="This","456",IF(\$C\$1="That","def",IF(\$C\$1="the other","456def","")))

and A3:
=IF(\$C\$1="This","789",IF(\$C\$1="That","ghi",IF(\$C\$1="the other","789ghi","")))

Enjoy!

Dave
0

Author Closing Comment

Beautiful!!  :-)

Thank you SO much!!  :-)
0

## Featured Post

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.