A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Grouping Data



 
 
Thread Tools Display Modes
  #1  
Old June 16th, 2009, 06:49 PM posted to microsoft.public.excel.worksheet.functions
Humble09
external usenet poster
 
Posts: 5
Default Grouping Data

I have excel 2007 and want to group the list in the 'KEYS' column so that it
reference the name of the person who has the keys.

LAST NAME FIRST NAME KEYS
Sample Mrs. C0xxE-4
C0xxE-8
XX28E-15

Smith John OYC-56
GX-8
COX-A
GX3-1x
GX0A-X

What I would like to do is have 'KEYS' C0xxE-4, C0xxE-8, & XX28E-15
associated with Ms. Sample without having to put Ms. Sample's name down for
each key.
My end goal is to filter the keys with COxxE-8 and to show along with Ms.
Sample's information. ( I really don't want to have 10 'KEYS' columns).

When I tried to filter the KEYS Column only the key comes up and not the
person's name. I have tried to group them but that did not work, as well as
auto outline.

Please Help


--
Thank you
  #2  
Old June 17th, 2009, 12:25 AM posted to microsoft.public.excel.worksheet.functions
smartin
external usenet poster
 
Posts: 780
Default Grouping Data

Humble09 wrote:
I have excel 2007 and want to group the list in the 'KEYS' column so that it
reference the name of the person who has the keys.

LAST NAME FIRST NAME KEYS
Sample Mrs. C0xxE-4
C0xxE-8
XX28E-15

Smith John OYC-56
GX-8
COX-A
GX3-1x
GX0A-X

What I would like to do is have 'KEYS' C0xxE-4, C0xxE-8, & XX28E-15
associated with Ms. Sample without having to put Ms. Sample's name down for
each key.
My end goal is to filter the keys with COxxE-8 and to show along with Ms.
Sample's information. ( I really don't want to have 10 'KEYS' columns).

When I tried to filter the KEYS Column only the key comes up and not the
person's name. I have tried to group them but that did not work, as well as
auto outline.

Please Help



Assume your data with labels in A1:C10. Place a key to search for in F4.

First name is given by:
=INDEX($B$1:$B$10,LARGE(N(OFFSET($B$1,0,0,MATCH(F4 ,$C$1:$C$10,0),1)"")*ROW(INDIRECT("1:"&MATCH(F4, $C$1:$C$10,0))),1))

Last name is given by:
=INDEX($A$1:$A$10,LARGE(N(OFFSET($A$1,0,0,MATCH(F4 ,$C$1:$C$10,0),1)"")*ROW(INDIRECT("1:"&MATCH(F4, $C$1:$C$10,0))),1))

These are array formulas, so commit by pressing Ctrl+Shift+Enter, not
just Enter.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.