+ Reply to Thread
Results 1 to 5 of 5

Min Value Rule

  1. #1
    Registered User
    Join Date
    05-08-2008
    Posts
    40

    Min Value Rule

    Ok.. Hopefully this is the last one I need..!

    I have this formula working;

    =IF(C15="F",IF(C15="F",B15*0.04+0.13),IF(C15="L",$Z$2,IF(C15="O",$Z$5,IF(C15="M",MIN(2.3,B15*0.23)+MAX(0,B15-15)*0.23,IF(C15="N",MIN(0.55,B15*0.08)+MAX(0,B15-10)*0.08)))))

    Cell B15 is the reference, when calculating the value if C15 = either "M" or "N"
    then minimum value to reference is 1 (eg it would assume B15 = 1, after that it can be any number or part there of, but it must be a minimum of 1 when calculating the value if C15 =either "M" or "N"

    I can't just change B1, as there are other columns that allow B15 to be less than 1.


    Thanks,

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Do you mean something like:

    Please Login or Register  to view this content.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-08-2008
    Posts
    40
    Quote Originally Posted by NBVC
    Do you mean something like:

    Please Login or Register  to view this content.

    Unfortunately no..

    In your example, B15 seems to be a constant 1, but what I need to do is if, B15 =< 1 then B15 needs to seen to be 1, but after that it can stay at the true value, eg 1.5, or 2, or 3.

    So if I have a min call cost of .08 per min, and the call is only 30sec, it will calculate as 1min, not the 30secs, but is the call is 1m30sec, then it will calculate as 1min30sec.

    I hope this makes sense ?

    Thanks
    Mike

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Then change my Min()'s to Max()'s


    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-08-2008
    Posts
    40
    Quote Originally Posted by NBVC
    Then change my Min()'s to Max()'s


    Please Login or Register  to view this content.

    Many Thanks...

    For such a little kid (reference your avatar), you are extremely smart..!!!

+ 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