Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tetradpoint
 
Posts: n/a
Default auto fill data into a cell from a lookup table

Does anyone know how to set up a cell formula so that if the data in a cell
(such as a county name) is entered, an amount is placed in the cell in the
next column?
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

use VLOOKUP to do this

say you have your list of countries and amounts on sheet 2 in the range
A1:B100

and then on sheet 1 you want to type a country name in cell A1 and have the
amount appear in B1
the formula for B1 would be
=VLOOKUP(A1,Sheet2!$A$2:$B$100,2,0)
which says, look at the value in A1, find it in the first column of the
table in Sheet2 and return the associated value from the second column of
this table where there is an exact match

--
Cheers
JulieD
check out www.hcts.net.au/tipsandtricks.htm
....well i'm working on it anyway
"Tetradpoint" wrote in message
...
Does anyone know how to set up a cell formula so that if the data in a
cell
(such as a county name) is entered, an amount is placed in the cell in the
next column?



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
missing data from table kg1953 Excel Discussion (Misc queries) 1 February 2nd 05 05:11 PM
auto fill sequancial data Art Excel Discussion (Misc queries) 1 February 2nd 05 01:21 PM
pull data from sheet two, then fill in the data to sheet one (part Jim Excel Worksheet Functions 3 December 11th 04 04:51 AM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 05:11 AM.

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"