Thread: [Solved] Multiple worksheet lookup
View Single Post
 
Old 11-29-2018, 03:55 AM
p45cal's Avatar
p45cal p45cal is offline Windows 10 Office 2016
Expert
 
Join Date: Apr 2014
Posts: 948
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

my apologies, it was one row out.
Code:
=INDEX(CURR_LANE_WIDTHS!D$2:D$1015,MIN(IF(((CURR_LANE_WIDTHS!$A$2:$A$1015=$B2)*(CURR_LANE_WIDTHS!$B$2:$B$1015<=$C2)*(CURR_LANE_WIDTHS!$C$2:$C$1015>=$C2))>0,ROW(CURR_LANE_WIDTHS!$A$2:$A$1015)))-1)
(Added a -1 towards the end of the formula)


Where there are errors, you can IFERROR those out.
Reply With Quote