Data validation to prompt alpha numeric sequence

vee_vee8

New Member
Joined
Feb 6, 2020
Messages
9
Office Version
  1. 2016
Platform
  1. Windows
Hello

Is it possible to have a cell populate an alpha numeric sequence based on the selection from a data validation list?

For example I was hoping to be able achieve - if someone selects “Design” from the drop down, this would cause the next cell to populate “DR134” and so on sequentially each time the “Design” option is selected.

If someone selected “Project” this would trigger “PR089” and so on instead.

Any assistance would be greatly appreciated!
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
This type of functionality requires VBA. What exactly do you mean by "the next cell"? Where are the cells with the dropdown lists, and where are the cells you want to populate? What are the values for the dropdown list, and what are the corresponding prefixes to populate?

How comfortable are you with VBA?
 
Upvote 0
Thanks for replying.

Sorry I should have said the next cell across so if the word is in B5 the sequence number appears in C5. The row with data validation is in Column B and I would like the sequence number to show in Column C. The drop down selections and prefixes are are Design (next in sequence D121), Design Review (DR054), Project (P065), Project Review (PR035)

I haven’t done that much with VBA unfortunately.
 
Upvote 0

Forum statistics

Threads
1,223,952
Messages
6,175,595
Members
452,657
Latest member
giadungthienduyen

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