+ Reply to Thread
Results 1 to 5 of 5

Formula to match

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Posts
    139

    Formula to match

    Hello,

    I would like to make a formula to compare two tables on the same numbers.

    I made this formula =IF(E122=BE122;"Match";"").

    So if E122=0.7 and BE=0.8 and it will not say match. Because it's not the exact the same.

    So i would like to have a formula which matches also when it's 0.1 bigger and 0.1 smaller then the numbers which you compare it to.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Formula to match

    =IF( AND( E122<=BE122*1.01, E122>=BE122*0.9) ;"Match";"")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Formula to match

    Use:
    =if(abs(e122-be122)<=0.1, "match","")
    of course use semicolons if it is your local setting for separators.
    Best Regards,

    Kaper

  4. #4
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,863

    Re: Formula to match

    @etaf: multiplication could be good for relative difference of 1% or 10% (1.1 and 0.9 or 1.01 and 0.99) but the idea was to focus on absolute difference of 0.1.

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,108

    Re: Formula to match

    Thanks for the clarification

+ 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: 5
    Last Post: 10-16-2016, 02:33 AM
  2. Replies: 13
    Last Post: 06-04-2015, 01:59 AM
  3. Replies: 1
    Last Post: 10-06-2014, 02:13 PM
  4. Replies: 2
    Last Post: 09-27-2014, 04:34 PM
  5. Index Match Match Formula DOESN'T WORK WITH TABLES/TABLE NAMES ??
    By Underling in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-04-2014, 09:01 PM
  6. Replies: 4
    Last Post: 01-13-2014, 04:16 AM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 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