Imagine companies of two categories, A and B.
They have all different market values.
One column per company (categories mixed, ie. NOT the first x are A, rest B).
Row 1 gives market value
Row 2 gives category (A or B)
Row 3 gives rank within category (so there are two number 1s etc)
Now, on another sheet I have:
Category A
1
2
3
...
Category B
1
2
3
...
Next to the rank number I want the company name.
Just a vlookup on the rank won't help as I need the condition of the category.
The companies' category may change so it needs to be flexible.
Any ideas?
Totally lost. Was thinking about some VLOOKUP with IF statement in some CSE-function, but no luck.
Thanks
They have all different market values.
One column per company (categories mixed, ie. NOT the first x are A, rest B).
Row 1 gives market value
Row 2 gives category (A or B)
Row 3 gives rank within category (so there are two number 1s etc)
Now, on another sheet I have:
Category A
1
2
3
...
Category B
1
2
3
...
Next to the rank number I want the company name.
Just a vlookup on the rank won't help as I need the condition of the category.
The companies' category may change so it needs to be flexible.
Any ideas?
Totally lost. Was thinking about some VLOOKUP with IF statement in some CSE-function, but no luck.
Thanks