Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default need to lookup a value in one column to fill in another

I have only 4 columns in a log book, the first is the Customer name the
second is the customer number, the other two are some date columns. I've
been manually entering the customer name and number for the past year. I
want to be able when adding a new row to type in the customer number and it
will lookup above to find the customer name. is there anyway to do this?
thanks
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB JMB is offline
external usenet poster
 
Posts: 2,062
Default need to lookup a value in one column to fill in another

one suggestion using Index/Match - assuming customer names are in column A
and customer number is in column B, try entering this in the next empty row
of column A (let's assume row 20 is the next available slot)

so A20 would be
=INDEX(A$1:A19, MATCH(B20, B$1:B19, 0))

adjust the range references as needed, but keep the $ where they are. then
copy the formula down column A as far as needed.


"jspen" wrote:

I have only 4 columns in a log book, the first is the Customer name the
second is the customer number, the other two are some date columns. I've
been manually entering the customer name and number for the past year. I
want to be able when adding a new row to type in the customer number and it
will lookup above to find the customer name. is there anyway to do this?
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
Fill a column with the contents of another column based on a choic Sparky56 Excel Discussion (Misc queries) 1 March 31st 07 04:18 AM
lookup data and fill cells fawkes1 Excel Worksheet Functions 1 November 16th 06 05:03 PM
auto fill data into a cell from a lookup table Tetradpoint Excel Discussion (Misc queries) 1 April 19th 05 04:46 PM
fill a particular cell on a series of worksheets from a lookup tab br549 Excel Discussion (Misc queries) 1 January 7th 05 12:42 AM
Automatic Lookup/Fill-in Andrew Edwards Excel Worksheet Functions 2 December 5th 04 06:16 PM


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