ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Validation: Store cell address instead of value in the cell? (https://www.excelbanter.com/excel-discussion-misc-queries/128419-data-validation-store-cell-address-instead-value-cell.html)

WillW

Data Validation: Store cell address instead of value in the cell?
 
I have a list that is used to force entry of specific values into a range of
cells. However, instead of storing the user-selected value, can I store the
cell address (e.g., =E3), while displaying the selected value?

For example, allowed values are stored in E3:E5 ("Yes", "No", "Maybe").
These values should be entered into A1:A10. The dropdown selection list in
A1:A10 should read Yes No Maybe (in a vertical list, of course). Can the
actual contents of A1:A10 be the cell addresses, in this format: =E4

I hope I've made my situation clear enough. I have a large, complex Excel
application that will definitely benefit from a solution to this issue.

Thanks,
Bill

Debra Dalgleish

Data Validation: Store cell address instead of value in the cell?
 
You could use programming to change the selected value to a formula, or
you could use a data validation dropdown to add a simple formula to the
cell. But with normal data validation, you can't store the cell address
of the selected valued.

WillW wrote:
I have a list that is used to force entry of specific values into a range of
cells. However, instead of storing the user-selected value, can I store the
cell address (e.g., =E3), while displaying the selected value?

For example, allowed values are stored in E3:E5 ("Yes", "No", "Maybe").
These values should be entered into A1:A10. The dropdown selection list in
A1:A10 should read Yes No Maybe (in a vertical list, of course). Can the
actual contents of A1:A10 be the cell addresses, in this format: =E4

I hope I've made my situation clear enough. I have a large, complex Excel
application that will definitely benefit from a solution to this issue.

Thanks,
Bill



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 10:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com