+ Reply to Thread
Results 1 to 2 of 2

Difficulty adding minimum and maximum values to an existing formula

  1. #1
    Registered User
    Join Date
    03-12-2014
    Location
    Alabama
    MS-Off Ver
    Excel Mac: 2011
    Posts
    1

    Difficulty adding minimum and maximum values to an existing formula

    I'm currently using the following formula to return values rounded down to the nearest 2.5: =FLOOR(X8*1.25,2.5)

    This works fine but I would like to put in place a system where if the "X8" value is 1 the formula produces a 2.5, and if the "X8" value is 10 or greater the formula produces a 10.

    I would greatly appreciate any help if altering the formula to accomplish this goal. Thanks!

  2. #2
    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,820

    Re: Difficulty adding minimum and maximum values to an existing formula

    =if(x8=1,2.5,if(x8=>10,10,floor(x8*1.25,2.5)))
    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.

+ 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] Conditional maximum and minimum values
    By metsci in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 01-20-2013, 11:35 PM
  2. Adding date/time to minimum and maximum flow values
    By junglefighter25 in forum Excel General
    Replies: 2
    Last Post: 07-06-2012, 07:28 PM
  3. Maximum & Minimum values in a coulmn
    By balmalik in forum Excel General
    Replies: 7
    Last Post: 07-21-2006, 05:35 AM

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