Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Finding a Value
This seems to be an easy Excel issue, but I can't find a way to do it. I
want to determine if a value in column A appears anywhere in column B. If it does, I want to return the column A value in column C. If it doesn't, I want to return "OK". I am assuming there should be some nesting function in an IF function, but I can't figure it out! |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Finding a Value
=IF(COUNTIF(B:B,A1),A1,"OK")
"SueK" wrote: This seems to be an easy Excel issue, but I can't find a way to do it. I want to determine if a value in column A appears anywhere in column B. If it does, I want to return the column A value in column C. If it doesn't, I want to return "OK". I am assuming there should be some nesting function in an IF function, but I can't figure it out! |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Finding a Value
Try this:
=IF(COUNTIF(B$1:B$100,A1),A1,"OK") -- Biff Microsoft Excel MVP "SueK" wrote in message ... This seems to be an easy Excel issue, but I can't find a way to do it. I want to determine if a value in column A appears anywhere in column B. If it does, I want to return the column A value in column C. If it doesn't, I want to return "OK". I am assuming there should be some nesting function in an IF function, but I can't figure it out! |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Finding a Value
THANK YOU!! That did the trick!
"Teethless mama" wrote: =IF(COUNTIF(B:B,A1),A1,"OK") "SueK" wrote: This seems to be an easy Excel issue, but I can't find a way to do it. I want to determine if a value in column A appears anywhere in column B. If it does, I want to return the column A value in column C. If it doesn't, I want to return "OK". I am assuming there should be some nesting function in an IF function, but I can't figure it out! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Finding second value? | Excel Worksheet Functions | |||
Finding the top 10 | Excel Discussion (Misc queries) | |||
Finding * | Excel Discussion (Misc queries) | |||
Finding Value | Excel Worksheet Functions | |||
finding the last value | Excel Discussion (Misc queries) |