View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JE McGimpsey JE McGimpsey is offline
external usenet poster
 
Posts: 4,624
Default Column and cell identificatiion

One way:

=IF(COUNTIF(A:A,B2) 0, B2, "Not Found")


In article ,
Budask wrote:

If cell value/number B2 is shown anywhere in column A, then how do I
show that cell B2 in cell 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 column A to say A2:A100 so that can look in anywhere within
that column, it no longer works.

Any assistance very much appreciated - thanks.

Budask