Example I have 2 sheets in a work book "ListA" with a table and "Main"
Sheet "ListA"
A B C
--------------
red 3 10
blue 2 11
red 4 12
red 1 8
blue 3 7
In my sheet "Main" I will like to find the nearest value in that table from "ListA" column "C", but also that the color is only blue.
A B
Color blue
Value 10
I was doing: =INDEX(ListA!B1:B5,MATCH(MIN(ABS(ListA!C1:C5-Main!B2)),ABS(ListA!C1:C5-Main!B2),0)) but I didnt find how to include the color "Row A" on my conditions the value on Main!B1
Thanks in advance
Sheet "ListA"
A B C
--------------
red 3 10
blue 2 11
red 4 12
red 1 8
blue 3 7
In my sheet "Main" I will like to find the nearest value in that table from "ListA" column "C", but also that the color is only blue.
A B
Color blue
Value 10
I was doing: =INDEX(ListA!B1:B5,MATCH(MIN(ABS(ListA!C1:C5-Main!B2)),ABS(ListA!C1:C5-Main!B2),0)) but I didnt find how to include the color "Row A" on my conditions the value on Main!B1
Thanks in advance