I'd like to know how to program cells so that the user selects a string or variable from a pull-down list, and that string or variable is associated with an integer.
For example, maybe I want to figure the cost of making different items of clothing. I might have a cell with 3 options that I want represented by a number:
Then I might add the total and multiply the total by some baseline figure (say $100) to get the cost of production.
I might have more factors, but if someone can tell me how to program these, I assume I can figure out the others. I've reviewed some of the Chandoo materials, including some VBA examples, but haven't figured this out.
Thanks!
Bill
For example, maybe I want to figure the cost of making different items of clothing. I might have a cell with 3 options that I want represented by a number:
- Shirt = 1
- Pants = 2
- dress = 3
- cotton = 1
- wool = 2
- leather = 3.
Then I might add the total and multiply the total by some baseline figure (say $100) to get the cost of production.
I might have more factors, but if someone can tell me how to program these, I assume I can figure out the others. I've reviewed some of the Chandoo materials, including some VBA examples, but haven't figured this out.
Thanks!
Bill