+ Reply to Thread
Results 1 to 3 of 3

"IF" Function Help ?

  1. #1
    Registered User
    Join Date
    10-13-2003
    Posts
    27

    "IF" Function Help ?

    Good Morning. I think this is "IF" function help, but can't be sure.

    Here's what I am trying to do. I have a cell with a number in it, say 57. In another cell I want to return the value of 50 only, in other words delete anything over 50. I currently have this:

    Cell A1 = 50

    =IF(A1>50,"50",A1)

    This ends up returning the actual value if it's less than 50 (which I want)....and ends up returning "50" to the cell if it's over 50, except that it's not a value of 50 - if I have a 50, 50, and 45 it sums the 3 cells as only 45.

    Thanks in advance for the help.
    Max

  2. #2
    Registered User
    Join Date
    10-13-2003
    Posts
    27

    Here's the answer

    Thanks everybody, I have found the answer.


    Remove the " " from the 50.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451
    Another way is:
    =MIN(A1,50)

+ 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