• 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

Top who creates the most beautiful presentation slide today
Office

Top who creates the most beautiful presentation slide today

September 23, 2025
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
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

5+ prompts to create sparkling Christmas photos for mothers and babies at home

5+ prompts to create sparkling Christmas photos for mothers and babies at home

December 17, 2025
How to Clean Up Your Computer to Speed ​​Up Windows Faster

How to Clean Up Your Computer to Speed ​​Up Windows Faster

December 16, 2025
Share Snowfall Code for Website to celebrate Christmas

Share Snowfall Code for Website to celebrate Christmas

December 16, 2025
How to build web applications in just minutes with Youware

How to build web applications in just minutes with Youware

December 15, 2025
5+ prompts to create sparkling Christmas photos for mothers and babies at home

5+ prompts to create sparkling Christmas photos for mothers and babies at home

December 17, 2025
How to Clean Up Your Computer to Speed ​​Up Windows Faster

How to Clean Up Your Computer to Speed ​​Up Windows Faster

December 16, 2025
Share Snowfall Code for Website to celebrate Christmas

Share Snowfall Code for Website to celebrate Christmas

December 16, 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

5+ prompts to create sparkling Christmas photos for mothers and babies at home

5+ prompts to create sparkling Christmas photos for mothers and babies at home

December 17, 2025
How to Clean Up Your Computer to Speed ​​Up Windows Faster

How to Clean Up Your Computer to Speed ​​Up Windows Faster

December 16, 2025
  • Home
  • Home 2
  • Home 3
  • Home 4
  • Home 5
  • Home 6
  • Next Dest Page
  • Sample Page

trang chủ f168 nhà cái 78win https://www.qq8827.com/ https://go99.ae.org/ https://nohu90.bid/

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

trang chủ f168 nhà cái 78win https://www.qq8827.com/ https://go99.ae.org/ https://nohu90.bid/

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