+ Reply to Thread
Results 1 to 4 of 4

Trying to create a cell with MAX and IF functions

  1. #1
    Registered User
    Join Date
    12-10-2019
    Location
    Iowa
    MS-Off Ver
    Office 365
    Posts
    2

    Trying to create a cell with MAX and IF functions

    I am reforming a quote sheet for my shop and I am trying to fix a cell on the form that looks at the labor charge and calculates a shop fee.

    What I need is a formula that combines =MAX((H40+H41+H42)*9%,5) with something that returns 0 if H40+H41+H42=0.

    =MAX((H40+H41+H42)*9%,5) is working.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    19,640

    Re: Trying to create a cell with MAX and IF functions

    Have you tried this:

    =IF(SUM(H40:H42)=0,0,MAX((H40+H41+H42)*9%,5))

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    12-10-2019
    Location
    Iowa
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Trying to create a cell with MAX and IF functions

    Worked great. Thank you!!

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Excel 2007
    Posts
    19,640

    Re: Trying to create a cell with MAX and IF functions

    You're welcome.

    If that takes care of your original question, please take a moment to select Thread Tools from the menu above and to the right of your first post in this thread, and mark the thread as SOLVED.

    Also, since you are relatively new to the forum, you might like to know that you can directly thank those who have helped you by clicking on the small "star" icon located in the lower left corner of a post that you have found to be helpful (not just in this thread - for any post that has helped you). This also adds to the reputation of the poster (the small green bars in the poster's profile).

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 07-19-2018, 09:32 AM
  2. Create worksheet functions within userform
    By melcoats in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-12-2014, 11:16 AM
  3. How to create 2 or more functions in one
    By stevesteve in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-29-2013, 03:02 AM
  4. Create Functions in word 2003?
    By mostli in forum Word Formatting & General
    Replies: 4
    Last Post: 10-06-2009, 09:46 AM
  5. how to create my own functions??
    By anthropomorfic in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-09-2006, 06:10 PM
  6. Create a dll with functions to excel
    By Rui Cruz in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-23-2006, 01:00 PM
  7. Help me ! I want to create two or more functions work in one cell.
    By peter via OfficeKB.com in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 06-27-2005, 01:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1