Autofilter option

Karthikeyan Devan

Board Regular
Joined
May 5, 2009
Messages
114
Hi All,

I have an excel template where we use to calculate the discount rate. I need it to be calculate automatically.

Here is the scenario.

In Cell B1 i have an autofilter option which consit of customer names. (XYZ and ZZZ)

In cell B2 have an autofilter option which ask whether INTER or METRO.

In Cell B3 I have the autofilter which is system (SIEBEL or ORACLE).

In Cell B4, user will give the price.

Now, i need the discount price in Cell B5.

Here is what what i needed. Suppose,

If user choose XYZ as customer. If it is Inter in type and Siebel in system then 50% disconunt should apply in B5.

If user choose XYZ as customer. If it is Inter in type and Oracle in system then 40% disconunt should apply in B5.

If user choose XYZ as customer. If it is metro in type and Siebel in system then 60% of disconunt should apply in B5.
If user choose XYZ as customer. If it is metro in type and Oracle in system then 70% of disconunt should apply in B5.

If user choose ZZZ as customer. If it is Inter in type and Siebel in system then 40% disconunt should apply in B5.

If user choose ZZZ as customer. If it is Inter in type and Oracle in system then 30% disconunt should apply in B5.

If user choose ZZZ as customer. If it is metro in type and Siebel in system then 500% of disconunt should apply in B5.

If user choose ZZZ as customer. If it is metro in type and Oracle in system then 800% of disconunt should apply in B5.

I understand this is little bit confusing but i am not sure how to put this right way. Any VBA coding for this would be great help.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,224,597
Messages
6,179,808
Members
452,944
Latest member
2558216095

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