close

I have a dropdown box that allows the user to select a set of data. In many
instances, the data requires additional information to fully understand. I
would like to link the visibility of this additional data to what is set in
the dropdown box. Normally i would simply set this information to be visible
using conditional formatting. However, the explanation needs to be freeform
... sometimes a table, sometimes verbiage, etc. so that keeping it uniform and
consistent by making data visible in cells is difficult. It would be much
easier to be able to make an object (text object, table object, etc. - which
has this data pre built in what ever format is needed) visible rather than
trying to do this in multiple cells. Is it possible to set such a condition,
i.e, =IF(A1=1, quot;object1visiblequot;,IF(A1=2,quot;Object2visiblequot;))?

THanks in advance for any suggestions.

Here's an approach you may be able to use:

Start by experimenting with this example:

STEP_1: On a Sheet2, create your list of dropdown list values
Example:
A1: myItem
A2: myTable
etc
Name those cells rngList

STEP_2: Select cell B1 and name it rngBlank
Hold down the Shift key and select Editgt;Copy Picture (select Copy as shown
on screen)
Then, select Cell C2 on Sheet1 and press Editgt;Paste.
(You should see a picture of cell B1 from Sheet2)

STEP_3: Create display ranges that relate to the items on the dropdown list.
Example:
Pertaining to MyItem:
D1:F10 might contain a description of an item.
name that range rngMyItem

Pertaining to MyTable
H1:L15 might be a table of information
name that range rngMyTable
etc
Note: the names you create MUST begin with quot;rngquot; and end with the exact text
from the dropdown list.

Then turn off the gridlines on Sheet2 by using Toolsgt;Optionsgt;View, Uncheck
gridlines

STEP_4: On Sheet1, select cell A2 to contain the data validation.
Set the data validation to allow a list, Source: rngList.

STEP_5: Create the following range name:
Name: rng2View
Refers to: =INDIRECT(IF(ISBLANK(Sheet1!$A$2),quot;rngBlankquot;,quot;rngquot; amp;Sheet1!$A$2)

STEP_6: Select the image on C2. While the image is selected, enter this in
the formula bar: =rng2View
Then press Enter

Now to test what we've created:
While A1 is blank, C2 will display a picture of the rngBlank range.

When you select MyItem from the dropdown, the picture in C2 will
automatically resize and display a picture of the rngMyItem range.

Is that like what you were hoping to do?

***********
Regards,
Ron

XL2002, WinXP-Proquot;RBeauquot; wrote:

gt; I have a dropdown box that allows the user to select a set of data. In many
gt; instances, the data requires additional information to fully understand. I
gt; would like to link the visibility of this additional data to what is set in
gt; the dropdown box. Normally i would simply set this information to be visible
gt; using conditional formatting. However, the explanation needs to be freeform
gt; .. sometimes a table, sometimes verbiage, etc. so that keeping it uniform and
gt; consistent by making data visible in cells is difficult. It would be much
gt; easier to be able to make an object (text object, table object, etc. - which
gt; has this data pre built in what ever format is needed) visible rather than
gt; trying to do this in multiple cells. Is it possible to set such a condition,
gt; i.e, =IF(A1=1, quot;object1visiblequot;,IF(A1=2,quot;Object2visiblequot;))?
gt;
gt; THanks in advance for any suggestions.

Ron,

Yes and no (actually - due to the length of the list, evaluating the value
in the dropdown rather than trying to evaluate the quot;namequot; .. since it
changes based on other perameters) .. (bear with me ...I know this seems a
bit bizarre).

Let me try to explain better: I have one drop down box that contains a list
of names. When a name is selected, it automatically changes the contents in
two drop down boxes below. In the subsequent drop down boxes, there are up to
30 choices. When you choose one of these, it will automatically populate the
choice and some other data pertaining to that choice.

So far no issues .. have used multiple embedded if statements to figure this
out.

However, there is a need to provide additional quot;advicequot; based on choices in
the various drop down boxes - which is quot;freeformquot;, i.e., since it could be
one sentence, a paragraph, a table, or a picture, it is difficult to arrange
easily by cell. So what I am trying to do is build objects (combination of
all of the above), that would appear on the page based on the selection made.
So for instance, assuming drop down box one has a value of 5 and the next has
a value of 10 and the next 11. I would like to evaluate this, and then make
an object appear (could be again a table/paragraph/picture) based on that
number. So, say I had built a table that contained a combination of
picture/data/text, is there a way to use a conditional statement to make that
visible / invisible? Thanks

quot;Ron Coderrequot; wrote:

gt; Here's an approach you may be able to use:
gt;
gt; Start by experimenting with this example:
gt;
gt; STEP_1: On a Sheet2, create your list of dropdown list values
gt; Example:
gt; A1: myItem
gt; A2: myTable
gt; etc
gt; Name those cells rngList
gt;
gt; STEP_2: Select cell B1 and name it rngBlank
gt; Hold down the Shift key and select Editgt;Copy Picture (select Copy as shown
gt; on screen)
gt; Then, select Cell C2 on Sheet1 and press Editgt;Paste.
gt; (You should see a picture of cell B1 from Sheet2)
gt;
gt; STEP_3: Create display ranges that relate to the items on the dropdown list.
gt; Example:
gt; Pertaining to MyItem:
gt; D1:F10 might contain a description of an item.
gt; name that range rngMyItem
gt;
gt; Pertaining to MyTable
gt; H1:L15 might be a table of information
gt; name that range rngMyTable
gt; etc
gt; Note: the names you create MUST begin with quot;rngquot; and end with the exact text
gt; from the dropdown list.
gt;
gt; Then turn off the gridlines on Sheet2 by using Toolsgt;Optionsgt;View, Uncheck
gt; gridlines
gt;
gt; STEP_4: On Sheet1, select cell A2 to contain the data validation.
gt; Set the data validation to allow a list, Source: rngList.
gt;
gt; STEP_5: Create the following range name:
gt; Name: rng2View
gt; Refers to: =INDIRECT(IF(ISBLANK(Sheet1!$A$2),quot;rngBlankquot;,quot;rngquot; amp;Sheet1!$A$2)
gt;
gt; STEP_6: Select the image on C2. While the image is selected, enter this in
gt; the formula bar: =rng2View
gt; Then press Enter
gt;
gt; Now to test what we've created:
gt; While A1 is blank, C2 will display a picture of the rngBlank range.
gt;
gt; When you select MyItem from the dropdown, the picture in C2 will
gt; automatically resize and display a picture of the rngMyItem range.
gt;
gt; Is that like what you were hoping to do?
gt;
gt; ***********
gt; Regards,
gt; Ron
gt;
gt; XL2002, WinXP-Pro
gt;
gt;
gt; quot;RBeauquot; wrote:
gt;
gt; gt; I have a dropdown box that allows the user to select a set of data. In many
gt; gt; instances, the data requires additional information to fully understand. I
gt; gt; would like to link the visibility of this additional data to what is set in
gt; gt; the dropdown box. Normally i would simply set this information to be visible
gt; gt; using conditional formatting. However, the explanation needs to be freeform
gt; gt; .. sometimes a table, sometimes verbiage, etc. so that keeping it uniform and
gt; gt; consistent by making data visible in cells is difficult. It would be much
gt; gt; easier to be able to make an object (text object, table object, etc. - which
gt; gt; has this data pre built in what ever format is needed) visible rather than
gt; gt; trying to do this in multiple cells. Is it possible to set such a condition,
gt; gt; i.e, =IF(A1=1, quot;object1visiblequot;,IF(A1=2,quot;Object2visiblequot;))?
gt; gt;
gt; gt; THanks in advance for any suggestions.

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()