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


How to generate only random even or odd numbers in Excel?

In this tutorial, I will introduce some formulas to help you generate only random even numbers or only random odd numbers in Excel.

Randomize only even numbers

Randomize only odd numbers

Randomize integers, dates, times, strings or custom list in Excel good idea3

Insert Random Data (insert random integer, date, time, string or custom list in a range.)

excel addin tool for generate random integers dates times strings custom lits

arrow blue right bubble Randomize only even numbers

Here is a formula in Excel can only randomize even numbers.

Select a blank cell, and type this formula =EVEN(RANDBETWEEN(X,Y)) (X and Y indicate any integer numbers, and X<Y), for instance, I want to randomize even numbers between -5 and 10, now I type =EVEN(RANDBETWEEN(-5,10)) into an empty cell, press Enter key, if you need, you can drag the fill handle to a range with this formula.

arrow blue right bubble Randomize only odd numbers

To only randomize odd numbers in Excel, you can do as this:

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

Select a cell and use this formula =ODD(RANDBETWEEN(X,Y)) (X and Y indicates any integer numbers, and X<Y), for instance, here I will generate random odd numbers in a range of -12 and 12, now I type =ODD(RANDBETWEEN(-12, 12)) into a cell, then press Enter key. If you need, you can drag the fill handle to fill a range with this formula.

arrow blue right bubble Randomize integers, dates, times, strings or custom list in Excel

If you are insterested in inserting random integers, dates, times, text strings and custom list, you can free install Kutools for Excel and apply its Insert Random Data utility to achieve the tasks.

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:

Select a range and click Kutools > Insert > Insert Random Data.
doc randomize decimal integer 10

Insert random integers
Insert random dates
doc random data 2
doc random data 3
Insert random times
Insert random text string
doc random data 4
doc random data 5
Insert random custom list
doc random data 6

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

Count times a word appears

If you want to count the times a specific word appears in a single cell or a range, you can try Count times a word appears of Kutools for Excel, it may make a big favor for you.
doc formula 1

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, 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 82% 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!

Screen Shot of Excel (with Office Tab installed)

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.