Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default How to create an automatic generated number for a spreadsheet

Im trying to create a spreadsheet with database information but I want to
every time I open it have a diferent generated number in a determined cell.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 143
Default How to create an automatic generated number for a spreadsheet

=RAND() will give you a random number between 0 and 1. It changes anytime
the sheet recalculates.

If you need a value larger than 1, you can string a bunch of RAND's together:
=ROUND((RAND()+1)*(RAND()+20)*(RAND()*41),0)


--
Regards,

PJ
Please rate this post using the vote buttons if it was helpful.



"autogenerated numbers" wrote:

Im trying to create a spreadsheet with database information but I want to
every time I open it have a diferent generated number in a determined cell.

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
Looking to add unique (sequential) number to already generated Use Sawtelle Excel Worksheet Functions 1 February 8th 09 05:58 PM
Automatic update of spreadsheet & automatic update between workboo Losva Excel Worksheet Functions 6 September 12th 08 03:22 PM
Assign unique auto-generated number Silena K-K Excel Discussion (Misc queries) 0 January 28th 08 10:44 PM
Why does Excel not multiply a number generated by an IF formula? Free Ishii Excel Worksheet Functions 5 June 21st 07 01:30 PM
How do I round a formula generated number texasdutch Excel Worksheet Functions 6 April 5th 07 08:14 PM


All times are GMT +1. The time now is 04:33 PM.

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

About Us

"It's about Microsoft Excel"