DATA
[TABLE="width: 705"]
<tbody>[TR]
[TD]PO NO[/TD]
[TD]Vendor No.[/TD]
[TD]Vendor Name[/TD]
[TD]Account[/TD]
[TD] US$ [/TD]
[TD]Posting Date[/TD]
[TD]COMMENTS[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002002[/TD]
[TD] 200.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002003[/TD]
[TD] 350.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002004[/TD]
[TD] 300.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002005[/TD]
[TD] 270.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45230[/TD]
[TD]12008[/TD]
[TD]XYZ COMPANY[/TD]
[TD]11002090[/TD]
[TD] 2,500.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG ADDRESS[/TD]
[/TR]
[TR]
[TD]45233[/TD]
[TD]12008[/TD]
[TD]XYZ COMPANY[/TD]
[TD]11002090[/TD]
[TD] 3,000.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG ADDRESS[/TD]
[/TR]
[TR]
[TD]45263[/TD]
[TD]12031[/TD]
[TD]GOOD LLC[/TD]
[TD]11002090[/TD]
[TD] 500.00 [/TD]
[TD]31-12-2015[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45275[/TD]
[TD]11042[/TD]
[TD]LINE COMPANY[/TD]
[TD]11002090[/TD]
[TD] 300.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG AMOUNT[/TD]
[/TR]
[TR]
[TD]45275[/TD]
[TD]11042[/TD]
[TD]LINE COMPANY[/TD]
[TD]11002091[/TD]
[TD] 400.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG AMOUNT[/TD]
[/TR]
[TR]
[TD]45435[/TD]
[TD]11288[/TD]
[TD]JK LLC[/TD]
[TD]11002090[/TD]
[TD] 700.00 [/TD]
[TD]31-12-2015[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002090[/TD]
[TD] 80.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002080[/TD]
[TD] 50.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002090[/TD]
[TD] 30.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col></colgroup>[/TABLE]
When I run vlookup I am getting the below result: It count NO PO including duplicate numbers:
[TABLE="width: 292"]
<tbody>[TR]
[TD]COMMENTS[/TD]
[TD]Count of PO NO[/TD]
[TD]Sum of US$[/TD]
[/TR]
[TR]
[TD]CLEAN INVOICE[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]160[/TD]
[/TR]
[TR]
[TD]NO INVOICE[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]2320[/TD]
[/TR]
[TR]
[TD]WRONG ADDRESS[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5500[/TD]
[/TR]
[TR]
[TD]WRONG AMOUNT[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]700[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]8680[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
I do not want counting duplicate just consider as one. like below example:
how can I get the below result in the vlookup please.
[TABLE="width: 292"]
<tbody>[TR]
[TD]COMMENTS[/TD]
[TD]Count of PO NO[/TD]
[TD]Sum of US$[/TD]
[/TR]
[TR]
[TD]CLEAN INVOICE[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]160[/TD]
[/TR]
[TR]
[TD]NO INVOICE[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2320[/TD]
[/TR]
[TR]
[TD]WRONG ADDRESS[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5500[/TD]
[/TR]
[TR]
[TD]WRONG AMOUNT[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]700[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8680[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
[TABLE="width: 705"]
<tbody>[TR]
[TD]PO NO[/TD]
[TD]Vendor No.[/TD]
[TD]Vendor Name[/TD]
[TD]Account[/TD]
[TD] US$ [/TD]
[TD]Posting Date[/TD]
[TD]COMMENTS[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002002[/TD]
[TD] 200.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002003[/TD]
[TD] 350.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002004[/TD]
[TD] 300.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45280[/TD]
[TD]12031[/TD]
[TD]ABC COMPANY[/TD]
[TD]11002005[/TD]
[TD] 270.00 [/TD]
[TD]31-12-2016[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45230[/TD]
[TD]12008[/TD]
[TD]XYZ COMPANY[/TD]
[TD]11002090[/TD]
[TD] 2,500.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG ADDRESS[/TD]
[/TR]
[TR]
[TD]45233[/TD]
[TD]12008[/TD]
[TD]XYZ COMPANY[/TD]
[TD]11002090[/TD]
[TD] 3,000.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG ADDRESS[/TD]
[/TR]
[TR]
[TD]45263[/TD]
[TD]12031[/TD]
[TD]GOOD LLC[/TD]
[TD]11002090[/TD]
[TD] 500.00 [/TD]
[TD]31-12-2015[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45275[/TD]
[TD]11042[/TD]
[TD]LINE COMPANY[/TD]
[TD]11002090[/TD]
[TD] 300.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG AMOUNT[/TD]
[/TR]
[TR]
[TD]45275[/TD]
[TD]11042[/TD]
[TD]LINE COMPANY[/TD]
[TD]11002091[/TD]
[TD] 400.00 [/TD]
[TD]31-12-2015[/TD]
[TD]WRONG AMOUNT[/TD]
[/TR]
[TR]
[TD]45435[/TD]
[TD]11288[/TD]
[TD]JK LLC[/TD]
[TD]11002090[/TD]
[TD] 700.00 [/TD]
[TD]31-12-2015[/TD]
[TD]NO INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002090[/TD]
[TD] 80.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002080[/TD]
[TD] 50.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
[TR]
[TD]45480[/TD]
[TD]10038[/TD]
[TD]LOGIC COMPANY[/TD]
[TD]11002090[/TD]
[TD] 30.00 [/TD]
[TD]31-12-2016[/TD]
[TD]CLEAN INVOICE[/TD]
[/TR]
</tbody><colgroup><col><col><col><col><col><col><col></colgroup>[/TABLE]
When I run vlookup I am getting the below result: It count NO PO including duplicate numbers:
[TABLE="width: 292"]
<tbody>[TR]
[TD]COMMENTS[/TD]
[TD]Count of PO NO[/TD]
[TD]Sum of US$[/TD]
[/TR]
[TR]
[TD]CLEAN INVOICE[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]160[/TD]
[/TR]
[TR]
[TD]NO INVOICE[/TD]
[TD="align: right"]6[/TD]
[TD="align: right"]2320[/TD]
[/TR]
[TR]
[TD]WRONG ADDRESS[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5500[/TD]
[/TR]
[TR]
[TD]WRONG AMOUNT[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]700[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]13[/TD]
[TD="align: right"]8680[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
I do not want counting duplicate just consider as one. like below example:
how can I get the below result in the vlookup please.
[TABLE="width: 292"]
<tbody>[TR]
[TD]COMMENTS[/TD]
[TD]Count of PO NO[/TD]
[TD]Sum of US$[/TD]
[/TR]
[TR]
[TD]CLEAN INVOICE[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]160[/TD]
[/TR]
[TR]
[TD]NO INVOICE[/TD]
[TD="align: right"]3[/TD]
[TD="align: right"]2320[/TD]
[/TR]
[TR]
[TD]WRONG ADDRESS[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]5500[/TD]
[/TR]
[TR]
[TD]WRONG AMOUNT[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]700[/TD]
[/TR]
[TR]
[TD]Grand Total[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]8680[/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]