+ Reply to Thread
Results 1 to 7 of 7

Using IF statement for cell value thresholds

  1. #1
    Registered User
    Join Date
    04-15-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    14

    Using IF statement for cell value thresholds

    I need some help with the attached sheet, how do i make the Set up and Reporting cell values default to zero? Rather than the True statement?

    Thanks
    R


    EDIT:

    Solved with this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Also see Jonmo1's response below for alternate solution.
    Attached Files Attached Files
    Last edited by Rince91; 11-09-2016 at 12:00 PM.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Using IF statement for cell value thresholds

    I see no TRUE values anywhere in the spreadsheet.
    However...

    You have a table defined as Units coming from the N: drive.
    The N: drive is a private drive accessible by you only.
    We can't see it.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,460

    Re: Using IF statement for cell value thresholds

    Under what circumstances should they default to 0? Do you mean this?

    =IFERROR(IF(([Total Price Va]*0.1)<10,10,([Total Price Va]*0.1)),0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Using IF statement for cell value thresholds

    Try

    =IF([Total Price Va]=0,0,MAX(10,[Total Price Va]*0.1))
    and
    =IF([Total Price Va]=0,0,MAX(10,[Total Price Va]*0.09))

  5. #5
    Registered User
    Join Date
    04-15-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    14

    Re: Using IF statement for cell value thresholds

    Thanks for the help, unfortunately none of the provided solutions work.

    To explain the problem better, i need the set up to be 10% of the total price (units*price), if the (units*price) is lower than 10 i need to return the value of 10.

    If (units*price) is greater than 10 i need it to return the actual value.

    Really appreciate any help!

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Using IF statement for cell value thresholds

    Works for me, in what way did it not work for you?

    Can you post another attachment showing how it returned the wrong result, and what you expect the correct result to be ?

    Here it is working as is.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    04-15-2016
    Location
    England
    MS-Off Ver
    2010
    Posts
    14

    Re: Using IF statement for cell value thresholds

    Quote Originally Posted by Jonmo1 View Post
    Works for me, in what way did it not work for you?

    Can you post another attachment showing how it returned the wrong result, and what you expect the correct result to be ?

    Here it is working as is.
    Hmmm i definitely copied what you have done but didn't work for some reason...

    Either way i managed to fix it with the below formula.

    Appreciate the help!

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    So if there is no value return Zero else check range and return minimum price or the actual value if it is greater than minimum.

+ 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. [SOLVED] Formula that will change an amount based on a cell meeting certain thresholds
    By arkadd61 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 10-17-2013, 06:16 PM
  2. multiplication with thresholds
    By joshhomme8 in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 08-12-2011, 01:08 PM
  3. Time above and below thresholds of cyclic data
    By crusher32 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2009, 08:43 PM
  4. attendance tracking with thresholds
    By sark666 in forum Excel General
    Replies: 2
    Last Post: 07-30-2009, 04:14 PM
  5. re-opened: Determining thresholds
    By kjiratsiekoedel in forum Excel Formulas & Functions
    Replies: 35
    Last Post: 06-16-2009, 11:03 AM
  6. Greater Than/Less Than Thresholds
    By xtrout in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-28-2006, 06:41 PM
  7. Negative Thresholds in SumProduct
    By Everyday Joe in forum Excel General
    Replies: 0
    Last Post: 05-04-2005, 01:06 PM

Tags for this Thread

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