Hi,
Hopefully this is an easy one that is just not coming to my mind.
I am trying to find the max value and sheet name by looking up a reference cell across multiple sheets which may/may not contain that reference value
I'll try to write it as an example to help you picture the issue I have.
Lets say I have sheet1 called "Animals"
Now lets say I have 10 sheets one for each Farm
Sheet1 will have all the Animals in Column A eg:
Chicken |
Cow |
Horse |
Pig |
Sheep |
... |
Now each sheet for the Farm may or may not contain each of the animals eg:
Sheet2: Joes Farm contains the following:
Chicken | 500 |
Pig | 60 |
Sheet3: Bobs Farm contains the following:
Chicken | 700 |
Pig | 40 |
Sheep | 20 |
Sheet4: Jacks Farm contains the following:
Horse | 100 |
So I'd like to enter a formula or VBA to have a result on sheet1 like this:
Chicken | Bobs Farm | 700 |
Cow | ||
Horse | Jacks Farm | 100 |
Pig | Joes Farm | 60 |
Sheep | Bobs Farm | 20 |
... | ... | ... |
Thanks for your help in advance!
Michael