+ Reply to Thread
Results 1 to 4 of 4

If Statements - Excel 2010

  1. #1
    Registered User
    Join Date
    12-17-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    If Statements - Excel 2010

    Hello, Can anyone help me with what appears to be simple if statement in Excel with multiple conditions. Please see attached. I have the If statement but he logic does not work.

    If the answer is >100% then show >100%
    If the answer is <100% then show <100%
    Otherwise, show the actual %
    Attached Files Attached Files

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: If Statements - Excel 2010

    maybe just
    =IF(A2/B2>1,">100%",IF(A2/B2<-1,"<100%",A2/B2))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    12-17-2013
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: If Statements - Excel 2010

    Thanks @martindwilson for your help. I just noticed I was missing <-1.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: If Statements - Excel 2010

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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. Excel 2010, Access 2010, SQL Insert and Update Statments and NULL value in Field
    By jmmach72 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2013, 02:35 PM
  2. Nested IF / AND statements excel 2010
    By cossie2k in forum Excel General
    Replies: 2
    Last Post: 06-12-2012, 08:30 AM
  3. Copying worksheets from excel to word in vba as images
    By papasideris in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-18-2012, 11:32 AM
  4. Searching the particular numberfrom excel'2010 table and locate the number in Word'2010
    By jaffirahamed1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-21-2012, 08:09 AM
  5. [SOLVED] Trying to make Case statements in Excel 2010
    By Durlov in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-19-2011, 03:27 PM

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