+ Reply to Thread
Results 1 to 3 of 3

Index Match formula won't recognise number with decimal (result of an average)

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    York
    MS-Off Ver
    Excel 2003
    Posts
    2

    Index Match formula won't recognise number with decimal (result of an average)

    I've got a simple index match formula looking for a number then returning the appropriate text from a specified array. Standard stuff. But when the lookup value is the result of a formula the index match doesn't like it.
    E.g. The lookup value is 3.2 (based on a formula averaging a few cells), which I formatted as a number and rounded to 3.
    How can I make the index match formula recognise the value in the cell as 3?
    To pre-empt any suggestions regarding the match type, that still has to be 0 because otherwise it assumes it is a 4 or a 1 not a 3.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,408

    Re: Index Match formula won't recognise number with decimal (result of an average)

    You should put a ROUND( ... ,0) around your existing average formula, to ensure that the number is in fact an integer - using formatting will not change the value from 3.2 to 3.

    Hope this helps.

    Pete

  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,861

    Re: Index Match formula won't recognise number with decimal (result of an average)

    rounding is not a simple issue. so to better understand what you need, would you please attach a SMALL sample Excel workbook(s) (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. (If trere are typical cases like: all unique values/duplicates could occur, day/night, nobody present/several persons at once, before/on/past due, etc. - please show them all or at least indicate in text) The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution(s) is/are also shown (mock up the results manually).

    3. Make sure that all confidential/restricted information (either personal or business) like real e-mails, social security numbers, bank accounts, etc. is removed first!!

    To attach an Excel file you have to do the following: Just before posting, scroll down and press Go Advanced button and then scroll down and press Manage Attachments link. Now follow the instructions at the top of that pop-up screen.
    Best Regards,

    Kaper

+ 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] INDEX MATCH formula not returning expected result
    By lukela85 in forum Excel General
    Replies: 4
    Last Post: 12-18-2017, 11:23 AM
  2. [SOLVED] Odd result from index/match formula
    By iantix in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-18-2017, 06:35 AM
  3. [SOLVED] IF INDEX MATCH based on result of formula
    By SLIM512 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-01-2016, 09:46 AM
  4. [SOLVED] Index, Match formula returns #NA error if result is from an average formula.
    By billrogers184 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-28-2016, 11:43 AM
  5. [SOLVED] Index - Match formula not giving me an expected result
    By longbow007 in forum Excel General
    Replies: 5
    Last Post: 11-25-2015, 07:34 PM
  6. Columns Average through index and Match Formula
    By atif574 in forum Excel General
    Replies: 2
    Last Post: 08-22-2015, 12:51 AM
  7. hide zeros and NA#'s from result of Index/match formula
    By merlyn45 in forum Excel General
    Replies: 2
    Last Post: 05-10-2012, 02:10 PM

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