Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 159
Default macro to find and enter

I'm a novice and could use your help. Sheet 1 column A contains a list of
identifying numbers, column b contains of list of names associated to those
identifying numbers, column c contains a list of addresses associated to
those numbers, column d contains a list of citys associated to those numbers
and column d contains a list of zip codes associated to those numbers. On
Sheet 2, when I enter an identifying number on any row in column e, I need a
macro that will find that same identifying number on Sheet 1 (along with
associated information by row) and enter all associated information on the
row where I originally entered the identifying number.

When finished, Sheet 1 column a = Sheet 2 column d, Sheet 1 column b = Sheet
2 column e, Sheet 1 column c = Sheet 2 column f, Sheet 1 column d=Sheet 2
column f, and Sheet 1 column e = Sheet 2 column g. Thanks for your insight.

Larry
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 159
Default macro to find and enter

Thanks Jim. I'll give it a shot.

"Jim Thomlinson" wrote:

You don't need a macro. You can use a Vlookup function similar to this

=vlookup(A2, Sheet1!$A$1:$D$1000, 2, false)

Look up the vlookup function in the help menu for more details.

--
HTH...

Jim Thomlinson


"Larry" wrote:

I'm a novice and could use your help. Sheet 1 column A contains a list of
identifying numbers, column b contains of list of names associated to those
identifying numbers, column c contains a list of addresses associated to
those numbers, column d contains a list of citys associated to those numbers
and column d contains a list of zip codes associated to those numbers. On
Sheet 2, when I enter an identifying number on any row in column e, I need a
macro that will find that same identifying number on Sheet 1 (along with
associated information by row) and enter all associated information on the
row where I originally entered the identifying number.

When finished, Sheet 1 column a = Sheet 2 column d, Sheet 1 column b = Sheet
2 column e, Sheet 1 column c = Sheet 2 column f, Sheet 1 column d=Sheet 2
column f, and Sheet 1 column e = Sheet 2 column g. Thanks for your insight.

Larry

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 text and enter in new cell tommcbrny Excel Discussion (Misc queries) 4 May 9th 08 06:56 PM
Macro to select cells in column enter data then press enter NP New Users to Excel 1 February 20th 08 04:21 PM
macro to find and enter Jim Thomlinson[_4_] Excel Programming 0 May 20th 05 07:21 PM
Find last row; down 2 rows, enter formula JE McGimpsey Excel Programming 1 September 7th 04 11:30 PM
Find, Offset, Enter Number BUBBA Excel Programming 2 January 9th 04 11:33 PM


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