Mechroneal
New Member
- Joined
- Nov 3, 2005
- Messages
- 4
I have a column that contains reference numbers. They are always ten digits long, but may begin with a zero. I want excel to not accept anything not exactly ten digits. The closest thing I could think of was validation requiring a numeric value greater than 999,999,999. This kind of works, but if the number starts with zero, it won't. Any suggestions?
Also, I have a drop down list with 4 choices. Each choice has a set cost, and I need a cell to show the total value for this column. For instance choice 1=$, choice 2=$10. I think I somehow need to store the value of each cell in this column as a variable, convert the variables to prices, then total. Is this the right way, and if so, how do I do it?
And last but not least, I want to be able to enter time as a 4 digit number, for instance "1430", and have it convert automatically to "2:30", with no AM/PM. Can this be done?From what I can tell, Excel requires a colon in order to understand time. If you use the format "hh:mm" and enter "2:30" it will take it. However, I can't find a way for it to translate from military to standard without the AM/PM tag. I even tried to strip it by doing a text to columns and that didn't work.[/img]
Also, I have a drop down list with 4 choices. Each choice has a set cost, and I need a cell to show the total value for this column. For instance choice 1=$, choice 2=$10. I think I somehow need to store the value of each cell in this column as a variable, convert the variables to prices, then total. Is this the right way, and if so, how do I do it?
And last but not least, I want to be able to enter time as a 4 digit number, for instance "1430", and have it convert automatically to "2:30", with no AM/PM. Can this be done?From what I can tell, Excel requires a colon in order to understand time. If you use the format "hh:mm" and enter "2:30" it will take it. However, I can't find a way for it to translate from military to standard without the AM/PM tag. I even tried to strip it by doing a text to columns and that didn't work.[/img]