+ Reply to Thread
Results 1 to 4 of 4

question on filter function

  1. #1
    Registered User
    Join Date
    12-20-2008
    Location
    toronto
    Posts
    7

    question on filter function

    I have a sheet like this

    a b c d e
    1 group name tom
    2 group total 2
    3 attend 1
    4 absent 1
    5 % attend 50
    6 id first last group attend
    7 1 allan leung tom 1
    8 2 amy lo tom 0
    9 3 carol tam andy 1
    10 4 karen kwok andy 1
    11 5 eric li andy 0

    Question 1:
    I use filter command on the first, last and group on line 6
    then I filter tom group, I will get 1 attend and 1 absent, but I want to make tom name be on E1, when I filter tom, and I will get andy name on E1 if I filter andy. How to make this work?

    Question 2,
    you know all I want is to filter the group name only, but I cannot just filter D6 only, I need to have b6:d6, why is that, and I will not filter first and last name anyway.
    please help
    thanks.

  2. #2
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: question on filter function

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: question on filter function

    I took a guess and I extended the data range a bit so that you have a couple of rows for experimentation. For your real data, make the ranges large enough to cover your data...D7:D15 could be D7:D200 or whatever your data requires.
    Enter this in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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

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

    Enter this in B5 and format as %
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 05-11-2016 at 08:10 PM.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: question on filter function

    Here's the same solution but using a table that will expand as data is added so that you don't have to adjust the formulae in order to use it.
    I moved the table down 1 row
    Enter this in B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

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


    The differences in the formulae from the first message is the use of Table nomenclature to define the ranges.
    Attached Files Attached Files

+ 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. filter question
    By txbullets in forum Excel General
    Replies: 7
    Last Post: 03-23-2012, 04:51 PM
  2. Filter question
    By Paul7 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2008, 01:31 PM
  3. Filter Question
    By Craiglowdon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2007, 03:30 AM
  4. vba filter question
    By crowdx42 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-21-2006, 11:52 PM
  5. Filter Question
    By bodhisatvaofboogie in forum Excel General
    Replies: 1
    Last Post: 06-20-2006, 11:25 AM
  6. [SOLVED] Filter Question
    By WordProc in forum Excel General
    Replies: 1
    Last Post: 04-17-2006, 04:35 PM
  7. Basic filter-like function/question.
    By enthrop in forum Excel General
    Replies: 1
    Last Post: 02-03-2006, 12:40 PM
  8. Filter question
    By leon22 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-25-2005, 01:44 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