RANDBETWEEN in a conditional format gives error

H

hmm

When I try to use the RANDBETWEEN function in a condional format (e.g., cell
value = RANDBETWEEN(1,100)), I get the error message "You may not use
references to other worksheets or workbooks for Conditional Formatting
criteria." Why is it telling me this, and how do I get it to work?
 
M

MartinW

Hmm,

Perhaps you could explain what you are trying to achieve.
I'm as confused as Excel with the criteria you have given here.

Regards
Martin
 
T

Toppers

Why not use "Cell value is" between 1 and 100?

MartinW said:
Hmm,

Perhaps you could explain what you are trying to achieve.
I'm as confused as Excel with the criteria you have given here.

Regards
Martin
 
B

Bob Phillips

It is part of the analysis toolpak, and yu cannot use ATP functions in CF.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
G

Gord Dibben

RANDBETWEEN function is from the Analysis Toolpak which is an add-in.


Gord Dibben MS Excel MVP
 
M

Mark Lincoln

If I correctly understand what you're trying to do, you can get the
same functionality by putting =RANDBETWEEN(1,100) in an unused cell
and referring to that cell in your CF. For example, if your random-
number cell is C3, set CF to Cell Value Is | Equal To | C3.

Mark Lincoln
 

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

Top