Excel Formula

Posted on 2012-03-22
Last Modified: 2012-03-27
I have the following formula that works.

I need to add a section that would calculate a minimum value of say 5. As in this formula

I basically need a combination of the two, so F11*0.04 with a minimum value of 5 amnd a maximum of 120.

Any help greatly appreciated
Question by:iainmacleod
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Expert Comment

ID: 37752856
1) There is a MIN(...) function in Excel which is more comfortable to use in the case you describe, e.g. the initial working formula would be:

Open in new window

2) What do you mean by "section"? You don't need to use SUM(...) function for a 1-item list like SUM(F11*0.04).

Accepted Solution

petr_hlucin earned 250 total points
ID: 37752881
Sorry, now I read your post more carefully. What you probably need is the following:
=MIN(MAX(F11*0.04, 5), 120)

Open in new window

This formula will return F11*0.04 if it is in range of 5..120, otherwise it will return 5 (if it is smaller), or 120 (if it is greater).

Assisted Solution

wshark83 earned 250 total points
ID: 37752882
how about this:

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now


Author Comment

ID: 37752987
Thanks for the quick response, both work perfectly..

Expert Comment

ID: 37753025
Since both work perfectly could you please assign several points to me as well?

Author Closing Comment

ID: 37770185
I had to ask for the question to be reopened as I had meant to accept both solutions. This is now done. Thanks to both

Featured Post

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

691 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question