• Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
AnonyViet - English Version
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office
No Result
View All Result
AnonyViet - English Version
No Result
View All Result

Lesson 69: How to create product codes in Excel

AnonyViet by AnonyViet
January 26, 2023
in Office
0

In this article, I will show you how to use data validation to prevent users from entering incorrect product codes in Excel.

Join the channel Telegram of the AnonyViet 👉 Link 👈

How to create product codes in Excel

1. Select the area A2:A7.

Lesson 69: How to create product codes in Excel

2. On the Data tab, in the Data Tools group, click Data Validation.

Lesson 69: How to create product codes in Excel 9

3. In Allow, click Custom.

4. In Formula, enter the formula shown below and click OK.

Lesson 69: How to create product codes in Excel 10

Explain:

  • This AND function has three parameters. LEFT(A2) = “C” forces the user to start with the letter C. LEN(A2) = 4 forces the user to enter a string of length 4 characters.
  • ISNUMBER(VALUE(RIGHT(A2,3))) forces the user to end with 3 numbers.
  • RIGHT(A2,3) extracts the rightmost 3 characters of the text. The VALUE function converts this text string to a number.
  • ISNUMBER checks if this value is a number.
  • The AND function returns TRUE if all of the above conditions are true. Because I selected the range A2:A7 before clicking Data Validation, Excel automatically copies the formula to other cells.

5. To check, select cell A3 and click Data Validation.

Lesson 69: How to create product codes in Excel 11

6. Incorrect product key entered.

Result:

Lesson 69: How to create product codes in Excel 12

To change the error alert text, go to the Input Message and Error Alert tabs.

In addition, you can also view many other excel articles here.

The article achieved: 5/5 – (100 votes)

Tags: codescreateExcelLessonproduct
Previous Post

Create Free Unlimited Hosting with 0hi

Next Post

10 fastest ways to exit the Windows Desktop screen

AnonyViet

AnonyViet

Related Posts

Automatically check and correct spelling errors on Google Docs
Office

Automatically check and correct spelling errors on Google Docs

February 23, 2025
Instructions for downloading Google Docs files easily on any device
Office

Instructions for downloading Google Docs files easily on any device

December 18, 2024
Launching AI image creation feature on Google Docs
Office

Launching AI image creation feature on Google Docs

November 20, 2024
Instructions for using Google Docs without internet
Office

Instructions for using Google Docs without internet

November 2, 2024
Share the link to the sample file to create QR codes in Google Sheets
Office

Share the link to the sample file to create QR codes in Google Sheets

September 30, 2024
Proton Docs: Google Docs Alternative with End-to-End Encryption
Office

Proton Docs: Google Docs Alternative with End-to-End Encryption

September 21, 2024
Next Post
10 fastest ways to exit the Windows Desktop screen

10 fastest ways to exit the Windows Desktop screen

0 0 votes
Article Rating
Subscribe
Login
Notify of
guest

guest

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
[Godot Shooter] #2: Creating characters & shooting bullets

[Godot Shooter] #2: Creating characters & shooting bullets

June 7, 2025
Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
Discover the glowing effect next to the iPhone ios 18 screen

Discover the glowing effect next to the iPhone ios 18 screen

June 8, 2025
AnonyViet - English Version

AnonyViet

AnonyViet is a website share knowledge that you have never learned in school!

We are ready to welcome your comments, as well as your articles sent to AnonyViet.

Follow Us

Contact:

Email: anonyviet.com[@]gmail.com

Main Website: https://anonyviet.com

Recent News

Top 5 game programming languages ​​to learn now

Top 5 game programming languages ​​to learn now

June 8, 2025
The iPhone list is updated with iOS 26

The iPhone list is updated with iOS 26

June 8, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

No Result
View All Result
  • Home
  • News
  • Software
  • Knowledge
  • MMO
  • Tips
  • Security
  • Network
  • Office

©2024 AnonyVietFor Knowledge kqxs hôm nay xem phim miễn phí SHBET https://kubet88.yoga/ bj88

wpDiscuz
0
0
Would love your thoughts, please comment.x
()
x
| Reply