Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
If cell value in B2 is shown anywhere in column A, how can I show that cell value in C2?
I have got as far as having the following in cell C2 =IF((B2=A2),B2) which works but only if the cell being looked for is in A2. When I try to extend the look up to the whole of column A (say A2:A100) so that can look in anywhere within that column, it no longer works. Not sure if the is an "If", "lookup" or some other function - thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way
In C2: =IF(COUNTIF(A:A,B2),B2,"") Copy down -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Budask" wrote: If cell value in B2 is shown anywhere in column A, how can I show that cell value in C2? I have got as far as having the following in cell C2 =IF((B2=A2),B2) which works but only if the cell being looked for is in A2. When I try to extend the look up to the whole of column A (say A2:A100) so that can look in anywhere within that column, it no longer works. Not sure if the is an "If", "lookup" or some other function - thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to line break in one cell via a formula to stack cell entries | Excel Worksheet Functions | |||
Combine Multiple Entries with differing amounts of entries | Excel Worksheet Functions | |||
Counting entries and copying | New Users to Excel | |||
Copying different repeating entries down a column | Excel Discussion (Misc queries) | |||
Matching and Copying entries | Excel Discussion (Misc queries) |