+ Reply to Thread
Results 1 to 3 of 3

If result is <> $1 show O if not show X ? Stuck on formula!

  1. #1
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    If result is <> $1 show O if not show X ? Stuck on formula!

    Hello Everyone,

    This formula is in cell Z8:
    =IF(ROUND(AA8,2)<>ROUND(Y8,2),"O","X")

    And this formula is in cell AB8:
    =IF(Y8=0,0,AA8-Y8)

    Cell Y8 is just manually input by the user.

    I want the formula in cell Z8 to only display an O if the result it produces is either $1 (or more) higher or lower that cell AB8.

    For example if the figure in cell Y8 is $120.00 and the figure in cell AA8 is $120.56 then cell Z8 will display an X because the difference is not $1 or more.
    If however Y8 is $120.00 and the figure in cell AA8 is $122.00 then cell Z8 will display an O because the difference is $1 or more.

    I hope this makes sense! It does to me but Excel does not! I need to do a crash course in Excel I think!

    Thank you very much in advance for any help,

    Margate
    Last edited by Margate; 05-04-2013 at 06:29 PM. Reason: Wrong Title

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Formula Question!

    And(y8-aa8<=1,y8-aa8>=-1)

    you want $1 to producw a O
    so remove the =

    if(and(y8-aa8<1,y8-aa8>-1), "x", "o" )

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula Question!

    Your post does not comply with Rule 1 of our Forum RULES. Your post title should accurately and concisely describe your problem, not your anticipated solution.

    Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    To change a Title on your post, click EDIT then Go Advanced and change your title, if 2 days have passed ask a moderator to do it for you.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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