Hi All,
I'm having some trouble using INDEX and MATCH together to pull data from cells on one sheet across to another. I'm making an assumption that this is the best method however if I'm mistaken, please advise.
I have a situation similar to the below where "MainName" is a Project Name and data beneath it is it's child. '#' is simply a number of some kind. This kind of setup is then replicated several times as there are several projects.
Thus selecting the data (#) based on "MainName" and A,B,C...and so on is my goal here.
Column 5 # is what I am interested in getting across to another sheet. Lets call this Sheet 1.
The other sheet basically has columns MainName,A,B,C..and so on, and would ideally pull in the # based on "MainName" and A,B,C... (see below) Rows are added from an automated workflow and so want to pick up the data automatically without having to manually reference it each time a new project is populated.
I think I need to something like the following ( I will use B as my example):
=INDEX({Column5},MATCH({Sheet 1 B},{Sheet 1 range - Column 4}))
I would expect this to return the value # from column 5 in row containing B. However I don't think it does (maybe because of the parent - child relationship? - not sure).
Furthermore, this does not take into account the "MainName" - meaning if I have more than one, the formula wont grab the correct data.
I hope this makes sense however if clarification needed please let me know.
Any assistance on this one would be greatly appreciated.
Thank you.