+ Reply to Thread
Results 1 to 3 of 3

If Formula???

  1. #1
    Registered User
    Join Date
    03-31-2012
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2007
    Posts
    43

    If Formula???

    So I have an attached example. I would like to write a formula in Excel, I am assuming if(and, but I could be incorrect but this is what I am looking for.

    I am looking for a formula that will give me a 1, when Column A's Dollar Amount is within $2.00 +/- of column B.

    So in the test example attached all would give an output of 1, except for Cell C7.Test.xlsx

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: If Formula???

    What do you want if it's NOT within 2.00 ?

    This returns either 1 or 0 (1 if it's within +/- 2)

    =--(ABS(A2-B2)<=2)

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: If Formula???

    In C2..
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

+ 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. Replies: 11
    Last Post: 06-06-2014, 03:34 PM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 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