Help with formula please.

bionicle

Board Regular
Joined
Apr 23, 2009
Messages
186
Office Version
  1. 365
Platform
  1. Windows
Hi everyone,

Can some one provide some guidance on a formula please. I have a drop down with "group1, group2, group3" in cell J1 and based on that value I need a formula that look at a salary in column J3 that will calculate 20% of that salary, if the sum of that formula is between £4,500 and £7500 then it does nothing but if its under or over it will default to either the £4500 or the £7500. the result needs to be in cell K3

Any help would be appreciated.
 
Hi all,

The formula works great however I've hit another block.

I'm now trying to put together 3 formulas into one, could someone help with this and advise on how this would work please.

=(MIN(MAX(VLOOKUP(N21,R21:S24,2,0)*N22,4608),7097))

=(MIN(MAX(VLOOKUP(N21,R21:S24,2,0)*N22,3898),4967))

=(MIN(MAX(VLOOKUP(N21,R21:S24,2,0)*N22,1066),1845))
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Looks like you need to have another look at post #5 ;)
 
Upvote 0
Since I will be signing off for the night shortly I will take some punts that the group could affect the percentage calculation and the minimum and maximum results allowed.
Also assuming for now that Ms365 or higher is available.

22 03 03.xlsm
JKLMNOPQ
1group2Group%MinMax
2group120%4,5007,500
3330007260group222%6,00010,000
4group325%7,50012,000
Sheet2
Cell Formulas
RangeFormula
K3K3=LET(g,FILTER(O2:Q4,N2:N4=J1),MIN(MAX(INDEX(g,1)*J3,INDEX(g,2)),INDEX(g,3)))

Tried post 5 and all i get in the cell is #NAME?, any ideas why?

1646666053593.png
 
Upvote 0
Do you have the LET function?
 
Upvote 0
If you type =Le into a cell is one of the options LET?
 
Upvote 0
If you type =Le into a cell is one of the options LET?
That's how I found out I don't have it :(, just checked online and according to the MS website I have to have version 2009 or later and I'm running version 2008,

I don't know whether there is another way to get the LET function or whether the formula can be wrote using an alternative method.
 
Upvote 0
It can be done without let, like
Excel Formula:
=MIN(MAX(FILTER(O2:O4,N2:N4=J1)*J3,FILTER(P2:P4,N2:N4=J1)),FILTER(Q2:Q4,N2:N4=J1))
 
Upvote 0
It can be done without let, like
Excel Formula:
=MIN(MAX(FILTER(O2:O4,N2:N4=J1)*J3,FILTER(P2:P4,N2:N4=J1)),FILTER(Q2:Q4,N2:N4=J1))
That worked a treat, thank you.

Just need to speak with our IT department to see if I can get an upgrade.
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,844
Members
449,471
Latest member
lachbee

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