Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 367
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default 2 Data Validations Q

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default 2 Data Validations Q

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Data Validations Supe Excel Discussion (Misc queries) 1 August 9th 07 04:39 PM
two data validations for same cell dandiehl Excel Discussion (Misc queries) 1 March 2nd 07 11:32 PM
two data validations for same cell dandiehl Excel Discussion (Misc queries) 0 March 2nd 07 11:05 PM
data validations Catfish25 Excel Discussion (Misc queries) 2 August 30th 06 06:43 PM
3 data validations Mohan Excel Worksheet Functions 2 June 7th 06 07:47 PM


All times are GMT +1. The time now is 05:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"