I am trying to create a formula that considers the data from three columns Y, H and V on my tab titled 'Data', returning the smallest value in A that meets that condition, once found Vlookup that smallest value and return the value from B. Below is what I have so far, and it is working until I try to add in my last condition.
I am looking to change the IF(Data!V:V="4") function with an OR function, I would like to turn the v:v="4" into " V:V="4" or V:V="5" ", when I tried to include an OR function the formula started ignoring the V:V condition and starts returning only if the Y and H conditions are met.
Below is the working formula with one V:V condition working without the OR function. Thank you in advance for any help.
=VLOOKUP((SMALL(IF(Data!Y:Y="3",IF(Data!H:H=3,IF(Data!V:V="4",Data!A:A))),1)),Data!A:B,2,0)
I am looking to change the IF(Data!V:V="4") function with an OR function, I would like to turn the v:v="4" into " V:V="4" or V:V="5" ", when I tried to include an OR function the formula started ignoring the V:V condition and starts returning only if the Y and H conditions are met.
Below is the working formula with one V:V condition working without the OR function. Thank you in advance for any help.
=VLOOKUP((SMALL(IF(Data!Y:Y="3",IF(Data!H:H=3,IF(Data!V:V="4",Data!A:A))),1)),Data!A:B,2,0)