# simple calculating rates

#### Border

##### New Member
Hi, I am having trouble with a calculation on a spreadsheet and not having much luck in figuring it out.

Problem
A6 result is \$25,000 (total order value)

I need B6 to calculate a charge rate.

The charge rate is -
Orders <\$15,000=\$25
Orders >\$25,000=\$35
Orders >\$50,000=\$50

I would really appreciate assistance with this one.
Thank you
Debbie

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

#### Vindaloo

##### New Member
You have a hole in the function between \$15,000 and \$25,000.

=IF(A6>50000,50,IF(A6>25000,35,25))

This can also work with ">="

Make sure there are no holes in your function.

#### Border

##### New Member
This works perfectly, but I did forget one thing... I need to = 0 if there is no orders on the line.
I suppose that might be the hole in my function, otherwise it is good.

#### Border

##### New Member
Working on the logic of your formula, I have managed to add in the extra missing section.
Many thanks.
cheers.
Debbie

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,164,376
Messages
5,836,896
Members
430,461
Latest member
flavgf

### 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?

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