ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Enter only positive numbers (https://www.excelbanter.com/new-users-excel/156503-enter-only-positive-numbers.html)

dalymjl

Enter only positive numbers
 
This sounds so stupid but I can't find an answer. How do I force users to input only positive amounts in a cell. I would like that 0 would also be an acceptable value but no negative amounts.

Gary''s Student

Enter only positive numbers
 
Data Validation... Settings Allow Custom Formula
=A1=0
--
Gary''s Student - gsnu200741


"dalymjl" wrote:


This sounds so stupid but I can't find an answer. How do I force users
to input only positive amounts in a cell. I would like that 0 would
also be an acceptable value but no negative amounts.




--
dalymjl


MartinW

Enter only positive numbers
 
And another one
DataValidationSettings

Allow:
Decimal
Data:
Greater than or equal to
Minimum:
0


HTH
Martin


"dalymjl" wrote in message
...

This sounds so stupid but I can't find an answer. How do I force users
to input only positive amounts in a cell. I would like that 0 would
also be an acceptable value but no negative amounts.




--
dalymjl




Frank Pytel

Enter only positive numbers
 
You could create a dummy entry form and then reference that cell on your calc
sheet with;

=abs(a1)

God Bless

Frank Pytel

"dalymjl" wrote:


This sounds so stupid but I can't find an answer. How do I force users
to input only positive amounts in a cell. I would like that 0 would
also be an acceptable value but no negative amounts.




--
dalymjl



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

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