+ Reply to Thread
Results 1 to 3 of 3

Adding to a formula to limit the maximum result

  1. #1
    Forum Contributor
    Join Date
    07-29-2013
    Location
    Oshawa
    MS-Off Ver
    Excel 2010
    Posts
    660

    Adding to a formula to limit the maximum result

    Hi everyone,

    I currently have a formula which is added the results of 8 vlookups together. What I would like is to add an if statement in the cell which states that if the result is greater than 1000 then the result will show as 1000, otherwise the result should be what the additional formula comes out to. I tried if(Y4>1000,1000,y4) but I got an error. Any thoughts?

    Thanks!

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.95 for Mac MS 365
    Posts
    8,682

    Re: Adding to a formula to limit the maximum result

    so you're not adding that part to the 8 vlookups formula right (it is a stand alone formula)?
    if so, maybe you need to add quotes around the "1000" since it is the output of other formulas. Have you tried that?
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Adding to a formula to limit the maximum result

    Use

    =MIN(your_formula,1000)
    Life's a spreadsheet, Excel!
    Say thanks, Click *

+ 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. Replies: 2
    Last Post: 11-22-2012, 04:18 AM
  2. Formula to limit maximum value
    By Lunar in forum Excel General
    Replies: 3
    Last Post: 01-27-2012, 03:54 AM
  3. formula to limit maximum value
    By tomco11ins in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2011, 11:34 PM
  4. custom data validation formula to limit cell value to maximum of 4 decimal places
    By wotadude in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2009, 04:42 PM
  5. Replies: 3
    Last Post: 08-13-2008, 08:25 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