LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default VLOOKUP if target appears more than once in a list

Hi
I am trying to use a Vlookup formula from a list of items

THIS IS PAGE 1 (with the list)
A B
1 Sales Qty
2 Apple 3
3 Mango 4
4 Orange 1
5 Apple 2

I want to show in PAGE 2 as follows:
A B
1 Apple 3
2 Apple 2

When I try to vlookup the values for Apple in Page 2 using
=vlookup(A1,page1$A$1:$B$5,2,0), I get "3". But even if I drag the formula
down, I still get 3 as the formula picks up the first value relating to
apple.

Can someone tell me how to use a formula to pick up the "2" in the second
line? Should I be using some other formula other than VLOOKUP?
 
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
nested IF(OR Vlookup returning zero instead of value in target cel ncjefffl Excel Worksheet Functions 7 October 31st 08 09:20 PM
vlookup in the row below the target row AG Excel Worksheet Functions 2 May 12th 08 05:39 PM
Use Vlookup or similiar function to find the row of the target cel J@Y Excel Discussion (Misc queries) 3 February 9th 07 08:37 PM
Variable VLOOKUP source and target Vindaloo Excel Worksheet Functions 4 April 11th 06 03:56 PM
Can VLOOKUP deliver the second occurence when target column entri. IdeaRat Excel Worksheet Functions 3 April 1st 05 07:08 PM


All times are GMT +1. The time now is 02:55 AM.

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"