## 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

#### Generate random positive numbers

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

Randomize positive integer numbers

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.

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.

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

#### 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.

Randomize negative decimal numbers

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.

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

#### 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.

equipped with AI 🤖, offers over 300 handy features to simplify your tasks.

After Kutools for Excel, please do as below:

1. Select a range you need, and click Kutools > Insert > Insert Random Data.

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.

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.

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

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.

### Best Office Productivity Tools

 🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions… Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ... Super Lookup: Multiple Criteria VLookup  |   Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup .... Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List .... Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ... Featured Features: Grid Focus   |  Design View   |   Big Formula Bar   |  Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells   |  Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ... Top 15 Toolsets:  12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

#### Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

• Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
• Open and create multiple documents in new tabs of the same window, rather than in new windows.
• Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!