How to generate Excel unique numbers, integers, dates

 

Random Generator for Microsoft Excel

Generate unique random numbers, real numbers and dates in Excel 2010, 2007 - 2000


How to fill the range with integers

  1. Select a range that you want to fill with integers in your worksheet, see How to select a range.
  2. Expand the Integer section on the Random Generator pane by clicking on the arrows next to the Integer section. Click on the arrows to expand the Integer section
  3. In the From and to fields, define the minimum and maximum integers. You can manually type in the required values. Or you can set the values by clicking the up and down arrows next to the From and to fields. Specify the minimum and maximum integer values
  4. If you need unique random values, tick the Unique values checkbox and all the generated values will be different.
    You can generate from -2147483648 to 2147483647 unique random integers. Check this option to generate unique integers
  5. Click on the Generate button Click this button to fill in the range to fill your range with random integers.
  6. If you want to change the generated random values in the selected range, just press Generate again and these integers will be automatically replaced by new integer values.

Tip: If there are more cells in the range than generated unique values, the lower cells will remain empty. To fill them you need to increase the gap between the values in the From and to fields.

More cells in a range than unique values

How to fill the range with real numbers

  1. In your worksheet select a range that you want to fill with real numbers, see how to select a range.
  2. Expand the Real section on the Random Generator pane by clicking on the arrows next to the Real section. Expand the Real section by clicking on the arrows
  3. Set the minimum value in the From field and the maximum value in the to field. You can manually enter the required values. Or you can set the values by clicking the up and down arrows next to the From and to fields. Set the maximum and minimum real values in these fields You can generate from -99999999.9 to 99999999.9 random real numbers.
  4. If you need unique random real numbers, tick the Unique values checkbox and all the generated values will be different. Tick the option to have only unique real numbers
  5. Click on the Generate button Click this button to fill in the range to fill your range with random real values.
  6. If you want to change the generated random values in the selected range, just press Generate again and these real numbers will be automatically replaced by new ones.

How to fill the range with dates

  1. In your worksheet select a range that you want to fill with dates. Click here to see how to select a range.
  2. Expand the Date section on the Random Generator pane by clicking on the arrows next to the Date section. Clicking on the arrows will expand the Date section
  3. Select the initial and final dates in the From and to fields.
  4. You can enter the values manually or use the built-in calendar. To use the calendar, click the down arrow next to the From or to field respectively. This arrow opens the built-in calendar
  5. The calendar displays the current year, month and day. To select a different date, choose the necessary month and year by clicking on the left or right side arrow. Then select the required day to define the date: Choose the month and year by clicking on the arrows You can also click on the value that shows the month and year between the left and right side arrows to navigate to other months of a given year faster: Click on the month to navigate to other months faster Choose from 12 months Click on the same value in the middle again to see 12 years and select the year you need.
    Note! This option is only available for Windows 7 or Vista.

  6. You can get workdays and weekends generated separately. If you want to generate only workdays, tick the Workday checkbox. Tick Workday to work only with Workdays If you want to fill the range with weekend days only, tick the Weekend checkbox. Check the Weekend option to fill the range with weekends only
  7. To generate weekends and workdays at the same time, tick both options. Get weekends and workdays by ticking both checkboxes
  8. If you need unique random dates, tick the Unique values checkbox and all the generated dates will be different. You can generate unique random dates from 01.01.1900 till 31.12.2100.
  9. Click on the Generate button Click this button to fill in the range to fill your range with random dates. If the generated values don't appear as dates, please change the format of the cells using the standard Excel Format Cells… option.
  10. If you want to change the generated random dates in the selected range, just press Generate again and these dates will be automatically replaced by new ones.

Tip: If there are more cells in the range than generated unique values, some of the cells will be empty. To fill them you need to increase the gap between the initial and final dates in the From and to fields.

How to fill the range with Booleans

  1. In your worksheet select a range that you want to fill with Booleans, See how to select a range.
  2. Expand the Boolean section on the Random Generator pane by clicking on the arrows next to the Boolean section. Expand the Boolean section using these arrows
  3. To select a Boolean, click the down arrow next to the Value field and select the necessary value from the drop-down list. You can generate true/false or yes/no values. Choose Boolean from the drop-down list
  4. Click on the Generate button Click this button to fill in the range to fill your range with random Booleans.
  5. If you want to change the generated random values in the selected range, just press Generate again and these Booleans will be automatically replaced by new values.

How to select a range

  1. Open the Random Generator pane by clicking on its icon Random Generator icon.
  2. In your worksheet select a range that you want to fill in. You will see the address of the selected range in the Data Range field. Select a range to see its address in the Data Range field
  3. If you want to fill a single column, just select this column.
  4. To generate data for several columns or a block of cells, select them.
  5. You can also select a range by clicking on the select range icon Select range icon next to the Data Range field. Click on this icon to select a range in Excel Worksheet
  6. You can also fill in several ranges at the same time. Select them by holding the Ctrl key. But please keep in mind that all ranges are filled independently. So if you are generating unique values, they will be unique only within one range. Fill in several ranges at the same time

See also

 
 
 
 
 
 

Please remember that we work from 9am to 6pm GMT this is 5:00am - 2:00pm EST, 2:00am - 11:00am PST and our public holidays may differ from yours.




 

License Benefits

  • 30-day money-back guarantee
    If not satisfied, you'll get your money back, no questions asked.
  • 1 license for 3 PCs
    You can install 1 license on 3 PCs: at work, at home and on a laptop.
  • Life-time licenses
    There are no annual or renewal fees.
  • Get the product in minutes
    Instant delivery for credit card payments.
  • All forms of payment
    Pay with any major credit card, wire transfer, Purchase Order, PayPal.
  • Discount for schools & NPO
    Contact us to get your coupon code.
  • Volume discounts
    You can save up to 50%.
  • Free upgrades
    All minor updates are free. Major upgrades are free for 1 year, after 1 year - for half price.
  • Code signed with VeriSign
    The add-ins are signed with the VeriSign Code Signing certificate.
  • Easy corporate deployment
    Please see Installing an add-in for several users
  • Free support
    If you need any help, just contact us.
 
Excel Add-ins Collection - quick way to increase your effectiveness in Excel

Related links





Plug-ins for Microsoft Excel and Outlook

Copyright © 2003 - 2012 Add-in Express Ltd. All rights reserved.

Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.