Need support with calculation logic

raviansal

New Member
Joined
Mar 6, 2022
Messages
5
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
Hi Team,


I am trying to create a price calculator. It is a bit tough and i am not good at these complex logics. kind of subscription model. Can you please help.

Logic :
1. Select a product ( there are 10 different products)
2. Select the type of agreement ( three are 5 different options)
3. Number of products ( min : 1; max : 999)
4. Age of the device: can be 1 to 5 ( basically 1 year old ; 2 year old ; 3....)
5. Number of agreement years : 1 to 5 years

there is a discount model : every agreement year adds a 5% discount but age adds 5%.

Here is some demo data

List of pricing
1659535968158.png


Calculator:
1659536057641.png


Final drop down:

1659536143342.png


I am still learning the best way to do it. Not sure which logic can make it work and does not over complicate. specially that the pricing can change and if it is not dynamic it will fail.
Happy to get some directions and help.

Best,
Ravi Ansal
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Hi Team,


I am trying to create a price calculator. It is a bit tough and i am not good at these complex logics. kind of subscription model. Can you please help.

Logic :
1. Select a product ( there are 10 different products)
2. Select the type of agreement ( three are 5 different options)
3. Number of products ( min : 1; max : 999)
4. Age of the device: can be 1 to 5 ( basically 1 year old ; 2 year old ; 3....)
5. Number of agreement years : 1 to 5 years

there is a discount model : every agreement year adds a 5% discount but age adds 5%.

Here is some demo data

List of pricing
View attachment 70741

Calculator:
View attachment 70742

Final drop down:

View attachment 70743

I am still learning the best way to do it. Not sure which logic can make it work and does not over complicate. specially that the pricing can change and if it is not dynamic it will fail.
Happy to get some directions and help.

Best,
Ravi Ansal
First of all you are doing 2 things wrong -
First - Table Structure of List of Pricing
Second - Table Structure of Discount as per the years

If you can do above two things right you can pull that information using Data validation and XLOOKUP and calculate the desired result instantly.
 
Upvote 0

Forum statistics

Threads
1,224,819
Messages
6,181,153
Members
453,021
Latest member
Justyna P

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