Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Output 0 to 100

Hi All,

Is there any formula which return the value 0 to 100 only?

Thanks & Regards

Hassan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Output 0 to 100

Grüezi

Hassan wrote at 11.08.2007

Is there any formula which return the value 0 to 100 only?


If you like an random value in between these ranges you can try the
following:

=TRUNC(RAND()*100,0)



Mit freundlichen Grüssen
Thomas Ramel

--
- MVP für Microsoft-Excel -
[Win XP Pro SP-2 / xl2003 SP-2]
Microsoft Excel - Die ExpertenTipps
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 390
Default Output 0 to 100

In , Thomas Ramel
spake thusly:

Hassan wrote at 11.08.2007

Is there any formula which return the value 0 to 100 only?


If you like an random value in between these ranges you can try
the following:

=TRUNC(RAND()*100,0)


Easier:

=MOD(somenumber,100)

--
=dman=
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Output 0 to 100

Grüezi Dallman

Dallman Ross schrieb am 12.08.2007

In , Thomas Ramel

Hassan wrote at 11.08.2007

Is there any formula which return the value 0 to 100 only?


If you like an random value in between these ranges you can try
the following:

=TRUNC(RAND()*100,0)


Easier:

=MOD(somenumber,100)


....and how you make 'somenumber' random and without decimals...?


Mit freundlichen Grüssen
Thomas Ramel

--
- MVP für Microsoft-Excel -
[Win XP Pro SP-2 / xl2003 SP-2]
Microsoft Excel - Die ExpertenTipps
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 390
Default Output 0 to 100

In , Thomas Ramel
spake thusly:

Grüezi Dallman


Bist Du aus der Schweiz?

Dallman Ross schrieb am 12.08.2007

In , Thomas Ramel

Hassan wrote at 11.08.2007

Is there any formula which return the value 0 to 100 only?

If you like an random value in between these ranges you can try
the following:

=TRUNC(RAND()*100,0)


Easier:

=MOD(somenumber,100)


...and how you make 'somenumber' random and without decimals...?


I wasn't addressing the "random" idea, which you proposed but
which the OP has not confirmed to be his wish. I was merely
going to the OP's original question of supplying a formula that
will return only that range of values. Yes, for a requirment
for random data, your answer is of course very good.

=dman=


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 70
Default Output 0 to 100

Grüezi Dallman

Dallman Ross schrieb am 15.08.2007

In , Thomas Ramel

Grüezi Dallman


Bist Du aus der Schweiz?


Ja, bin ich - hört man das *so* gut?

Dallman Ross schrieb am 12.08.2007

In , Thomas Ramel

Hassan wrote at 11.08.2007

Is there any formula which return the value 0 to 100 only?

If you like an random value in between these ranges you can try
the following:

=TRUNC(RAND()*100,0)

Easier:

=MOD(somenumber,100)


...and how you make 'somenumber' random and without decimals...?


I wasn't addressing the "random" idea, which you proposed but
which the OP has not confirmed to be his wish. I was merely
going to the OP's original question of supplying a formula that
will return only that range of values. Yes, for a requirment
for random data, your answer is of course very good.


OK, I understand your point of view - interesting, in deed.

So now we wait until the OP will decide.


Mit freundlichen Grüssen
Thomas Ramel

--
- MVP für Microsoft-Excel -
[Win XP Pro SP-2 / xl2003 SP-2]
Microsoft Excel - Die ExpertenTipps
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 857
Default Output 0 to 100


=RANDBETWEEN(0,100)

.... but you'll need to load the Analysis Toolpack Add-In


--
Hope that helps.

Vergel Adriano


"Hassan" wrote:

Hi All,

Is there any formula which return the value 0 to 100 only?

Thanks & Regards

Hassan

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
Need help for getting output balurrpr Excel Discussion (Misc queries) 2 April 15th 10 10:12 AM
Set of varibles produces one output. Need series of output. Bernie Deitrick Excel Programming 1 January 11th 07 12:00 AM
Output to CSV sanjay Excel Programming 1 February 8th 04 07:28 PM
Getting output from an excel output back to cscript.. J S Excel Programming 0 January 21st 04 09:06 PM
Too much output... PLEASE HELP! Mark Rosenkrantz Excel Programming 4 August 7th 03 03:58 AM


All times are GMT +1. The time now is 02:45 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"