I am working on a formula that does an INDEX and Match depending on whether a cell is "M" or "F".
The following is what I have currently:
=IF(E2="M",(INDEX('Screening Table Weight'!$A$5:$F$28,MATCH(ROUND(H2,0),'Screening Table Weight'!$A$5:$A$28,0),MATCH(G2,'Screening Table Weight'!$A$5:$F$5,1))),IF(E2="F",(INDEX('Screening Table Weight'!$G$5:$K$28,MATCH(ROUND(H2,0),'Screening Table Weight'!$G$5:$K$28,0),MATCH(G2,'Screening Table Weight'!$G$5:$K$5,1)))))
The first criteria, "M" is referencing and working correctly. The "F" is not working correctly. I think that perhaps I should not be using a nested IF, but I do not know what to do from here, or what it should look like. If someone could please offer guidance on this, I would greatly appreciate it.
Bookmarks