+ Reply to Thread
Results 1 to 11 of 11

INDEX & MATCH Formula With A Specific Amount Of Sensitivity

  1. #1
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    Table 1

    + On the column F there are frequencies as number. (12 digits after decimal point.)

    + On the column C there are names of those frequencies as text.

    Table 2

    + On the column Z I get those frequencies by calculating in a way. However sometimes last digits don't matched with the numbers in the column F.

    + So INDEX & MATCH formula doesn't work on the column X.

    1) Is it possible to add a sensitivity feature to that INDEX & MATCH formula so that the problematic cells get matched?

    2) Let's say I convert the frequencies cells into text format by TEXT() formula. So, can we create a TEXT format version of the formula I mentioned at 1)?

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    An index match could work if you are using a reference table and it is sorted ascending order and you can put a 1 or -1 at the end of the match stmt. that will make it return the nearest match. To get a better recommendation post a sample workbook with expected results.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    The references on the file I uploaded is different than I mentioned previously.


    Check out the formulas on the range A19:A22.


    When I set MATCH Type as "0" It finds nothing


    When I set that as "1" It finds a value on the previous row on the match column.

    On the cell "A19" when I set "1" It returns C6 (I want it returns C7)

    Same thing happens on "A20" It returns "C10" though I want C11.


    Maybe I need a formula which uses MATCH type "0" If it gets an error "#N/A" It uses MATCH type "1" with OFFSET (one row higher)

    Does that do the trick?
    Attached Files Attached Files

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,501

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    I get it but only by using a roundup formula in cell B19 ... =ROUNDUP(B18*C18,0)
    don't know if that is how you want to handle the formulas though.

  5. #5
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    There is another issue on my case which is "Floating Point Precision" so that even if the numbers are the same It still don't match with some numbers.

    I tried ROUND with all the values from 2 to 15. Some numbers worked for some cells and don't work for some cells.

    I think my solution I mentioned may be the best for my situation. Is that formula possible?

    "Maybe I need a formula which uses MATCH type "0" If it gets an error "#N/A" It uses MATCH type "1" with OFFSET (one row higher)

    Does that do the trick?"

  6. #6
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    Is this work?
    A19

    =INDEX('Perdelerin Sayısal Değerleri'!$C$2:$C$50, MATCH(ROUNDUP(B19,2), 'Perdelerin Sayısal Değerleri'!$F$2:$F$50))

  7. #7
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    I tried it on some cells It looks like It works.

    1) Why ROUND(VALUE, (Numbers from 2 to 15)) does not work and your formula work?

    2) What does second argument do on ROUNDUP function? On the explanation page it says "away from zero" which I don't understand.

  8. #8
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    1) eg Beşliler v2! B19 =B18*C18 =310.074743703703

    Perdelerin Sayısal Değerleri! F5 =310.074743703704

    if only round(b19,3) = 310.075 this will work because it roundup from 310.0747 this is more than F5
    but round(b19,4) = 310.0747 this not work as it round down from 310.074743 this is less than F5 and Vlookup will fall previous value.
    It depend on number after rounding if it more than 5, round will make it work because it roundup.

    2) roundup(b19,4) =310.0748 it will round up.
    second argument is for digit after 0 as how above .0748 4 digit after 0

  9. #9
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    What does that mean that you do not enter a value for 3rd argument of "MATCH"?

  10. #10
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    =MATCH (lookup_value, lookup_array, [match_type])

    The 3rd argument is in square brackets, that mean optional. No need input.
    If leave it blank, Excel will use default value, which is the first value that in popup helper when key in 2nd comma.

    https://support.office.com/en-us/art...rs=en-US&ad=US

    1 or omitted

    MATCH finds the largest value that is less than or equal to lookup_value. The values in the lookup_array argument must be placed in ascending order, for example: ...-2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE.

  11. #11
    Forum Contributor
    Join Date
    01-16-2015
    Location
    Istanbul
    MS-Off Ver
    Office 365
    Posts
    928

    Re: INDEX & MATCH Formula With A Specific Amount Of Sensitivity

    Thank you very much for the detailed answer Bo_Ry and Sambo Kid. It helped a lot.

+ 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. [SOLVED] Using the right formula to MATCH/INDEX/VLOOKUP cells that follow a specific condition
    By milkychips in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-29-2016, 09:19 AM
  2. [SOLVED] Index Match-return an amount if a date falls between two dates
    By HRpersonnel in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-09-2016, 12:06 AM
  3. Down rows until specific value is found within index(/match( formula
    By zakquis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-15-2014, 02:47 AM
  4. [SOLVED] Index match or Data Validation to get the total amount
    By pamela16 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-07-2014, 08:55 AM
  5. Index match or Data Validation to get the total amount
    By pamela16 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-07-2014, 07:41 AM
  6. [SOLVED] Creating a Formula to Index/Match for Specific Data
    By fearonc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2014, 11:50 PM
  7. Replies: 3
    Last Post: 05-02-2013, 01:31 AM

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