Hi Experts,
Following is the data and I want to concatenate the numbers with unit. The data is extracted from (=SUMIFS()).
[TABLE="width: 427"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Quantity[/TD]
[TD] Formula Enetered[/TD]
[TD]Unit[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1219[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"PCS")[/TD]
[TD] PCS [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1377[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"KGS")[/TD]
[TD] KGS [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1750[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"SET")[/TD]
[TD] SET [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]938[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"YDS")[/TD]
[TD] YDS [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1100[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"MTR")[/TD]
[TD] MTR [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2390[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"PAR")[/TD]
[TD] PAR [/TD]
[/TR]
</tbody>[/TABLE]
Sometimes there is only one unit i.e. "PCS" or two units i.e. YDS and PAR or sometimes all seven units.
What I am trying to achieve is get the quantity and unit if it is present otherwise return void.
I mean if there is only 938 YDS then a cell must return: "938 YDS".
I mean if there are 1750 SET and 1100 MTR then a cell must return: "1,750 SET, 1,100 MTR".
I mean if there are 1750 SET and 1100 MTR and 1377 KGS then a cell must return: "1,750 SET, 1,100 MTR", 1,377 KGS".
Please guide / advise.
Thanks in advance.
Following is the data and I want to concatenate the numbers with unit. The data is extracted from (=SUMIFS()).
[TABLE="width: 427"]
<colgroup><col span="2"><col><col></colgroup><tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD][/TD]
[TD]B[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Quantity[/TD]
[TD] Formula Enetered[/TD]
[TD]Unit[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]1219[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"PCS")[/TD]
[TD] PCS [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]1377[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"KGS")[/TD]
[TD] KGS [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]1750[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"SET")[/TD]
[TD] SET [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]938[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"YDS")[/TD]
[TD] YDS [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]1100[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"MTR")[/TD]
[TD] MTR [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]2390[/TD]
[TD]=SUMIFS(F42:F71,G42:G71,"PAR")[/TD]
[TD] PAR [/TD]
[/TR]
</tbody>[/TABLE]
Sometimes there is only one unit i.e. "PCS" or two units i.e. YDS and PAR or sometimes all seven units.
What I am trying to achieve is get the quantity and unit if it is present otherwise return void.
I mean if there is only 938 YDS then a cell must return: "938 YDS".
I mean if there are 1750 SET and 1100 MTR then a cell must return: "1,750 SET, 1,100 MTR".
I mean if there are 1750 SET and 1100 MTR and 1377 KGS then a cell must return: "1,750 SET, 1,100 MTR", 1,377 KGS".
Please guide / advise.
Thanks in advance.