IndexOf with numbers that is not in original list

Hello,

I’ve been reluctant to write because I don’t really know how to articulate myself.

But I’m stuck and I need your help, so please be patient.

I have an excel sheet with lots of materials, not all materials have a width, such as building blocks have a dimension in metric value 49x95 where 45 mm is the width. But when it comes to, for example, protective foil that has a thickness of 0.2 mm, this is not shown in the excel document.

Therefore, I have had to separate some categories that do not have a value in order to specify a value.

In the picture you can see that the top box in blue is text from excel that has been separated and then put together, works as I want.

How can I get the right width on the right building part when I want to assemble the lists?

Why not substitute a small number when there is no width specified?

Share your graph too, the screengrab is hard to see on screen.

Hi @Alien

Here comes the graph, thanks!
Import_All_Objects_IndexOf.dyn (398.1 KB)