+ Reply to Thread
Results 1 to 6 of 6

Assistance with excluding cells during an INDEX Search

  1. #1
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Assistance with excluding cells during an INDEX Search

    Good Afternoon.
    Could anyone see if they could assist with excluding cell during an index search.

    Currently my spreadsheet has 3 sections.

    The first section is the raw data. In Column C is the data I'd like to exclude from the next two sections.

    Section Two counting the duplicate hosts total and assigning an ID of which order they will go in.

    Section Three will put them in order.

    Currently my spreadsheet is working. The only thing is, its including the EXCLUDES. I don't want it to add the excludes to the 2nd and 3rd sections at all.

    I've attached the spreadsheet as an example. The cells in red I'm hoping to hide from the spreadsheet and have them not show up at all.

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: Assistance with excluding cells during an INDEX Search

    Could't you use a pivot table - Filter out the excluded, sort by count of IP address.
    Attached Files Attached Files
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Re: Assistance with excluding cells during an INDEX Search

    Unfortunately I need to get it working in the formula's (non pivot table)

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

    Re: Assistance with excluding cells during an INDEX Search

    Try this array formula in E2, once confirmed, fill down as needed.

    =IF(E1="","",IFERROR(INDEX($A:$A,SMALL(IF($C$1:$C$30="",IF(MATCH($A$1:$A$30,$A$1:$A$30,0)=ROW($A$1:$A$30),ROW($A$1:$A$30))),ROWS($E$2:$E2))),""))

    ...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.

  5. #5
    Forum Contributor
    Join Date
    05-17-2012
    Location
    Silver Spring
    MS-Off Ver
    Excel 2016
    Posts
    212

    Re: Assistance with excluding cells during an INDEX Search

    All set. I figured it out. I just had to add +($C$2:$C$30="Yes")
    Thank you to all who assisted.

  6. #6
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,587

    Re: Assistance with excluding cells during an INDEX Search

    ARRAY formula (see note below) in P2 then drag across up to Column Q. Pl see file.
    Please Login or Register  to view this content.
    In R2 then drag down.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

+ 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] Excluding certain raw from the INDEX formula.
    By Dolke in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 05-09-2017, 09:47 AM
  2. Using Match Index (Excluding Blank cells)
    By crazyarun2004 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-05-2017, 11:03 AM
  3. Index Assistance
    By kassy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-30-2016, 03:31 PM
  4. [SOLVED] Excluding data from Index?
    By haxen2000 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-03-2014, 11:22 AM
  5. Replies: 1
    Last Post: 01-26-2014, 05:37 PM
  6. [SOLVED] Index/Match assistance needed for search spreadsheet
    By rajncajn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-18-2013, 02:36 PM
  7. index/match search works in some cells, but not others?
    By pythonscript in forum Excel General
    Replies: 2
    Last Post: 07-06-2011, 08:32 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