Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to create a Unique code in excel/How to generate random character strings in a range in Excel
ChannelShuaib KhanDescription from the creator
Here is quick method to generate randomly alphanumeric texts in Excel. A good lesson for beginners.
The following formulas can help you generate random numbers, letters and alphanumeric values in a range in Excel.
1. To create a random 5-digit number between 10000 and 99999, use this formula: =RANDBETWEEN(10000,99999), and press Enter key, a 5-digit number will be display in a cell, then select the cell and drag the fill handle across to the range that you want to contain this formula, a range of 5-digit numbers have been generated,
2. To create a random letter, use the this formula: =CHAR(RANDBETWEEN(65,90)). This formula can generate a random letter from a to z, if you need to create four random letters, you need to use & character to add the letters. Such as =CHAR(RANDBETWEEN(65,90))& CHAR(RANDBETWEEN(65,90)) & CHAR(RANDBETWEEN(65,90)) & CHAR(RANDBETWEEN(65,90)). Then you will get a four random letters, and then drag the fill handle over to the range that you want to contain this formula.
Note: you can change the arguments to get your need.
youtu.be/muAVKDY-UHk
The following formulas can help you generate random numbers, letters and alphanumeric values in a range in Excel.
1. To create a random 5-digit number between 10000 and 99999, use this formula: =RANDBETWEEN(10000,99999), and press Enter key, a 5-digit number will be display in a cell, then select the cell and drag the fill handle across to the range that you want to contain this formula, a range of 5-digit numbers have been generated,
2. To create a random letter, use the this formula: =CHAR(RANDBETWEEN(65,90)). This formula can generate a random letter from a to z, if you need to create four random letters, you need to use & character to add the letters. Such as =CHAR(RANDBETWEEN(65,90))& CHAR(RANDBETWEEN(65,90)) & CHAR(RANDBETWEEN(65,90)) & CHAR(RANDBETWEEN(65,90)). Then you will get a four random letters, and then drag the fill handle over to the range that you want to contain this formula.
Note: you can change the arguments to get your need.
youtu.be/muAVKDY-UHk
About this tutorial
Shuaib Khan published this 2:56 video tutorial on October 28, 2017. It has been watched 136,745 times on YouTube.
- Channel
- Shuaib Khan
- Category
- People & Blogs
- Duration
- 2:56
- Published
- October 28, 2017
- Views
- 136,745
- Likes
- 476
Tags
Share
This tutorial in other languages
- FRComment créer un code unique dans Excel / Comment générer des chaînes de caractères aléatoires dans une plage dans Excel
- ESCómo crear un código único en Excel / ¿Cómo generar cadenas de caracteres aleatorios en un rango en Excel
- PTComo criar um código único no excel / Como gerar cadeias de caracteres aleatórios em um intervalo no Excel
- ITCome creare un codice univoco in Excel / Come generare stringhe di caratteri casuali in un intervallo in Excel
- DEWie ein eindeutiger Code in Excel erstellen / Wie zufällige Zeichenketten in einem Bereich in Excel generieren
- NLHoe maak je een unieke code in Excel / Hoe willekeurige tekenreeksen te genereren in een bereik in Excel
- RUКак создать уникальный код в Excel / Как генерировать случайные строки символов в диапазоне в Excel
- PLJak utworzyć kod unikalny w Excel / Jak wygenerować losowy ciąg znaków w zakresie w programie Excel
- JAExcelでユニークなコードを作成する方法を/どのようにExcelで範囲内のランダムな文字列を生成します
- ARكيفية إنشاء مدونة فريدة من نوعها في اكسل / كيفية إنشاء سلاسل الأحرف عشوائية في طائفة في Excel
- HIएक्सेल में एक अनोखा कोड बनाने के लिए कैसे / कैसे Excel में एक श्रेणी में यादृच्छिक चरित्र तार उत्पन्न करने के लिए
- IDCara membuat kode unik di excel / Bagaimana menghasilkan string karakter acak dalam rentang di Excel