Need help with formula. - perhaps wildcard and a mix of indirect?

JDJong

New Member
Joined
May 2, 2018
Messages
39
Hi,

need to automize the description based 3 criteria.
- Personnel number (#3 and #4 are letters short for department)
- Personnel code (random)
- Appointed period

would like to have the description within such format: e.g:Finance_Department_01.01- 01.07.2012_PN_876789 (Indicated in red)

01FI00038987678901.01.2012-01.07.2012FI (fInance department)Finance_Department_01.01- 01.07.2012_PN_876789
01FI000390A2312301.05.2016-01.11.2016FI (fInance department)Finance_Department_01.05- 01.11.2016_PN_A23123
01FI00039176789009.01.2018-09.07.2018FI (fInance department)
02QC00034087878809.01.2018-09.07.2019QC (Quality control)
02QC00034134543409.01.2018-09.07.2020QC (Quality control)
02QC00034287678909.01.2018-09.07.2021QC (Quality control)
03MI00042598987009.01.2018-09.07.2022MI (Maintenance department)
03MI00042667876809.01.2018-09.07.2023MI (Maintenance department)
03MI00042756545609.01.2018-09.07.2024MI (Maintenance department)
10SR00000198989909.01.2018-09.07.2025SR (Senior Management)
10SR00000289898909.01.2018-09.07.2026SR (Senior Management)
10SR00000378787809.01.2018-09.07.2027SR (Senior Management)
11BD000333888989 09.01.2018-09.07.2028BD (Board of Director)
11BD00033499898909.01.2018-09.07.2029BD (Board of Director)
11BD00033565656709.01.2018-09.07.2030BD (Board of Director)

<colgroup><col><col><col><col><col><col></colgroup><tbody>
</tbody>

Please provide inputs. Thanks
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,624
Messages
6,120,591
Members
448,973
Latest member
ksonnia

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