LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default Vlookup, Bring up certain Info. only???

Please help, I have work hard to make this easy to understand. (example below)

Currently, I am using a Vlookup formula to€¦ Search through product codes for
a certain code€¦ Then I have it return the transaction number€¦
So, the product codes repeats itself whenever is involved in a transaction.
However, transactions only occur once. (EXAMPLE BELOW)

My problem is€¦
When I use my Vlookup formula and drag it down, it will repeat the same
transaction for several rows (probably based of # of rows until the next
transaction with that product code) before listing the next transaction.

How can I eliminate this repetition process€¦SO, How can I create a Vlookup
that will€¦Search through product codes for a certain code, Return the
transaction number€¦THEN go on and only list the next transaction with that
product code.

Example- Searching for product code 21€¦

DATA SHEET
A-Product Code B-Transaction #
18 AX144
21 AT888
55 BT444
89 EE789
21 BW123
10 CR559

VLOOKUP FORMULA SHEET
A- =Vlookup(21, A1:B1000, 2, false)
AT888
AT888
BW123
BW123
BW123

WHAT I WOULD LIKE:
AT888
BW123

 
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, Can I only have it bring up a transactions once? Dave Excel Discussion (Misc queries) 2 December 4th 08 09:24 PM
Excel Lists - get an item in a list to automatically bring in info fireman112473 Excel Discussion (Misc queries) 2 May 28th 08 09:36 PM
What function-bring me the info in the next column-same row? jeel Excel Worksheet Functions 9 January 26th 08 10:43 PM
Can you use a vlookup to bring in a picture? Marlsnz Excel Discussion (Misc queries) 1 June 2nd 06 01:59 AM
How can I bring forward formats with Vlookup? candycasey Excel Worksheet Functions 1 May 16th 06 12:47 AM


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