I've currently been using VLOOKUP perfectly fine untill i've encounted a problem with my application.
from the table i am currently looking up Their are two possible outcomes for SOME of my values i am looking up.
For exmaple if i look up 111111 their is the possability of one result
however if i look up 222222 their could be two result either 222222 or 222222.22
What i'm trying to do is create an if statement with VLOOKUP to try and define if this has two possible result and if so,show both result
My current plan is to use If(COUNTIF(B1:B200,"*"&A1&"*")>1," Two Values",VLOOKUP(A1,'DataSheet'!B2:D7,3,false))
which based of my current VLOOKUP should display the existing data if their is only one result HOWEVER if their is two should show Two Values, instead of showing "Two Values" is it possible to put "Value1:"&Value1&"\nValue2"&Value2
Thanks Very Much !
Johnny
from the table i am currently looking up Their are two possible outcomes for SOME of my values i am looking up.
For exmaple if i look up 111111 their is the possability of one result
however if i look up 222222 their could be two result either 222222 or 222222.22
What i'm trying to do is create an if statement with VLOOKUP to try and define if this has two possible result and if so,show both result
My current plan is to use If(COUNTIF(B1:B200,"*"&A1&"*")>1," Two Values",VLOOKUP(A1,'DataSheet'!B2:D7,3,false))
which based of my current VLOOKUP should display the existing data if their is only one result HOWEVER if their is two should show Two Values, instead of showing "Two Values" is it possible to put "Value1:"&Value1&"\nValue2"&Value2
Thanks Very Much !
Johnny