+ Reply to Thread
Results 1 to 4 of 4

maximum outcome in formula

  1. #1
    Registered User
    Join Date
    05-11-2015
    Location
    Hasselt, Belgium
    MS-Off Ver
    2012
    Posts
    35

    maximum outcome in formula

    This is my formula.
    How can I adapt this so the outcome of ((11+(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1")))) is not greater then 16


    =TEKST.SAMENVOEGEN((11+(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1"))))&("µl PAL + 6µl PhiX + ")&(594-(11+(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1")))))&("µl HT1"))


    Thx in advance!

    An

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: maximum outcome in formula

    Use MAX(16; ((11+(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1")))))


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    05-11-2015
    Location
    Hasselt, Belgium
    MS-Off Ver
    2012
    Posts
    35

    Re: maximum outcome in formula

    =TEKST.SAMENVOEGEN((11+(MIN(5;(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1"))))))&("µl PAL + 6µl PhiX + ")&(594-(11+(MIN(5;(1,5*(AANTAL.ALS(P5:P16;("~<*"))))+(1,5*(AANTAL.ALS(P5:P16;"<1")))))))&("µl HT1"))

    This helped aswell. Thx!

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,428

    Re: maximum outcome in formula

    You're welcome. Thanks for the rep.

    Dohhhh. I went for MAX on the basis of "is not greater then 16".

    Ho hum. But glad it helped point you in the right direction. Feeling pretty stupid at the moment

+ 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] Outcome of a formula as value for a variable
    By rpinxt in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-20-2014, 11:32 AM
  2. [SOLVED] Tripple outcome formula
    By tbenge05 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 03-21-2014, 11:48 AM
  3. Copy outcome of a formula into a different cell
    By SRA in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-16-2013, 04:54 PM
  4. [SOLVED] Displaying the outcome of a Formula in a message Box VBA
    By darby88 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-12-2012, 01:19 AM
  5. Multiple outcome IF formula
    By dm1983 in forum Excel General
    Replies: 2
    Last Post: 06-20-2010, 12:11 PM
  6. Incorrect formula outcome
    By leonidas in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-27-2006, 09:25 AM
  7. format the outcome of a formula
    By tinester in forum Excel General
    Replies: 3
    Last Post: 04-12-2006, 03:10 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