Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Mr-Re Man
 
Posts: n/a
Default Some kinda lookup

Hi, I was wondering if a formula for the following is possible,

In worksheet 1, column A I have a road name and in column B the type of work
that is carried out at the road name. Then on worksheet 2 I have the road
name and district it is in, what I am after is for the district to be put in
column C on Worksheet 1 without me having to type them in as I have 15000
rows of data.

Worksheet 1
A B
ROAD NAME TYPE OF WORK
High Street Grass
High Street Hedges
Low Road Grass
Low Road Hedges
Low Road Roses

Worksheet 2
A B
ROAD NAME DISTRICT
High Street Malpas
Low Road Risca
Middle Close Newport

Is this possible?

Anyone who could help me, would be saving me hours of monotonous replication.

Thanks in anticipation !
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

use the VLOOKUP function

in cell C2 sheet 1 type
=VLOOKUP(A2,Sheet2!$A$2:$B$20000,2,0)
this says lookup the value in A2 (ie High Street) in the table on worksheet
2 and return the inoformation in the second column where there is an exact
match.
and then fill down (move mouse over bottom right corner of C2 and when you
see the +, double click)

This, of course, assumes that you have only one High Street in one district.

Hope this helps
Cheers
JulieD

"Mr-Re Man" wrote in message
...
Hi, I was wondering if a formula for the following is possible,

In worksheet 1, column A I have a road name and in column B the type of
work
that is carried out at the road name. Then on worksheet 2 I have the road
name and district it is in, what I am after is for the district to be put
in
column C on Worksheet 1 without me having to type them in as I have 15000
rows of data.

Worksheet 1
A B
ROAD NAME TYPE OF WORK
High Street Grass
High Street Hedges
Low Road Grass
Low Road Hedges
Low Road Roses

Worksheet 2
A B
ROAD NAME DISTRICT
High Street Malpas
Low Road Risca
Middle Close Newport

Is this possible?

Anyone who could help me, would be saving me hours of monotonous
replication.

Thanks in anticipation !



  #3   Report Post  
Mr-Re Man
 
Posts: n/a
Default

JulieD, THANK YOU - THANK YOU - THANK YOU

"JulieD" wrote:

Hi

use the VLOOKUP function

in cell C2 sheet 1 type
=VLOOKUP(A2,Sheet2!$A$2:$B$20000,2,0)
this says lookup the value in A2 (ie High Street) in the table on worksheet
2 and return the inoformation in the second column where there is an exact
match.
and then fill down (move mouse over bottom right corner of C2 and when you
see the +, double click)

This, of course, assumes that you have only one High Street in one district.

Hope this helps
Cheers
JulieD

"Mr-Re Man" wrote in message
...
Hi, I was wondering if a formula for the following is possible,

In worksheet 1, column A I have a road name and in column B the type of
work
that is carried out at the road name. Then on worksheet 2 I have the road
name and district it is in, what I am after is for the district to be put
in
column C on Worksheet 1 without me having to type them in as I have 15000
rows of data.

Worksheet 1
A B
ROAD NAME TYPE OF WORK
High Street Grass
High Street Hedges
Low Road Grass
Low Road Hedges
Low Road Roses

Worksheet 2
A B
ROAD NAME DISTRICT
High Street Malpas
Low Road Risca
Middle Close Newport

Is this possible?

Anyone who could help me, would be saving me hours of monotonous
replication.

Thanks in anticipation !




  #4   Report Post  
JulieD
 
Posts: n/a
Default

Hi Mr-Re Man

you're VERY welcome :)

and thanks for the feedback

Cheers
JulieD

"Mr-Re Man" wrote in message
...
JulieD, THANK YOU - THANK YOU - THANK YOU

"JulieD" wrote:

Hi

use the VLOOKUP function

in cell C2 sheet 1 type
=VLOOKUP(A2,Sheet2!$A$2:$B$20000,2,0)
this says lookup the value in A2 (ie High Street) in the table on
worksheet
2 and return the inoformation in the second column where there is an
exact
match.
and then fill down (move mouse over bottom right corner of C2 and when
you
see the +, double click)

This, of course, assumes that you have only one High Street in one
district.

Hope this helps
Cheers
JulieD

"Mr-Re Man" wrote in message
...
Hi, I was wondering if a formula for the following is possible,

In worksheet 1, column A I have a road name and in column B the type of
work
that is carried out at the road name. Then on worksheet 2 I have the
road
name and district it is in, what I am after is for the district to be
put
in
column C on Worksheet 1 without me having to type them in as I have
15000
rows of data.

Worksheet 1
A B
ROAD NAME TYPE OF WORK
High Street Grass
High Street Hedges
Low Road Grass
Low Road Hedges
Low Road Roses

Worksheet 2
A B
ROAD NAME DISTRICT
High Street Malpas
Low Road Risca
Middle Close Newport

Is this possible?

Anyone who could help me, would be saving me hours of monotonous
replication.

Thanks in anticipation !






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
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM
How to lookup data in a row and column Confused Excel Discussion (Misc queries) 5 January 10th 05 08:20 PM
need check two worksheets to lookup a value Clay Excel Discussion (Misc queries) 2 January 5th 05 08:35 AM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 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:45 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"