Excel Smart Price Buckets "Pivot" or VB Assistance

Adler212

New Member
Joined
Oct 3, 2017
Messages
1
Hello eveyone,

Im looking for asssitance on calculating a buket level and total buckets, based on a comparison to another sheet ( Red culms)

In order to emphesize here is an example;


Sheet A ( Spend)


DatePO NumberVendorVendor IDItem DescItemMain CategorySec CategoryCurrencyUnit PriceQuantityTotal ValueSiteYearBucketTotal Buckets
01/01/20161111111Vendor A10891Yellow Package 1000015PackageFlexibleEUR3010300Site A201626
02/02/20161111112Vendor A10891Yellow Package 1000015PackageFlexibleEUR102002,000Site A201666
03/03/20161111113Vendor B10892Yellow Package 1000064PackagePlasticEUR38.5550019,275Site A201644

<colgroup><col span="4"><col><col span="2"><col><col span="6"><col><col></colgroup><tbody>
</tbody>


Sheet B ( Agreements):

ItemVendorVendor DescriptionAgreementCurrencyQuantityUnit PriceBucket
100001510891Vendor A1005762EUR541.31
100001510891Vendor A1005762EUR10302
100001510891Vendor A1005762EUR20253
100001510891Vendor A1005762EUR30204
100001510891Vendor A1005762EUR40155
100001510891Vendor A1005762EUR50106
100006410892Vendor B4000085USD10551
100006410892Vendor B4000085USD10030.742
100006410892Vendor B4000085USD20024.483
100006410892Vendor B4000085USD30038.554

<colgroup><col><col><col><col><col span="4"></colgroup><tbody>
</tbody>


Im looking for a way to calculate in the spend Sheet the buckets that appear in the Agreements Sheet. Somehow it's a Vlookup within a Vlookup but i cannot figure out how to properly design the formula so it will be based on the Item ID, and then calculate how many buckets does this crossed Item & Vendor include in the Agreement sheet, and on what bucket does it fall on ( per line).

I would appreciate any assistance on the matter,
Thanks in advance,
Asaf.
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top