Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have the following Data Validation within the Custom criteria under
formula. It disallows input in cell H if J10 is blank. =J10<"" How could I also include a criteria that will only accept decimal inputs between 0.01 and 40000? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this
=AND(J10<"",J100.01,J10<=40000) hth Carlo On Oct 31, 5:35 pm, Sean wrote: I have the following Data Validation within the Custom criteria under formula. It disallows input in cell H if J10 is blank. =J10<"" How could I also include a criteria that will only accept decimal inputs between 0.01 and 40000? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
It kind of worked Carlo, but if I type in 0.001 it will accept it, it
should only accept between 0.01 and 40000 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Select as many cells in column H as you need, say from H1 to H10, and apply
this custom validation formula: =AND($J$10<"",H1=0.01,H1<=40000) Uncheck Negligate blank cells (if I re-translate it well, it's the checkbox on the right side) Regards, Stefi €žSean€ť ezt Ă*rta: I have the following Data Validation within the Custom criteria under formula. It disallows input in cell H if J10 is blank. =J10<"" How could I also include a criteria that will only accept decimal inputs between 0.01 and 40000? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Further tweak to =AND(J10<"",H10=0.01,H10<=40000). How do I limit
the user inputing more than 2 decimal places e.g 1050.125 should not be allowed |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Maybe there exists a simpler solution, I found that this works:
=MOD(100*H1,100)-INT(MOD(100*H1,100))=0 embedded: =AND(J10<"",H10=0.01,H10<=40000,MOD(100*H1,100)-INT(MOD(100*H1,100))=0) Regards, Stefi €žSean€ť ezt Ă*rta: Further tweak to =AND(J10<"",H10=0.01,H10<=40000). How do I limit the user inputing more than 2 decimal places e.g 1050.125 should not be allowed |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
That works great Stefi, thank you
I picked =AND(J10<"",H10=0.01,H10<=40000,MOD(100*H10,100)- INT(MOD(100*H10,100))=0) |
#8
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You are welcome! Thanks for the feedback!
Stefi €žSean€ť ezt Ă*rta: That works great Stefi, thank you I picked =AND(J10<"",H10=0.01,H10<=40000,MOD(100*H10,100)- INT(MOD(100*H10,100))=0) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple Data Validations | Excel Discussion (Misc queries) | |||
two data validations for same cell | Excel Discussion (Misc queries) | |||
two data validations for same cell | Excel Discussion (Misc queries) | |||
data validations | Excel Discussion (Misc queries) | |||
3 data validations | Excel Worksheet Functions |