LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 542
Default vlookup / index / match?

Hi,

I am having a problem setting up a formula that uses data from one
spreadsheet and returns a value in another.

Here are my spreadsheets:

Spreadsheet 1:
Col. A Col. B Col. C
1 Surname Firstname Classification
2 Bloggs Joe Management
3 Jones Fred Engineer
and so on

Spreadsheet 2:
Col. B Col. C Col. I
1 Surname Firstname Classification
2 Bloggs Joe
3 Jones Fred

In I2 (spreadsheet 2) I have the formula:
=vlookup(B1,'Spreadsheet2'!$A$2:$B$200,3) to get Management

This formula works fine when there is only one person with each surname.
When there are two people with the same surname, i.e. Joe Bloggs and John
Bloggs I don't get the correct result.

Can anyone help me?

Thanks

James

--
J
 
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 vs INDEX and MATCH Andy Excel Discussion (Misc queries) 1 September 20th 07 10:42 AM
index Match, or Vlookup Match.. news.transedge.com Excel Worksheet Functions 1 August 3rd 07 02:00 AM
Need Help with Index and Match or Vlookup japorms Excel Worksheet Functions 1 August 2nd 06 10:45 PM
Vlookup, index, match? Phyllis Excel Worksheet Functions 4 December 13th 04 11:23 PM
Vlookup, Index & Match Phyllis Excel Worksheet Functions 1 November 8th 04 06:11 PM


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