+ Reply to Thread
Results 1 to 3 of 3

Capping the formula

  1. #1
    Registered User
    Join Date
    01-24-2018
    Location
    UK
    MS-Off Ver
    2013
    Posts
    10

    Capping the formula

    I have this formula which works perfectly..

    =IF(ISERROR(P6-8.5)," ",(IF(P6>8.5,P6-8.5,"")))

    but i now need to cap the second half of the formula..so if P6 is greater than 8.5, it does P6-8.5.. but it doesn't return a result that is greater than 1
    Last edited by MJLG; 02-01-2018 at 06:37 AM.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Capping the formula

    Hi

    What you want if P6 < 8.5 ?

    May be
    =IF(ISERROR(P6-8.5)," ",(IF(P6>8.5,P6-8.5,P6)))

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,366

    Re: Capping the formula

    Try

    =IF(ISERROR(P6-8.5)," ",(IF(P6>8.5,MIN(1,P6-8.5),"")))

    but not sure about the IFERROR

    perhaps

    =IF(P6=""," ",IF(P6>8.5,MIN(1,P6-8.5),""))

+ 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] Capping a [hh]:mm
    By Beany.uk in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-19-2016, 06:12 PM
  2. Replies: 3
    Last Post: 06-14-2012, 09:18 AM
  3. Capping a cell value
    By Max9 in forum Excel General
    Replies: 2
    Last Post: 03-25-2011, 03:16 AM
  4. capping cell value
    By excelnonwizard in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-18-2010, 03:38 AM
  5. capping amount in formula?
    By jivins in forum Excel General
    Replies: 2
    Last Post: 11-25-2008, 02:01 PM
  6. Capping results
    By djarcadian in forum Excel General
    Replies: 4
    Last Post: 01-05-2006, 05:20 PM
  7. Capping a formula value?
    By Scot B in forum Excel General
    Replies: 2
    Last Post: 12-27-2005, 07:45 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