To randomly select a cell and jump to it in Excel, you need a small helper formula and a way to navigate. The quickest method is to put =RAND() next to your data, pick a random row with =INDEX() and =RANDBETWEEN(), then use a hyperlink or the Name Box to go there. If you just need a random cell address, =ADDRESS(RANDBETWEEN(1,100),RANDBETWEEN(1,26)) gives you one, and you can paste it into the Name Box to jump. This guide walks through both approaches, plus the pitfalls that make people think it is not working.

What You'll Need

  • Excel for Microsoft 365, Excel 2021, 2019, or 2016 on Windows or Mac. The functions used here are standard and have been in Excel for many versions.
  • A worksheet with data, or an empty sheet if you only want a random cell address.
  • Basic familiarity with the Name Box (the small box to the left of the formula bar) and with entering formulas.

Menu labels and ribbon locations can differ slightly by Excel version, platform, and region, but the formulas and Name Box behavior described here are consistent across desktop versions.

Step-by-Step

  1. Decide what “random cell” means for your task. Do you want a random cell anywhere in the sheet, a random cell within a used range, or a random row from a list? The formula changes. The steps below cover a random row from a list, which is the most common need, and then a random address anywhere.
  2. Add a helper column of random numbers. In an empty column next to your data (say column D if your data is in A:C), enter =RAND() in the first data row and fill it down to the last row. Each cell now holds a random decimal between 0 and 1. RAND recalculates every time the sheet recalculates, so the numbers will change as you edit.
  3. Pick a random row number. In a separate cell, enter =RANDBETWEEN(1,COUNTA(A:A)) if your data starts in row 1 and column A has no blanks. If your data starts in row 2, use =RANDBETWEEN(2,COUNTA(A:A)+1). This gives you a row number within your data.
  4. Return the value from that row. Use =INDEX(A:A, the cell with RANDBETWEEN). For example, if your random row number is in F1, enter =INDEX(A:A,F1). That pulls the value from column A at the random row. Copy the formula across if you want the whole row.
  5. Jump to the cell. Select the cell that contains the random row number, copy it (Ctrl+C on Windows, Command+C on Mac), then click the Name Box, paste the number, and press Enter. Excel selects that row’s first cell and scrolls it into view. If you prefer a clickable link, put =HYPERLINK("#A"&F1,"Go to random row") in a cell; clicking it jumps to column A at that row.
  6. Freeze the random pick if you want it to stop changing. Select the cell with the RAND or RANDBETWEEN formula, copy it, then use Paste Special > Values. The number becomes static. Do this before you navigate if you need the target to stay put while you work.
  7. For a truly random cell anywhere in the sheet, use =ADDRESS(RANDBETWEEN(1,100),RANDBETWEEN(1,26)). This returns an address like $M$42. Copy that address, click the Name Box, paste, and press Enter. Excel jumps to that cell. Adjust the row and column limits to match your sheet size.
  8. If you want to repeat the jump, press F9 to recalculate (on Windows; on Mac, use Command+= or the Calculate Now command) to get a new random value, then repeat the copy-and-paste into the Name Box. Note that RAND and RANDBETWEEN recalculate automatically with most edits, so the value may change before you navigate.

Common Mistakes

  • Forgetting that RAND changes. Every recalculation gives a new random number, so the cell you were about to jump to may shift. Convert to values first if you need stability.
  • Using RANDBETWEEN with the wrong bounds. If your data starts at row 2, =RANDBETWEEN(1,COUNTA(A:A)) can return row 1, which is often the header. Adjust the lower bound.
  • Assuming COUNTA counts only your data. COUNTA counts any non-empty cell in the column, including notes far below. Use a fixed range like COUNTA(A2:A100) or a table reference instead.
  • Pasting an address with a sheet name into the Name Box incorrectly. The Name Box accepts addresses like M42 or Sheet2!M42, but not a full formula. Paste only the address text.
  • Expecting HYPERLINK to work across workbooks. The HYPERLINK function with a # reference works within the same workbook; links to other files need the full path and may prompt.

Tips

  • Use =RANDARRAY() in Microsoft 365 if you want a spill of random numbers without filling down. It is not available in older versions.
  • To pick a random item from a list without helper columns, use =INDEX(A2:A100,RANDBETWEEN(1,COUNTA(A2:A100))). This returns the value directly; you can then locate it with Ctrl+F or by using MATCH.
  • If you need to jump to the cell repeatedly, record a short macro that recalculates, reads the address, and selects it. Keep macros in a macro-enabled workbook (.xlsm).
  • Use a separate sheet for your randomizer so recalculations do not disturb your main data view.
  • For sampling without replacement, add a RAND column, sort by it, and take the top N rows. That is more reliable than repeated RANDBETWEEN picks.

Troubleshooting

  • The Name Box does not jump. Make sure you pasted only the address, with no leading equals sign or spaces. Press Enter after pasting. If the cell is on another sheet, include the sheet name and an exclamation mark, like Sheet2!A1.
  • The random value changes before you navigate. This is normal. Copy the RANDBETWEEN result and paste it as a value into a nearby cell, then use that static number in the Name Box.
  • RANDBETWEEN returns the same number repeatedly. Calculation may be set to Manual. Go to Formulas > Calculation Options and choose Automatic. On Mac, check Excel > Preferences > Calculation.
  • HYPERLINK does nothing. The link target must be a valid reference in the same workbook. Test with a fixed address first, like =HYPERLINK("#A1","test"). If that fails, the workbook may be protected or the link style disabled.
  • INDEX returns #REF! or #VALUE!. The row number is outside the range you gave INDEX. Check that RANDBETWEEN’s upper bound does not exceed the last row of the INDEX range.
  • You cannot find the cell after jumping. The cell may be hidden by a filter or in a hidden row. Clear filters (Data > Clear) and unhide rows (select rows, right-click, Unhide).

Frequently Asked Questions

Can I randomly select a cell without formulas?

Not natively. Excel has no built-in “go to random cell” command. You can use a macro or an online random number generator to produce a row and column, then type the address into the Name Box.

Does RANDBETWEEN include the upper and lower numbers?

Yes. =RANDBETWEEN(1,10) can return 1 and 10. That matters when setting bounds around headers or totals.

Why does my random cell keep changing?

RAND and RANDBETWEEN are volatile functions; they recalculate whenever Excel recalculates. Convert the result to a value (Paste Special > Values) to lock it.

Can I jump to a random cell in a specific range only?

Yes. Use =ADDRESS(RANDBETWEEN(2,50),RANDBETWEEN(1,5)) for a range like A2:E50, then paste the result into the Name Box. Adjust the numbers to match your range.

Is there a keyboard shortcut to go to a cell?

Ctrl+G (Windows) or Control+G (Mac) opens the Go To dialog, where you can type an address. The Name Box is usually faster for a single jump.

Will this work in Excel for the web?

The formulas work, but the Name Box and some navigation behavior differ slightly. HYPERLINK with internal references works in Excel for the web; macros do not.