ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Run recalc until a specified vaule is reached. (https://www.excelbanter.com/excel-discussion-misc-queries/46771-run-recalc-until-specified-vaule-reached.html)

comotoman

Run recalc until a specified vaule is reached.
 

the formulas i have a
cells a1:e:10 [=int(rand()*(100-1)+1)]

cell
a11 "11"
a12 "37"
a13 "46"
a14 "72"
a15 "95"

I would like for excel to automaticly update the sheet until cells
a11:a15 are found in the rows 1 a:e, or row 2 a:e, etc. Can this be
done?


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=470037


comotoman


Does anybody have any ideas?


--
comotoman
------------------------------------------------------------------------
comotoman's Profile: http://www.excelforum.com/member.php...o&userid=27292
View this thread: http://www.excelforum.com/showthread...hreadid=470037


TheRobsterUK


The probability of randomly meeting your criteria must be billions to
one though. If you wrote a macro to do what you want it would take ages
to meet the criteria.

Probability = (0.01^5) * 5 = 2,000,000,000:1 (2 billion to 1)


--
TheRobsterUK


------------------------------------------------------------------------
TheRobsterUK's Profile: http://www.excelforum.com/member.php...fo&userid=9924
View this thread: http://www.excelforum.com/showthread...hreadid=470037


TheRobsterUK


Try this:

http://homepages.nildram.co.uk/~proe...domNumbers.xls

It's not very elegant but it works. I wouldn't expect it to find a
quick answer though.


--
TheRobsterUK


------------------------------------------------------------------------
TheRobsterUK's Profile: http://www.excelforum.com/member.php...fo&userid=9924
View this thread: http://www.excelforum.com/showthread...hreadid=470037



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

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