#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Auto Fill

I have a workbook with a series of ID numbers in one column on the first tab,
and on tab two is a spreadsheet with circuit ID's (not necessarily the same
ones), a date that circuit was connected, customer name and address, etc- all
the data is in separate columns on the second tab.

What I want to do is find the Circuit ID from the first sheet within the
second sheet, and if it exists, copy the connect date and customer name onto
the first sheet in separate columns. Can one of you guys help pleaase?

--
Mark Brindamour
mtbrindamour[AT]hotmail[dot]com


Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200508/1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default Auto Fill

A non-VBA way would be to use VLOOKUP. Assign a name to the entire table on
Sheet 2, then use VLOOKUP w/ that named range and appropriate colum offsets
to return the data. e.g., Sheet 1, A2's formula would be.

=VLOOKUP(A1,MyNamedRange,2)

The last value ("2") in the formula tells Excel which column in MyNamedRange
you want data returned from.

"Mark B via OfficeKB.com" wrote:

I have a workbook with a series of ID numbers in one column on the first tab,
and on tab two is a spreadsheet with circuit ID's (not necessarily the same
ones), a date that circuit was connected, customer name and address, etc- all
the data is in separate columns on the second tab.

What I want to do is find the Circuit ID from the first sheet within the
second sheet, and if it exists, copy the connect date and customer name onto
the first sheet in separate columns. Can one of you guys help pleaase?

--
Mark Brindamour
mtbrindamour[AT]hotmail[dot]com


Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200508/1

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 296
Default Auto Fill

The only thing I'd add is a ",False" in the formula to ensure the
vlookup finds an exact match rather than the nearest match.

i.e. =VLOOKUP(A1,MyNamedRange,2,False)


Rgds

On Fri, 12 Aug 2005 12:09:17 -0700, "Eric White"
wrote:

A non-VBA way would be to use VLOOKUP. Assign a name to the entire table on
Sheet 2, then use VLOOKUP w/ that named range and appropriate colum offsets
to return the data. e.g., Sheet 1, A2's formula would be.

=VLOOKUP(A1,MyNamedRange,2)

The last value ("2") in the formula tells Excel which column in MyNamedRange
you want data returned from.

"Mark B via OfficeKB.com" wrote:

I have a workbook with a series of ID numbers in one column on the first tab,
and on tab two is a spreadsheet with circuit ID's (not necessarily the same
ones), a date that circuit was connected, customer name and address, etc- all
the data is in separate columns on the second tab.

What I want to do is find the Circuit ID from the first sheet within the
second sheet, and if it exists, copy the connect date and customer name onto
the first sheet in separate columns. Can one of you guys help pleaase?

--
Mark Brindamour
mtbrindamour[AT]hotmail[dot]com


Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200508/1


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Auto Fill

Excellent!!! Thank you both very much, this was driving me bonkers, and I
don't have a lot of extra sanity to spare...it seems as if I am still having
problems since when I do that operation manually I get a different result,
and the result is the sam no matter what cell I tell it to look up.

Richard Buttrey wrote:
The only thing I'd add is a ",False" in the formula to ensure the
vlookup finds an exact match rather than the nearest match.

i.e. =VLOOKUP(A1,MyNamedRange,2,False)

Rgds

A non-VBA way would be to use VLOOKUP. Assign a name to the entire table on
Sheet 2, then use VLOOKUP w/ that named range and appropriate colum offsets

[quoted text clipped - 13 lines]
second sheet, and if it exists, copy the connect date and customer name onto
the first sheet in separate columns. Can one of you guys help pleaase?


__
Richard Buttrey
Grappenhall, Cheshire, UK
__________________________


--
Mark Brindamour
mtbrindamour[AT]hotmail[dot]com


Message posted via http://www.officekb.com
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Auto Fill

Ah nevermind, after I had a cup of coffee and reviewed the formula
requirements, I saw the the data in the table I was searching for had to be
in the leftmost column of the table. Once I fixed that problem, it worked
like a charm!!! Thanks again to both of you.

Mark B wrote:
Excellent!!! Thank you both very much, this was driving me bonkers, and I
don't have a lot of extra sanity to spare...it seems as if I am still having
problems since when I do that operation manually I get a different result,
and the result is the sam no matter what cell I tell it to look up.

The only thing I'd add is a ",False" in the formula to ensure the
vlookup finds an exact match rather than the nearest match.

[quoted text clipped - 13 lines]
Grappenhall, Cheshire, UK
__________________________



--
Mark Brindamour
mtbrindamour[AT]hotmail[dot]com


Message posted via http://www.officekb.com
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
auto fill or auto search from a list or drop-down list??????? Joe H.[_2_] Excel Discussion (Misc queries) 9 August 29th 08 12:56 AM
Auto-populate, Auto-copy or Auto-fill? Jay S. Excel Worksheet Functions 4 August 10th 07 09:04 PM
Auto Fill Mary jane Excel Discussion (Misc queries) 0 January 19th 07 08:29 PM
using auto fill edit or fill handel fill handle or auto fill Excel Worksheet Functions 0 February 10th 06 07:01 PM
auto filter and auto fill stelios Excel Programming 0 January 7th 04 11:24 AM


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