+ Reply to Thread
Results 1 to 4 of 4

Formula to limit maximum value

  1. #1
    Registered User
    Join Date
    01-26-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Formula to limit maximum value

    I have a large column of data and wish to run a formula over the data which checks the value and changes it to a set value if it exceeds a certain amount.

    ie. for a single field it would look like this IF(C7>50,50,) but this doesn't run over the whole column.

    Thanks

    Lunar
    Last edited by Lunar; 01-29-2012 at 08:46 PM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Formula to limit maximum value

    Hi,

    You need to clarify exactly what you mean with a specific example - preferably in a workbook.
    For instance what's the default condition for the IF() test? i.e what if C7 <=50
    Are you looking to use the maximum column C value in the IF test?
    What do you mean by 'run over the whole column'?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    01-26-2012
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Formula to limit maximum value

    Thanx, I have solved the problem, used the IF formula as in the OP and filled the column adjacent my data.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Formula to limit maximum value

    Your post does not comply with Rule 9 of our Forum RULES. If you solve a problem yourself before anyone else has responded, please take a moment to describe your solution, chances are some other member will benefit. And please never edit a thread in which someone else has responded.


    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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