Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have following code to check does MYDATA retrun 0 from index 4.
I got false result, even I have return value is 0. IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") Am I right? If mydata return value zero if should execute "TRUE", It executea "FALSE" if it return non zero value. Please let me know if I am wrong. Any infromation is great appreciated, |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Souris,
IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") try using the fourth lookup parameter which determines if an exact match is to be returned: IF(VLOOKUP("MYDATA", MYNAME, 4,0) = 0, "TRUE", "FALSE") If the fourth parameter is omitted, an approximate match is returned. See Excel help on VLookup for assistance with this additional parameter. --- Regards, Norman "Souris" wrote in message ... I have following code to check does MYDATA retrun 0 from index 4. I got false result, even I have return value is 0. IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") Am I right? If mydata return value zero if should execute "TRUE", It executea "FALSE" if it return non zero value. Please let me know if I am wrong. Any infromation is great appreciated, |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks millions,
It works, "Norman Jones" wrote: Hi Souris, IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") try using the fourth lookup parameter which determines if an exact match is to be returned: IF(VLOOKUP("MYDATA", MYNAME, 4,0) = 0, "TRUE", "FALSE") If the fourth parameter is omitted, an approximate match is returned. See Excel help on VLookup for assistance with this additional parameter. --- Regards, Norman "Souris" wrote in message ... I have following code to check does MYDATA retrun 0 from index 4. I got false result, even I have return value is 0. IF(VLOOKUP("MYDATA", MYNAME, 4) = 0, "TRUE", "FALSE") Am I right? If mydata return value zero if should execute "TRUE", It executea "FALSE" if it return non zero value. Please let me know if I am wrong. Any infromation is great appreciated, |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Disable autoformat of "true" and "false" text | Excel Discussion (Misc queries) | |||
=IF(VLOOKUP(C11,Group,2,FALSE)=D11,"True","Not Valid") and =IF(D1 | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |