Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have following data
I need in this format
I also want to omit blank rows having no voucher.
I wrote the below script but cannot populate the Account name and account no fields and cannot omit blank rows
LOAD if((left([Voucher Type & No],6))='A/C No',RIGHT(LEFT([Voucher Type & No],16),5),) as [Account No],
if((left([Voucher Type & No],6))='A/C No',RIGHT([Voucher Type & No],LEN([Voucher Type & No])-18),) as [Account Name],
if((left([Voucher Type & No],6))<>'A/C No',[Voucher Type & No],)) as [Voucher Type],
F2 as [Voucher No],
Date,
FROM
(ooxml, embedded labels, header is 2 lines, table is Sheet4);