Data Validation-Allow Decimal

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,601
Office Version
  1. 2021
Platform
  1. Windows
I want force a user to enter a value with 2 decimal places

I have tried to use Data Validation -Setting Decimal and then under minimum have used 2 and under maximum have used 2 again, but when I enter a number for eg 148.25, it comes up with invalid entry

It would be appreciated if someone could assist me
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
"Setting Decimal and then under minimum have used 2 and under maximum have used 2"

that prarameter for the number you want to enter. instead between choose "greater than" and type 0

click ok

only point if user enters 1.256 it will be accepted. In such a case format it for 2 decimal places.

will this solve your problem
 
Upvote 0
You could use the formula =INT(A1*100)=(A1*100).
The user could enter 34 or 1.2 or -1.23 but it would flag 3.14159 or CATS
 
Upvote 0
Hi Venkat

Thanks for the help.

How does the Data Validation, Decimals work where one uses the option "between" and sets the minimum & Maximum?
 
Upvote 0
Hi Guys

Thanks for all the help, much appreciated
 
Upvote 0

Forum statistics

Threads
1,224,583
Messages
6,179,682
Members
452,937
Latest member
Bhg1984

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top