Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 2
Default Looking for entries and copying to a cell

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Looking for entries and copying to a cell

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to line break in one cell via a formula to stack cell entries Barb @ Work Excel Worksheet Functions 7 April 15th 08 09:01 PM
Combine Multiple Entries with differing amounts of entries Katie Excel Worksheet Functions 2 November 28th 07 09:53 PM
Counting entries and copying pcor New Users to Excel 2 March 19th 07 03:33 PM
Copying different repeating entries down a column Access Joe Excel Discussion (Misc queries) 2 January 13th 06 02:34 PM
Matching and Copying entries Box666 Excel Discussion (Misc queries) 1 January 9th 06 09:45 PM


All times are GMT +1. The time now is 07:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"