I am trying to create a smart #.
So far I have tried using the concatenate function alongside v-lookup. As well as a variation of index/match nested within if statements.
I either get an error (tried iferror), n/a (tried ifna) or #ref , which means the range is probably wrong.
Attached is a sample worksheet:
If anyone could offer some advice that would be helpful.
[TABLE="width: 435"]
<colgroup><col></colgroup><tbody>[TR]
[TD]
Ex: Whenever 1E is selected then 1E01 is returned, whenever 1E is selected again - then 1E02 is returned (Unique Value)
1E and 1C are static whereas 01,02, etc increases each time they are selected so they stay unique.
So far I have tried using the concatenate function alongside v-lookup. As well as a variation of index/match nested within if statements.
I either get an error (tried iferror), n/a (tried ifna) or #ref , which means the range is probably wrong.
Attached is a sample worksheet:
If anyone could offer some advice that would be helpful.
[TABLE="width: 435"]
<colgroup><col></colgroup><tbody>[TR]
[TD]
Ex: Whenever 1E is selected then 1E01 is returned, whenever 1E is selected again - then 1E02 is returned (Unique Value)
1E and 1C are static whereas 01,02, etc increases each time they are selected so they stay unique.
Code:
[TABLE="width: 967"]
<colgroup><col><col span="10"></colgroup><tbody>[TR]
[TD]FOLDER ID[/TD]
[TD]01[/TD]
[TD]02[/TD]
[TD]03[/TD]
[TD]04[/TD]
[TD]05[/TD]
[TD]06[/TD]
[TD]07[/TD]
[TD]08[/TD]
[TD]09[/TD]
[TD]10[/TD]
[/TR]
[TR]
[TD]1E[/TD]
[TD]1E01[/TD]
[TD]1E02[/TD]
[TD]1E03[/TD]
[TD]1E04[/TD]
[TD]1E05[/TD]
[TD]1E06[/TD]
[TD]1E07[/TD]
[TD]1E08[/TD]
[TD]1E09[/TD]
[TD]1E10[/TD]
[/TR]
[TR]
[TD]1C[/TD]
[TD]1C01[/TD]
[TD]1C02[/TD]
[TD]1C03[/TD]
[TD]1C04[/TD]
[TD]1C05[/TD]
[TD]1C06[/TD]
[TD]1C07[/TD]
[TD]1C08[/TD]
[TD]1C09[/TD]
[TD]1C10[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 967"]
<colgroup><col><col span="10"></colgroup><tbody>[TR]
[TD][CODE][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 268"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Selected Folder ID[/TD]
[TD]Output Should be [/TD]
[/TR]
[TR]
[TD]1E[/TD]
[TD]1E01[/TD]
[/TR]
[TR]
[TD]1E[/TD]
[TD]1E02[/TD]
[/TR]
[TR]
[TD]1E[/TD]
[TD]1E03[/TD]
[/TR]
[TR]
[TD]2C[/TD]
[TD]2C01[/TD]
[/TR]
[TR]
[TD]2C[/TD]
[TD]2C02[/TD]
[/TR]
[TR]
[TD]3E[/TD]
[TD]3E01[/TD]
[/TR]
[TR]
[TD]3C[/TD]
[TD]3C01[/TD]
[/TR]
</tbody>[/TABLE]