+ Reply to Thread
Results 1 to 2 of 2

Formula help - excluding a specific text value from a mode range of text values

  1. #1
    Registered User
    Join Date
    09-12-2018
    Location
    England
    MS-Off Ver
    2013
    Posts
    1

    Formula help - excluding a specific text value from a mode range of text values

    Hi all

    Hope you can help!

    I've made a 'Summary' worksheet which I need to tell me the most frequent text value from a row of data on another tab ('Company Ltd'), but to exclude the value '?'.

    The below formula is what I have, which does work fine to give me the mode, but as the row contains dropdown lists in each cell (made in 'data validation') which have a default '?' value, I need to exclude these to stop the mode being '?', and I can't work out how to add this exclusion to the below formula.


    =INDEX('Company Ltd'!$E$51:$CZ$51,MODE(MATCH('Company Ltd'!$E$51:$CZ$51,'Company Ltd'!$E$51:$CZ$51,0)))

    I have several worksheets within the same workbook, all for different companies but with exactly the same setup and fields, so once I can get the below working correctly I can then replicate the formula to pull through the mode for each company to the Summary tab.

    Sorry I'm definitely not an Excel whizz!


    Many thanks for reading!

  2. #2
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Formula help - excluding a specific text value from a mode range of text values

    Not tested, but should work

    =INDEX('Company Ltd'!$E$51:$CZ$51,MODE(IFERROR(MATCH(IF('Company Ltd'!$E$51:$CZ$51<>"?",'Company Ltd'!$E$51:$CZ$51),'Company Ltd'!$E$51:$CZ$51,0),"")))

    Array confirmed with Shift Ctrl Enter

+ 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] Formula To Calculate Total Excluding Specific Text Based In Another Cell
    By rahul_ferns76 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-15-2017, 10:12 PM
  2. [SOLVED] VBA to Find Specific Text, then Copy range to next open cell under specific text
    By Remotruker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2015, 10:59 AM
  3. Replies: 2
    Last Post: 11-18-2014, 06:26 AM
  4. Replies: 2
    Last Post: 08-05-2013, 07:32 PM
  5. Inputting values into an Array as Text from Text Input mode
    By nyum in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-04-2010, 08:08 AM
  6. Excluding text values
    By Rangerscorn in forum Excel General
    Replies: 2
    Last Post: 11-13-2007, 02:05 PM
  7. Summing values in a range against specific text
    By starguy in forum Excel General
    Replies: 2
    Last Post: 03-29-2006, 01:30 AM

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