Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 124
Default find data in one column and use data in the next column over Exce

I want to find a number in column b from 2 to 10000 and if a number comes up
with the one i want i want it to pick the next column d information in that
cell

example
i want to find 1447
and i find it at cell b28 then i want to use cell d28 info to use the data
right
not cell b28 or d1

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default find data in one column and use data in the next column over Exce

You want to use a Vlookup function something like this...

=vlookup(A1, $B$2:$D$10000, 3, false)

Where cell A1 contains 1447.

HTH

"charles" wrote:

I want to find a number in column b from 2 to 10000 and if a number comes up
with the one i want i want it to pick the next column d information in that
cell

example
i want to find 1447
and i find it at cell b28 then i want to use cell d28 info to use the data
right
not cell b28 or d1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default find data in one column and use data in the next column over Exce

Charles,

Dim myNum As Long
Dim myCell As Range
myNum = 1447
Set myCell = Range("B:B").Find(myNum, , , xlWhole)(1, 3)
MsgBox myCell.Address & " is " myCell.Value

HTH,
Bernie
MS Excel MVP


"charles" wrote in message
...
I want to find a number in column b from 2 to 10000 and if a number comes

up
with the one i want i want it to pick the next column d information in

that
cell

example
i want to find 1447
and i find it at cell b28 then i want to use cell d28 info to use the data
right
not cell b28 or d1



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
FInd common data in one column then add number in adjacent column JT Excel Worksheet Functions 3 December 18th 09 10:20 PM
compare data in column A with column B to find duplicates George Excel Discussion (Misc queries) 8 February 6th 09 03:53 PM
Find Last data in a column Steve Excel Worksheet Functions 7 March 18th 07 11:11 AM
find rows for unique data in 1 column and different data in other. Dot Majewski Excel Discussion (Misc queries) 1 January 21st 05 12:23 AM
Find data in Column D, add L in Column A juan Excel Programming 7 September 28th 04 11:32 PM


All times are GMT +1. The time now is 05:44 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"