Hi,
I have an Excel file that I allow a user to enter a value with a measure, such as 1d for 1 day, or 2w for 2 weeks (I allow h,d,s,w,m in all). However, I don't want to allow the user to enter in numbers other than a whole number. I wanted to build something in the data validation that would parse the value into two parts (ignore the measure on the right) and only allow it as a "valid" entry if the part on the left is a number without decimal value. I would appreciate if someone can tell me how to do this. I don't want to spit the entry into two fields, as it slows the user down having to change cells, and this function has a heavy data entry requirement.
Thanks!
Best Regards,
Scott
"Everything should be made as simple as possible, and no simpler."![[hammer] [hammer] [hammer]](/data/assets/smilies/hammer.gif)
I have an Excel file that I allow a user to enter a value with a measure, such as 1d for 1 day, or 2w for 2 weeks (I allow h,d,s,w,m in all). However, I don't want to allow the user to enter in numbers other than a whole number. I wanted to build something in the data validation that would parse the value into two parts (ignore the measure on the right) and only allow it as a "valid" entry if the part on the left is a number without decimal value. I would appreciate if someone can tell me how to do this. I don't want to spit the entry into two fields, as it slows the user down having to change cells, and this function has a heavy data entry requirement.
Thanks!
Best Regards,
Scott
"Everything should be made as simple as possible, and no simpler."
![[hammer] [hammer] [hammer]](/data/assets/smilies/hammer.gif)