How do i put two formulas in one cell? One of them is to randomize a letter and one is to randomize a number.

Ihavenoclueexcel

New Member
Joined
Feb 13, 2021
Messages
3
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
  5. 2011
  6. 2010
  7. 2007
Platform
  1. Mobile
  2. Web
I need to create a cell that has a randomized number and letter right next to each other like “J7, B9, A2, etc” I tried doing this “=CHAR(RANDBETWEEN(65,90))=RANDBETWEEN(0,9)” but this did not work. Ive used &, “”, ;” all as symbols and nothing lets me do this. Also I’m on the free web version so i cant do custom cell formats. Any suggestions?
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
I also need those numbers to stay in place, like not change once they are randomized. Then i want to be able to drag it down so it repeats in other cells (without changing)
 
Upvote 0
Replace the = sign in the middle of the formula with an ampersand
Rich (BB code):
=CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(0,9)
 
Upvote 0
Try
=CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(0,9)
Then copy the cell and Paste Special (Values)
Then select the cell, hold the Ctrl key down and drag the Fill Handle at the bottom right of the cell downwards
 
Upvote 0
Try
=CHAR(RANDBETWEEN(65,90))&RANDBETWEEN(0,9)
Then copy the cell and Paste Special (Values)
Then select the cell, hold the Ctrl key down and drag the Fill Handle at the bottom right of the cell downwards
I cannot paste as special values but i copied the same formula. How do i make the numbers stay the same once they are generated? They keep changing. (Also I’m using the web version on an iPad)
 
Upvote 0
I also need those numbers to stay in place, like not change once they are randomized. Then i want to be able to drag it down so it repeats in other cells (without changing)
That's not going to happen with formulas. RAND and RANDBETWEEN change every time any cell in the workbook is changed.
If you want to drag down a random letter with a given number, you can do that but the letter will change with every change to the workbook.
 
Upvote 0

Forum statistics

Threads
1,216,070
Messages
6,128,614
Members
449,460
Latest member
jgharbawi

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top