Tricky Unique ID

Bering

Board Regular
Joined
Aug 22, 2018
Messages
185
Office Version
  1. 2016
Platform
  1. Windows
Hello,

hope you guys can hep me with this problem. Below is an example of what my file looks like.

I would like to create a unique ID in column A by concatenating the Types in column C and the Product ID also in column C above each table.

So for Product A, the expected result in column A should be: 1Product A, 2ProductA and so on (or Product A1, Product A2, whatever)

Of course I have no idea how this could be achieved.

Many thanks.

ABC
Product A
TypeQuantityPriceValue
=1ProductA1
=2ProductA2
=3ProductA3
Product B
TypeQuantityPriceValue
=1ProductB1
=2ProductB2
=3ProductB3

<tbody>
</tbody>
 
Really impressive Bo_Ry!!! I will try to understand how your formula works... Thank you so much :pray:


Or remove &" " if no space need between type and product
=IF(OR(C3="type",C4="type",C3=""),"",C3&LOOKUP(2,1/(C$2:C3="type"),C$1:C2))


56866473_459118637962167_2636227097806241792_n.jpg
 
Last edited:
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,215,374
Messages
6,124,573
Members
449,173
Latest member
Kon123

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