View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Blueglass Blueglass is offline
external usenet poster
 
Posts: 13
Default Lookup column headings?

Hello Max,
Here's a related question, how do I test a pivot table for the presence of
non-zero values and return all applicable column headings.
Thus:

ID A B C D E F G
John 0 0 0 0 0 0 0
Paul 1 1 1 1 1 1 1
Ringo 0 0 1 0 0 0 0
George 0 0 0 0 1 0 0

John would return no values.
Paul would return A,B,C,D,E,F,G
Ringo would return C
George would return E

Thank you.


"Max" wrote:

Glad you got it working fine there
Thanks for the feedback ..
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"RunsWithKnives" wrote:
Cheers Max, Not exactly what I was after as I already had
the minimum values but gave me enough to work with.
I ended up using =INDEX(Sheet1!$B$1:$AN$1,
MATCH(Sheet2!B2,Sheet1!B2:AN2,0)) where Sheet2!B2
was my list of values. Thanks again