Does Excel have Threshold function?

  • Thread starter Thread starter Jo
  • Start date Start date
Jo,

What do you want to do?

=IF(A1>3,"It's greater than 3","It's 3 or less.")

HTH,
Bernie
MS Excel MVP
 
Jo,

What do you want to do?

=IF(A1>3,"It's greater than 3","It's 3 or less.")

HTH,
Bernie
MS Excel MVP








- Show quoted text -

No, it is like this:

=if(randbetween(a1,a2)>3,randbetween(a1,a2),0).....provided the two
randbetween are IDENTICAL!

How please?

Jo
 
Jo,

You cannot have that as a single cell formula.

But, you could do this. In A3, for example:
=RANDBETWEEN(A1,A2)
Then in A4:
=IF(A3>3,A3,0)

HTH,
Bernie
MS Excel MVP
 
=if(randbetween(a1,a2)>3,randbetween(a1,a2),0).....

If you are interested in the numbers 1-10, and wanted n>3. Would this idea
work?
Another way to say this is that you want the numbers 4-10 70% of the time.

=RANDBETWEEN(4,10)*(RAND()<=70%)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top