Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,101
Default Need help scanning a column and getting a return value.


A B C
1 10 12
2 2 67
3 45 10
4 2 18
5 4 16

Both columns consist of hundreds of numbers. What i need to do. I need to
scan Column 'A' for a certain number, once that number is found, it puts the
number directly next to the number (the number in Column 'B') into Column
'C'.

Let me give an exact example. I want to scan Column 'A' for the number '2'
once a '2' is found it places the number directly next to the number 2 in
Column 'C'.

A summary, scan Column 'A' for a specific number, once that number is found
it takes the number in Column 'B' (which is next to the two in 'A') and
places the number found in Column 'B' into Column 'C'.

I hope this is possible.

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,101
Default Need help scanning a column and getting a return value.

Disregard the visual example of the columns, i should have checked before
hand for alignment.

mike
  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 345
Default Need help scanning a column and getting a return value.

Mike
A simple answer is to place this formula in cell C1 and copy down to the
bottom of your data.
Then enter into cell E1 the value you are looking for in column A
=IF($E$1=A1,B1,"")
Hope this is what you want



"Mike" wrote:

Disregard the visual example of the columns, i should have checked before
hand for alignment.

mike

  #4   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Need help scanning a column and getting a return value.

One other guess
In C1: =IF(A1=2,B1,"")
Copy down to last row of data in col B
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Mike" wrote:
Disregard the visual example of the columns, i should have checked before
hand for alignment.

mike

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
Return text in Column A if Column B and Column K match jeannie v Excel Worksheet Functions 4 December 13th 07 07:36 PM
Scanning Old Keith Excel Worksheet Functions 2 October 2nd 07 12:47 AM
LOOKUP and return the column heading for IF/THEN return for False NN Excel Discussion (Misc queries) 1 October 6th 06 11:24 AM
Scanning down a column lashio Excel Discussion (Misc queries) 0 February 12th 06 07:22 PM
scanning a table? bobthedinosaur Excel Worksheet Functions 3 October 19th 05 02:40 PM


All times are GMT +1. The time now is 12:58 PM.

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

About Us

"It's about Microsoft Excel"