Column A includes a list of vendors. The vendors may be repeated. Eg: A2=Vendor1, A3=Vendor2, A4=Vendor1, A5=Vendor3, A6=Vendor2 etc.
Column B includes the payout made to each vendor. Eg: B2=5000, B3=2000, B4=1000, B5=6000 etc.
Is there any way to compute total payout made to Vendor1, Vendor2, Vendor3 etc?