+ Reply to Thread
Results 1 to 9 of 9

Shared Value not being returned using Index/Match and Mode Formula

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Shared Value not being returned using Index/Match and Mode Formula

    Hi all,

    Following the linked post, I managed to get a really useful formula, which pretty much did everything I needed! https://www.excelforum.com/excel-for...ml#post4649788

    However, I have just realised that when the value is shared, it doesn't return a shared value. I assumed it would do because 'Mode' normally just returns the first value when it is shared. Does anyone have any ideas, on how I could amend the following formula, so when the value is shared, it doesn't just return an error, it returns the first value.

    Please Login or Register  to view this content.
    I've also attached the spreadsheet example.

    Any help would be appreciated.
    Attached Files Attached Files
    Last edited by ShakJames; 05-10-2017 at 09:46 AM.

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,999

    Re: Shared Value not being returned using Index/Match and Mode Formula

    What is you expected result.???
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: Shared Value not being returned using Index/Match and Mode Formula

    Hi, thanks for the response.

    I want it to return first value that is shared just like Mode formula would do.

  4. #4
    Registered User
    Join Date
    01-19-2017
    Location
    Michigan
    MS-Off Ver
    2013
    Posts
    92

    Re: Shared Value not being returned using Index/Match and Mode Formula

    All the Mode formula does is return the most frequent used value within the array (according to Excel help files), so I'm going to guess as to that is why the formula is not producing your expected outcome.

  5. #5
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Microsoft® Excel® for Microsoft 365 MSO (Version 2503 Build 16.0.18604.20000) 64-bit
    Posts
    3,999

    Re: Shared Value not being returned using Index/Match and Mode Formula

    Try

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Note I still couldn't understand what are your criteria and expected result.

  6. #6
    Registered User
    Join Date
    01-19-2017
    Location
    Michigan
    MS-Off Ver
    2013
    Posts
    92

    Re: Shared Value not being returned using Index/Match and Mode Formula

    My assumption is that they want the most addressed concern on raw data sheet to be thrown into the potential mode sheet for whatever city that's listed. So Belfast would be Pot Holes, Beverley would be traffic, etc, etc. However the OP needs to confirm that assumption.

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2505
    Posts
    13,758

    Re: Shared Value not being returned using Index/Match and Mode Formula

    Another way is to coerce a copy of the array. This can be done by adding {0,0} to the conditional MATCH.

    Try array entering this modified version of your formula. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  8. #8
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: Shared Value not being returned using Index/Match and Mode Formula

    Thank you, FlameRetired!

    That has worked brilliantly! I don't think I would have ever worked that out.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 V 2505
    Posts
    13,758

    Re: Shared Value not being returned using Index/Match and Mode Formula

    You are welcome. I am glad it helps. Thank you for the feedback.

+ 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. Comparing the multiple values returned against index/match
    By agraham in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 11-18-2015, 07:18 AM
  2. Need 0 Value Returned for NA# on Index Match Formula
    By dharrier in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-21-2015, 08:21 PM
  3. [SOLVED] Incorrect column number returned in INDEX, MATCH for nth instance
    By BuZZarD73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2014, 11:00 AM
  4. Index Match returning values when none should be returned
    By Khaos1208 in forum Excel General
    Replies: 6
    Last Post: 04-27-2014, 04:48 PM
  5. [SOLVED] Lookup & Index Match - Errors Returned
    By shudder in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-23-2013, 05:56 AM
  6. Index/Match & Mode?
    By WWSL14 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-20-2013, 04:04 PM
  7. Duplicate values returned using Index Match Lookup with Small()
    By jacob@thepenpoint in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-18-2013, 10:48 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