Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to generate random positive and negative numbers in Excel?

To generate only positive or negative numbers in Excel, you can follow the steps of this tutorial.

Generate random positive numbers

Generate random negative numbers

Generate random positive or negative numbers with Kutools for Excel good idea3


Change Sige of Vlaues (quickly change negative to positive values, or vice versa...)

doc change sign

Excel Productivity Tools

Office Tab: Bring powerful tabs to Office (include Excel), just like Chrome, Safari, Firefox and Internet Explorer. Save you half the time, and reduce thousands of mouse clicks for you. 30-day Unlimited Free Trial

Kutools for Excel: Save 70% of your time and solve 80% Excel problems for you. 300+ advanced features designed for 1500+ work scenario, make Excel much easy and increase productivity immediately. 60-day Unlimited Free Trial


arrow blue right bubble Generate random positive numbers


Here I introduce you some formulas to randomize the positive numbers in Excel.

Randomize positive integer numbers

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

To randomize positive integer numbers, you can select a blank cell, and type =RANDBETWEEN(X,Y) (X and Y indicate any positive numbers, and X<Y), here I type =RANDBETWEEN(2,80), then press Enter key, you can drag the fill handle to the range you need.
doc-randomize-positive-negative-1

Randomize positive decimal numbers

To randomize positive decimal numbers, you can use this formula =RAND()*(Y-X)+X (X and Y indicate any positive numbers, and X<Y), here, I type =RAND()*(66-12)+12 into a blank cell, then press Enter key, you can drag the fill handle to your needed range.
doc-randomize-positive-negative-2

Then you can specify the decimals as your need by clicking Home tab, then clicking Increase Decimal button or Decrease Decimal button.
doc-randomize-positive-negative-3

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial

arrow blue right bubble Generate random negative numbers

To generate random negative numbers, you also can use some formulas.

Randomize negative integer numbers

The formula =RANDBETWEEN(X,Y) also can insert negative integer numbers. (X and Y indicate any negative numbers, and X<Y), here, I type =RANDBETWEEN(-120,-20) into a blank cell and press Enter key, then if you need, you can drag the fill handle to fill a range.

doc-randomize-positive-negative-4

Randomize negative decimal numbers

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain! Click here to know Auto Text     Click here to get free trial

You can use this formula =RAND()*(X-Y)Y (X and Y indicate any negative numbers, and X<Y), here, I type generate =RAND()*(-80+30)-30 and press Enter key, if you need, you can drag the fill handle to apply the formula to a range.
doc-randomize-positive-negative-5

Then you can specify the decimals as your need by clicking Home tab, then clicking Increase Decimal button or Decrease Decimal button.


arrow blue right bubble Generate random positive or negative numbers with Kutools for Excel

With Kutools for Excel’s Insert Random Data, you can quickly generate random only positive or negative numbers in Excel.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, please do as below:

1. Select a range you need, and click Kutools > Insert Tools > Insert Random Data.
doc radomize positive negative 11

2. In the Insert Random Data dialog, go to the Integer tab, type the random number series into From and To text boxes, if you need positive numbers, type both of positive numbers, if you need negative numbers, type both of negative numbers.
doc radomize positive negative 12

Tip: If you want the inserted random numbers are unique, you can check Unique values in the dialog.

3. Click Ok to exit the dialog.
doc-randomize-positive-negative-8

With Kutools for Excel’s Insert Random Data feature, you also can insert random positive and negative numbers at once time.

doc radomize positive negative 13doc-randomize-positive-negative-10

Tip:

If you want to insert unique positive and negative values,just check the Unique Values box.

With Insert Random Data feature of Kutools for Excel, you can insert the random date, random string, and random custom list. Click here for more details about it.

pay attention1If you are interested in this addi-in, download the 60-days free trial.

You maybe insterested in this utility:

Select Range Randomly(Sort Range Randomly can quickly select or sort data randomly in a range/column/row.)

doc select randomly

Relative Articles:


Excel Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 70%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 80% Excel problems.

  • Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  • Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  • Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  • No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  • Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  • 60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  • Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.