Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Pull value from column heading
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 |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Pull value from column heading
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.) Cecilia wrote: 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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
How doI changes my row and column heading color? | Excel Discussion (Misc queries) | |||
In a table produce an value by column heading and row heading | Excel Worksheet Functions | |||
Lookup min & column heading | Excel Worksheet Functions | |||
column heading | Excel Discussion (Misc queries) | |||
Need to put a name in the column heading | Excel Discussion (Misc queries) |