Need Formula based on selection from a List.

TSing3

Board Regular
Joined
Jan 7, 2015
Messages
50
In column E I can select 4 words from a list: Quick, Standard, Major, and Advanced. If I select Quick in column E, I want the adjacent cell in column F to automatically populate 2018QK1. If I select Standard in the next cell in column E, I want the adjacent cell to populate 2018SK1. Selecting Major would populate 2018MK1 and Advanced would populate 2018AK1.

How do I fix the sheet so he next time I select Quick the adjacent cell would populate 2018QK2 since I already have a 2018QK1? Same thing for Standard, Major, and Advanced as well.
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

wideboydixon

Well-known Member
Joined
Jun 2, 2016
Messages
3,401
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>E</th><th>F</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Quick</td><td style=";">2018QK1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">Standard</td><td style=";">2018SK1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style=";">Major</td><td style=";">2018MK1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";">Advanced</td><td style=";">2018AK1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">6</td><td style=";">Quick</td><td style=";">2018QK2</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">7</td><td style=";">Standard</td><td style=";">2018SK2</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">8</td><td style=";">Standard</td><td style=";">2018SK3</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">F2</th><td style="text-align:left">=IF(<font color="Blue">$E2="","","2018"&LEFT(<font color="Red">$E2,1</font>)&"K"&COUNTIF(<font color="Red">$E$1:$E1,$E2</font>)+1</font>)</td></tr></tbody></table></td></tr></table><br />

WBD
 

TSing3

Board Regular
Joined
Jan 7, 2015
Messages
50
Ok, how would I make it to where only the number changes?

For example:

Quick - 2018QK1
Standard - 2018SK2
Major - 2018MK3
Advanced - 2018AK4
Quick - 2018QK5
Standard - 2018SK6
Major - 2018MK7
Advanced - 2018AK8
 
Last edited:

wideboydixon

Well-known Member
Joined
Jun 2, 2016
Messages
3,401
<b></b><table cellpadding="2.5px" rules="all" style=";background-color: rgb(255,255,255);border: 1px solid;border-collapse: collapse; border-color: rgb(187,187,187)"><colgroup><col width="25px" style="background-color: rgb(218,231,245)" /><col /><col /></colgroup><thead><tr style=" background-color: rgb(218,231,245);text-align: center;color: rgb(22,17,32)"><th></th><th>E</th><th>F</th></tr></thead><tbody><tr ><td style="color: rgb(22,17,32);text-align: center;">2</td><td style=";">Quick</td><td style=";">2018QK1</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">3</td><td style=";">Standard</td><td style=";">2018SK2</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">4</td><td style=";">Major</td><td style=";">2018MK3</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">5</td><td style=";">Advanced</td><td style=";">2018AK4</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">6</td><td style=";">Quick</td><td style=";">2018QK5</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">7</td><td style=";">Standard</td><td style=";">2018SK6</td></tr><tr ><td style="color: rgb(22,17,32);text-align: center;">8</td><td style=";">Standard</td><td style=";">2018SK7</td></tr></tbody></table><p style="width:4.8em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid rgb(187,187,187);border-top:none;text-align: center;background-color: rgb(218,231,245);color: rgb(22,17,32)">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: rgb(255,255,255)" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: rgb(255,255,255);border-collapse: collapse; border-color: rgb(187,187,187)"><thead><tr style=" background-color: rgb(218,231,245);color: rgb(22,17,32)"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: rgb(218,231,245);color: rgb(22,17,32)">F2</th><td style="text-align:left">=IF(<font color="Blue">$E2="","","2018"&LEFT(<font color="Red">$E2,1</font>)&"K"&COUNTA(<font color="Red">$E$2:$E2</font>)</font>)</td></tr></tbody></table></td></tr></table><br />

WBD
 

Watch MrExcel Video

Forum statistics

Threads
1,122,498
Messages
5,596,509
Members
414,073
Latest member
Contilly

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
Top