Skip to Content
0
Former Member
Sep 28, 2016 at 02:41 PM

UDF Help

28 Views

Hi Guys,

Can you please help me with this UDF.

I have a requirement where I need to output the counter where ever the value matches in the queue.

We have to check 1st value of the queue against all the values and so on and if the value matches then we pass the counter/number to the output else suppress the value.

Input

1-Shipping

1-VAT

1-Discount

1-Discount

1-Shipping

1-Discount

Context Change

2-Shipping

2-VAT

2-Discount

2-VAT

But I need the output like this

1

SUPPRESS

1

2

2

3

SUPPRESS

1

SUPPRESS

2