Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default VLOOKUP 2 CELLS

I have rows of data that contain the following
column data
b person id#
e address
p date moved in

there are possibly multiple rows of data for each person's id, if they have
moved more than once. I need to do a vlookup to look at a person's id#, &
address & bring back that move in date. How do I accomplish this?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default VLOOKUP 2 CELLS

You may include an additional column in your table and put in the formula e.g.
= B2&E2.
In the vlookup-formula you have to put in the lookup-value in the same way,
concatonating "person id#" and "address".

Wolf

" Pivot Table/Query" wrote:

I have rows of data that contain the following
column data
b person id#
e address
p date moved in

there are possibly multiple rows of data for each person's id, if they have
moved more than once. I need to do a vlookup to look at a person's id#, &
address & bring back that move in date. How do I accomplish this?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default VLOOKUP 2 CELLS

That sounds good, but I've been told that vlookups only look at the first row
that matches your lookup field. If I have multiple rows with the same ID#,
will it look at each of those rows for the data?

"Wolf" wrote:

You may include an additional column in your table and put in the formula e.g.
= B2&E2.
In the vlookup-formula you have to put in the lookup-value in the same way,
concatonating "person id#" and "address".

Wolf

" Pivot Table/Query" wrote:

I have rows of data that contain the following
column data
b person id#
e address
p date moved in

there are possibly multiple rows of data for each person's id, if they have
moved more than once. I need to do a vlookup to look at a person's id#, &
address & bring back that move in date. How do I accomplish this?

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default VLOOKUP 2 CELLS

As long as the combination ID#&Address is unique, it will work.
If it happens that you have both the same several times, it will only look
at the first row where it appears.


" Pivot Table/Query" wrote:

That sounds good, but I've been told that vlookups only look at the first row
that matches your lookup field. If I have multiple rows with the same ID#,
will it look at each of those rows for the data?

"Wolf" wrote:

You may include an additional column in your table and put in the formula e.g.
= B2&E2.
In the vlookup-formula you have to put in the lookup-value in the same way,
concatonating "person id#" and "address".

Wolf

" Pivot Table/Query" wrote:

I have rows of data that contain the following
column data
b person id#
e address
p date moved in

there are possibly multiple rows of data for each person's id, if they have
moved more than once. I need to do a vlookup to look at a person's id#, &
address & bring back that move in date. How do I accomplish this?

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,814
Default VLOOKUP 2 CELLS

You could create a pivot table off the data

" Pivot Table/Query" wrote:

I have rows of data that contain the following
column data
b person id#
e address
p date moved in

there are possibly multiple rows of data for each person's id, if they have
moved more than once. I need to do a vlookup to look at a person's id#, &
address & bring back that move in date. How do I accomplish this?

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
VLOOKUP - How to Sum Multiple Cells April Excel Worksheet Functions 1 June 25th 08 05:56 PM
VLOOKUP using 2 Cells RoadKill Excel Worksheet Functions 4 May 11th 08 04:21 AM
Vlookup value between 2 cells [email protected] Excel Worksheet Functions 2 August 16th 06 04:31 PM
vlookup cannot get data for some cells Alex Excel Worksheet Functions 3 March 6th 06 07:59 PM
How do I get rid of N/A in cells while using VLOOKUP in Excel kYle Excel Discussion (Misc queries) 4 January 30th 06 06:09 PM


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