Hi everyone
I'm having a probleming with following:
In the following excel table i would like to extract the Materials that belong to certain Models. E.g:
[TABLE="width: 141"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Models[/TD]
[TD]Materials[/TD]
[/TR]
[TR]
[TD="align: right"]1012555[/TD]
[TD="align: right"]1012555[/TD]
[/TR]
[TR]
[TD="align: right"]1012556[/TD]
[TD="align: right"]1012555001[/TD]
[/TR]
[TR]
[TD="align: right"]1012557[/TD]
[TD="align: right"]1012555002[/TD]
[/TR]
[TR]
[TD="align: right"]1012558[/TD]
[TD="align: right"]1012555003[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556003[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556004[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557003[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]1012558[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558003[/TD]
[/TR]
</tbody>[/TABLE]
I would like to lookup the values that are below the modelnumber in the 2nd column. Example: If i lookup 1012555 in the 1st column, i want to return 1012555001, 1012555002, 1012555003 which are in the 2nd column, but not the next modelnumber 1012556. Is there any function to look this up?
I have found that the index function (+1 trick) helps, but it will only give me 1 value instead of 3 which is what i want.
Can someone help me?
Thanks!
I'm having a probleming with following:
In the following excel table i would like to extract the Materials that belong to certain Models. E.g:
[TABLE="width: 141"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Models[/TD]
[TD]Materials[/TD]
[/TR]
[TR]
[TD="align: right"]1012555[/TD]
[TD="align: right"]1012555[/TD]
[/TR]
[TR]
[TD="align: right"]1012556[/TD]
[TD="align: right"]1012555001[/TD]
[/TR]
[TR]
[TD="align: right"]1012557[/TD]
[TD="align: right"]1012555002[/TD]
[/TR]
[TR]
[TD="align: right"]1012558[/TD]
[TD="align: right"]1012555003[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556003[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012556004[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012557003[/TD]
[/TR]
[TR]
[TD][/TD]
[TD="align: right"]1012558[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558001[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558002[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD="align: right"]1012558003[/TD]
[/TR]
</tbody>[/TABLE]
I would like to lookup the values that are below the modelnumber in the 2nd column. Example: If i lookup 1012555 in the 1st column, i want to return 1012555001, 1012555002, 1012555003 which are in the 2nd column, but not the next modelnumber 1012556. Is there any function to look this up?
I have found that the index function (+1 trick) helps, but it will only give me 1 value instead of 3 which is what i want.
Can someone help me?
Thanks!