Hi Every One. Hope You all were enjoying good health. can anyone help me to generate auto ID based on cell value like
[TABLE="width: 690"]
<tbody>[TR]
[TD="width: 78, bgcolor: transparent"] Order_ID
[/TD]
[TD="width: 87, bgcolor: transparent"] Order Date
[/TD]
[TD="width: 141, bgcolor: transparent"] Source
[/TD]
[TD="width: 73, bgcolor: transparent"] Customer Name
[/TD]
[TD="width: 64, bgcolor: transparent"] Phone No
[/TD]
[TD="width: 64, bgcolor: transparent"] Address
[/TD]
[TD="width: 64, bgcolor: transparent"] City
[/TD]
[TD="width: 68, bgcolor: transparent"] Category
[/TD]
[TD="width: 90, bgcolor: transparent"] Product_Sku
[/TD]
[TD="width: 64, bgcolor: transparent"] Size
[/TD]
[TD="width: 64, bgcolor: transparent"] Color
[/TD]
[TD="width: 64, bgcolor: transparent"] Sale Price
[/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] PF-0001
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] GS-0001
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 214, bgcolor: transparent, colspan: 2"] GloryShop
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] WEB-0001
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 141, bgcolor: transparent"] Website
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] PF-0002
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] GS-0002
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 214, bgcolor: transparent, colspan: 2"] GloryShop
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"][/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 214, bgcolor: transparent, colspan: 2"] Whats App
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"]?
[/TD]
[TD="width: 87, bgcolor: transparent"] [/TD]
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
if I if put pinkfit or glory shop last row cell than no auto generate No. should be PF-0003 or GS-0003 and same like WhatsApp and Website
[TABLE="width: 690"]
<tbody>[TR]
[TD="width: 78, bgcolor: transparent"] Order_ID
[/TD]
[TD="width: 87, bgcolor: transparent"] Order Date
[/TD]
[TD="width: 141, bgcolor: transparent"] Source
[/TD]
[TD="width: 73, bgcolor: transparent"] Customer Name
[/TD]
[TD="width: 64, bgcolor: transparent"] Phone No
[/TD]
[TD="width: 64, bgcolor: transparent"] Address
[/TD]
[TD="width: 64, bgcolor: transparent"] City
[/TD]
[TD="width: 68, bgcolor: transparent"] Category
[/TD]
[TD="width: 90, bgcolor: transparent"] Product_Sku
[/TD]
[TD="width: 64, bgcolor: transparent"] Size
[/TD]
[TD="width: 64, bgcolor: transparent"] Color
[/TD]
[TD="width: 64, bgcolor: transparent"] Sale Price
[/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] PF-0001
[/TD]
[TD="width: 87, bgcolor: transparent"]
01-12-18
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] GS-0001
[/TD]
[TD="width: 87, bgcolor: transparent"]
02-12-18
[TD="width: 214, bgcolor: transparent, colspan: 2"] GloryShop
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] WEB-0001
[/TD]
[TD="width: 87, bgcolor: transparent"]
05-12-18
[TD="width: 141, bgcolor: transparent"] Website
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] PF-0002
[/TD]
[TD="width: 87, bgcolor: transparent"]
07-12-18
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"] GS-0002
[/TD]
[TD="width: 87, bgcolor: transparent"]
07-12-18
[TD="width: 214, bgcolor: transparent, colspan: 2"] GloryShop
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"][/TD]
[TD="width: 87, bgcolor: transparent"]
08-12-18
[TD="width: 214, bgcolor: transparent, colspan: 2"] Whats App
[/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
[TR]
[TD="width: 78, bgcolor: transparent"]?
[/TD]
[TD="width: 87, bgcolor: transparent"]
08-12-18
[TD="width: 141, bgcolor: transparent"] PinkFit
[/TD]
[TD="width: 73, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 68, bgcolor: transparent"][/TD]
[TD="width: 90, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[TD="width: 64, bgcolor: transparent"][/TD]
[/TR]
</tbody>[/TABLE]
if I if put pinkfit or glory shop last row cell than no auto generate No. should be PF-0003 or GS-0003 and same like WhatsApp and Website