+ Reply to Thread
Results 1 to 3 of 3

Need help : what Loop i should use ?

  1. #1
    Forum Contributor
    Join Date
    03-28-2013
    Location
    singapore
    MS-Off Ver
    Excel 2010
    Posts
    157

    Unhappy Need help : what Loop i should use ?

    problem: I have two columns, One column in K and another one is in L column.

    K column have percentages % and L column have Remarks . L column should automatically display "to be released" and "not to be released"

    when certain condition are met , the condition is, when ( +/- 3% to be qualified to release)
    Attached Files Attached Files
    Last edited by joh46k; 04-10-2013 at 10:24 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,604

    Re: Need help : what Loop i should use ?

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Ben Van Johnson

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2006
    Posts
    520

    Re: Need help : what Loop i should use ?

    One way

    Try this in L5:
    =IF(ISERROR(K5),"-",IF(K5="","",IF(AND(K5>=-3%,K5<=3%),"ok - to release","Not ok")))
    Copy down. Modify to suit

    This core part in the expression is the one that checks your tolerance limits of +/- 3%
    ... IF(AND(K5>=-3%,K5<=3%),....

    As your data contain error values, these would need to be trapped right in front by:
    =IF(ISERROR(K5),"-", ...

    Lastly, this little bit below is needed ahead of the core tolerance checks as any blank cells are evaluated as zeros by Excel in formula calcs, hence blank cells would give you spurious returns
    .. IF(K5="","", ....

    --------------------------
    Success and understanding? Wave it, Hit the little star at the bottom left of my responses

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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