+ Reply to Thread
Results 1 to 5 of 5

IF function problem

Hybrid View

  1. #1
    Registered User
    Join Date
    06-01-2011
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Thumbs up IF function problem

    Hi to all,
    I would really appreciate any help i can get to solve my prob. I am trying to develop a formula using the IF function that will give me a number result rather than a word i.e. True / false etc.
    Here is the first part of my formula =IF(A1>10 what i want to say here is , then show the number that is in cell A1, the other half of the formula is if the number in A1 is less than 10, then show 0
    Last edited by bannister47; 06-01-2011 at 11:18 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF function problem

    What if A1=10?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    04-07-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    22

    Re: IF function problem

    two possible solutions, but that depends on the what if A1 = 10, if you need to include this as a paramater you will need to use an IF(OR( function, other wise you can use a simle If then statment.

    Simple IF statment:

    IF(A1>10,A1,0)
    which means, If A1 is greater then 10, show me A1, if its not just give me a 0.

    IF(OR Statment:
    * Use this if you need to include 10 as a value

    IF(OR(A1>10,A1=10),A1,0)
    which means if a1 is greater or equle to 10 then show me A1, if these conditions are false then give me a 0.

  4. #4
    Registered User
    Join Date
    06-01-2011
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: IF function problem

    IF OR worked a treat, many thanks, has been driving me crazy.

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: IF function problem

    FYI...

    that is better written as:

    =IF(A1>=10,A1,0)

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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