Formula to find % discount, giving as input the Full Price and the Net Price, with rules.

Amoldavskii

New Member
Joined
Jan 19, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

I need help please for an automatic/ semi automatic % finder.
I Need to find which % of discount is a Net price, from a Full price.
We have 5 possible groups:
A. Under 49.99%
B. From 50% to 50+5%
C. from 50+5+1% to 50+5+5% (to 50+10%)
D from 50+10% to 50+10+5% (to 50+15%)
E. from 50+15+1% to 50+15+5 and higher. at 50+15 rule break and can higher will be 50+15+18 or 50+15+26 ect. (NO more 50+20+1!)

Considering the upper rules, I want to ask if it's possible to find from the input of full and net price, to exactly which % it's =?
I attach my actual Excel Formula and some examples, please view it to understand better.

So, a % discount finder considering the logic of the discount groups.

Help file.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAF
1
2
3FULLNET50 + …FULLNET50 + …
417,163,4060,4%17,168,194,5%
5
6
7
8FULLNET0+ / 50 + …LISTINONetto0+ / 50 + …
910,645,8545,0%<<I need similar to D9 formula (it's italian, SE = IF)Can find EVEN SIMILAR SITUATIONS with ,%, ?10,644,9453,6%= 50+5+2,2%
10Editable = my XEditable = my YResult (don't touch)
11
12
13
14
15
16
17FULLNET0+ / 50 + …….+3° sconto
1810,644,945,00%2,2%
19
20
21FULLNET0+ / 50 + …….+3° sconto
2214,683,6750%
23
24
25
26EXAMPLES Group 1Group 2Group 3Group 4Group 5
27Full price45%46%47%48%49%50%50+1%50+2%50+3%50+4% 50%+5%50+5+1%50+5+2%50+5+3%50+5+4%50+5+5% 50% + 10%50+10+1%50+10+2%50+10+3%50+10+4%50+10+5% 50% + 15%50+15+1%50+15+2%50+15+3%50+15+4%50+15+5%50+15+750+15+28 ect
28Product A10,645,855,755,645,535,435,325,275,215,165,115,055,004,954,904,854,804,794,744,694,644,604,554,524,484,434,394,344,30
29Product B8,484,664,584,494,414,324,244,204,164,114,074,033,993,953,913,873,833,823,783,743,713,673,633,603,573,533,503,463,42
Foglio1
Cell Formulas
RangeFormula
C4,I4C4=B4*0.5*(1-D4)
D9,J9D9=IF((1-(C9/B9/0.5)<1),(1-(C9/B9)),(1-(C9/B9/0.5)))
C18,C22C18=B18*0.5*(1-D18)*(1-E18)
C28:C29C28=B28*0.55
D28:D29D28=B28*0.54
E28:E29E28=B28*0.53
F28:F29F28=B28*0.52
G28:G29G28=B28*0.51
H28:H29H28=B28*0.5
I28:I29,N28:N29,T28:T29,Z28:Z29I28=H28*0.99
J28:J29,O28:O29,U28:U29,AA28:AA29J28=H28*0.98
K28:K29,P28:P29,V28:V29,AB28:AB29K28=H28*0.97
L28:L29,Q28:Q29,W28:W29,AC28:AC29L28=H28*0.96
M28:M29,R28:R29,X28:X29,AD28:AD29M28=H28*0.95
S28S28=H28*0.9
Y28:Y29Y28=H28*0.85
 
Did yo try the one that I suggested, or are you looking to do it without the rows at the bottom?
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Did yo try the one that I suggested, or are you looking to do it without the rows at the bottom?
Exactly, trying to do it without the rows at bottom. (Because the amount of that products can be long (like 500+) and updating all the year).
 
Upvote 0
Trying plan B, simplified, can someone help me with this idea, example:

Considering that 50+10+3% = 56.4% and so on each possible discount (50+5+1% = 52.9%), there are 28 standard discounts % like in the rows from C28 to AD28.

Can you help me please with the formula, something similar to "if D9=value 56.4%", to check it from C28 to AD28 (with that 28 standard discounts), and if true, to show to which it's equal= show cell V27 text "50+10+3%"
 
Upvote 0
That would be a much better way, I'm kicking myself for not thinking of it earlier.

The formula from post 3 should do just that if you change C9 to D9.

You may also need to change 1 at the end to -1 if anything that is not an exact match is rounding the wrong way.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,183
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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