Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / June 2007

Tip: Looking for answers? Try searching our database.

Pull value from column heading

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Cecilia - 19 Jun 2007 00:03 GMT
Hello--

I have a table that looks like this:

    135569    135572    135574    135577    135578
7664502273    1    1    1    1
7664505027    1    1    1    1
9.78158E+11                1

For each row, I need to pull the column heading for any instances where
there is a 1 and have that entered in it's own separate cell or separated by
a comma if in a single cell.

I've tried some index functions, but am not having any luck.

Any ideas?? Thanks so much for your help!!!

Cecilia
Dave Peterson - 19 Jun 2007 00:37 GMT
Are the choices for those cells with 1 in them either a 1 or empty?

If that's true...

Select the range to fix (B2:F4 for this sample)
edit|goto|special|constants
notice that the selection is now just those cells that are not empty (the ones
that contain 1).

Take note of the activecell's (the white one) column.

type an equal sign and the column letter and then $1
for me, I typed:  =C$1
But instead of hitting enter, hit ctrl-enter to fill each of those cells with 1
in it.

Now select that range again (B2:F4)
edit|copy
edit|paste special|Values
(if you want.)

> Hello--
>
[quoted text clipped - 14 lines]
>
> Cecilia

Signature

Dave Peterson

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.