Help With Formula

Jes271

New Member
Joined
Dec 10, 2018
Messages
4
Hi,
I am trying to set up a rate spreadsheet.
I have a column with distance
I need to have the answer be x if between this range, and x if between this range. I have about 5 different ranges.
This is what I have tried, but it returns error.( You've entered too many arguments for this function)

Here are the ranges,
If: x is under 350=$950
If: x is 351-450 then multiply by 3.75
If: x is 451-550 then multiply by 3.5
If: x is 551 and up multiply by 3.25

Here is the formula i have been playing around with. =IF(V7>350,v7<450,v7*3.75,if(v7>401,V7<550,V7*3.5,if(V7>551,V7*3.35,950)))
Any help would be appreciated.thanks
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Welcome to the forum.

You can do it easily be starting from the bottom band and working up:

=IF(V7<=350,950,If(v7<=450,v7*3.75,if(v7<=550,V7*3.5,V7*3.35)))
 
Upvote 0
would you confirm that for x=450,

will it be 450*3.75 = 1687.5 or
950+100*3.75 = 1325
 
Upvote 0
=IF(V7<=350,950,If(v7<=450,v7*3.75,if(v7<=550,V7*3.5,if(v7<=750,V7*3.35,V7*2.75))))

If there are any more options than that, I'd suggest a lookup table. Even with this number, it will be easier to maintain.
 
Upvote 0
Hi,

Or you could "build in the table" with LOOKUP:


Book1
VW
7325950
Sheet388
Cell Formulas
RangeFormula
W7=IF(V7<=350,950,V7*LOOKUP(V7,{351,451,551,751},{3.75,3.5,3.35,2.75}))
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,570
Members
452,652
Latest member
eduedu

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