Trying to create a cell with MAX and IF functions

1. 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. 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. Re: Trying to create a cell with MAX and IF functions

Worked great. Thank you!!

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

You're welcome.

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

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

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