Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

IF then Else function usage in Excel 2007

Latest post Wed, Oct 12 2011 9:55 AM by Bob Phillips. 8 replies.
  • Sat, Oct 11 2008 5:21 AM

    IF then Else function usage in Excel 2007

    Hi All,

    I need help in terms of usage of which funtion formula to do the following.

    I have an excel sheet in which i would like to use the 'IF' funtion and then by formatting arrive at the values in the cell, say if the value of a particular cell is > 3 then the cell in which we are putting the formula should read as Fast Moving. Similarly if the value is between >1 and < 3 then it should read as Slow moving and if the value is less than 1 it should read as slow moving.

    Can someone help me with the function to be used to solve this.

    Thanks in advance.

    Regards

    Mathew

     

    Mathew E. Yohannan

    Filed under:
    • Post Points: 53
  • Sat, Oct 11 2008 6:20 AM In reply to

    • Nick Hodge
    • Top 10 Contributor
    • Joined on Sun, Dec 23 2007
    • Southampton
    • Posts 543
    • Points 9,287
    • MVP

    Re: IF then Else function usage in Excel 2007

    Matthew

    There are some contradictions in your criteria, e.g you have >3 and <3. What happens if it is 3? I have allowed for some of these but anything over 1 will get a proper case Slow Moving and anything below or equal to 1 will get an all lower case 'slow moving'. (That would be too subtle a difference for me!)

    I have also allowed the first clause to show nothing if the cell it relies on is blank.

    =IF(A1="","",IF(A1>=3,"Fast Moving",IF(A1>1,"Slow Moving","slow moving")))

    Regards
    Nick Hodge
    Microsoft MVP, Excel
    Southampton, UK

    Filed under:
    • Post Points: 5
  • Sat, Oct 11 2008 1:56 PM In reply to

    Re: IF then Else function usage in Excel 2007

    Perhaps youmean

     

    =IF(A1="","",IF(A1>=3,"Fast ",IF(A1>=1,"","Slow ")))&"Moving"

    Regards

    Bob

    • Post Points: 21
  • Fri, Oct 17 2008 9:45 AM In reply to

    Re: IF then Else function usage in Excel 2007

    Thanks for the responses. To make your understanding more clear, when it meets the below crieterias i want the answers as below.
     
    Crieteria   Category
    >=3Fast    Moving
    >1<=2      Slow Moving
    <=0         Non Moving

    Mathew E. Yohannan

    • Post Points: 21
  • Fri, Oct 17 2008 10:51 AM In reply to

    Re: IF then Else function usage in Excel 2007

    =IF(A1="","",IF(A1>=3,"Fast ",IF(A1>=1,"Slow ","Non-")))&"Moving"

    Regards

    Bob

    • Post Points: 21
  • Sat, Oct 18 2008 3:16 AM In reply to

    Re: IF then Else function usage in Excel 2007

    thanks. it worked.

     

    Regards
    Mathew

    Mathew E. Yohannan

    • Post Points: 21
  • Thu, Sep 15 2011 12:52 AM In reply to

    • A. Dreamer
    • Not Ranked
    • Joined on Thu, Sep 15 2011
    • Posts 1
    • Points 5

    Re: IF then Else function usage in Excel 2007

    Hello! My problem is similar to Mathews although I'm not sure the same formula will work... The calculation concerns two people running after each other, one starting from a further horizontal distance... I would need my excell spreadsheet to do this:

    If person B's horizontal position = to person A's horizontal position and person B's vertical position is >= to person A's vertical position, the box should display "gone past him". If person B's horizontal position = to person A's horizontal position and person B's vertical position is <= to person A's vertical position, the box should display "catching up to him". If person B's horizontal position > to person A's horizontal position and person B's vertical position is <= to person A's vertical position, it should display "approaching".

    Is this possible? Thank you!

    • Post Points: 5
  • Mon, Oct 10 2011 2:03 PM In reply to

    • Daniel
    • Not Ranked
    • Joined on Mon, Oct 10 2011
    • Posts 1
    • Points 21

    Re: IF then Else function usage in Excel 2007

    I have this IF - THEN question.  Is it possible to write an IF statement that would take information and add it to the first blank space in a column?  For instance:  IF there is an "X" in A5, take the information in B5 and put it in the first blank cell in column A in Worksheet 2, then have that same function for other "A" cells in the worksheet that would continue to add to that list.

    • Post Points: 21
  • Wed, Oct 12 2011 9:55 AM In reply to

    Re: IF then Else function usage in Excel 2007

    So start your own thread for your question, don't hijack another.

    Regards

    Bob

    • Post Points: 5
Page 1 of 1 (9 items) | RSS
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.