Can you explain the following
=INDEX($M10:$CH10,1,MATCH($A$6,Function,0))
I understand the range is M10 thru Ch10 , 1 is the 1st row in M10 thru Ch10? then I match on whatever is in A6 lets say Accounting not sure what function does and I think the 0 means that it has to be an exact match. I am trying to understand what this formula based on the components is doing. Is it populating the cell based on the formula in the cell? thanks
And yes, the 0 means it has to be an exact match.
MATCH will return the column number for the INDEX function.