Use address function or other

D

Doug Laidlaw

I want a formula to show me the cell range of a group of data. In the below
example which looks like a piviot table result, what formula can I put in
cell C5 to tell me that "Giants" ranges from A5:A8. I want the formula to
give me A5:A8.

A B
5 Giants Jeff
6 Steve
7 Bob
8 Dave
9 Mets Ralph
10 Phil
 
J

Jason Morin

Not sure what you're trying to achieve, but you could
piece together the range using:

=ADDRESS(MATCH("Giants",A:A,0),1,4)&":"&ADDRESS(MATCH
("Giants",A:A,0)+MATCH("*",OFFSET(A1,MATCH("Giants",A:A,0)
+1,,1000),0),1,4)

HTH
Jason
Atlanta, GA
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top