F2, copy down :
=LOOKUP(2,1/(B$2:B2=B$2),C$2:C2)&LOOKUP(2,1/(B$2:B2=B$2),C$3:C3)&E2
Regards
Hi,
I need a small help on the formula.Only for particular company formula should add "_".
Attached Excel sheet for your kind reference.
Thanks in Advance
Try this replacement,
In F2, copy down :
=LOOKUP(2,1/(B$2:B2=B$2),C$2:C2)&LOOKUP(2,1/(B$2:B2=B$2),C$3:C3)&IF(LOOKUP(2,1/(B$2:B2=B$2),C$2:C2)="B","_"&LOOKUP(2,1/(B$2:B2=B$2),C$3:C3),"")&E2
Regards