Here is a formula based proposal:
Formula:
=IF(B$3="Centrifugal",IFERROR(INDEX('Centrifugal Pump Guide'!P$5:P$27,AGGREGATE(15,6,(ROW('Centrifugal Pump Guide'!P$5:P$27)-ROW('Centrifugal Pump Guide'!P$4))/('Centrifugal Pump Guide'!B$3:O$3=C$3)/('Centrifugal Pump Guide'!B$5:O$27="x"),ROWS(D$3:D3))),""),IF(B$3="Nemo",IFERROR(INDEX('Nemo Guide'!M$5:M$34,AGGREGATE(15,6,(ROW('Nemo Guide'!M$5:R$34)-ROW('Nemo Guide'!M$4))/('Nemo Guide'!B$3:L$3=C$3)/('Nemo Guide'!B$5:L$34="x"),ROWS(D$3:D3))),""),IF(B$3="Teikoku",IFERROR(INDEX('Teikoku Guide'!S$6:S$30,AGGREGATE(15,6,(ROW('Teikoku Guide'!S$6:S$30)-ROW('Teikoku Guide'!S$5))/('Teikoku Guide'!B$4:R$4=C$3)/('Teikoku Guide'!B$6:R$30<>""),ROWS(D$3:D3))),""))))
After pasting the formula into cell D3 drag the fill handle down to cell D19.
If you need to see a copy of the file with the formula applied, then please attach a file without protected sheets.
Let us know if you have any questions.
Bookmarks