A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

vlookup help



 
 
Thread Tools Display Modes
  #1  
Old October 1st, 2005, 10:54 PM
exceluserhelp
external usenet poster
 
Posts: n/a
Default vlookup help

when there is different values B1 appearing in different cells in same column
for which we are using lookup function A1 then it picks only the first value
from the reference sheet, is there a way to have vlookup pick the next cell
value in column B1? =Vlookup(A1,B1,2,FALSE)
A1 B1
AF0040 3125 3125
AF0040 3225 3125
B0045 3001 3001
B0045 3002 3001
C0074 3702 3702
C0074 3722 3702



  #2  
Old October 2nd, 2005, 02:32 AM
Bryan Hessey
external usenet poster
 
Posts: n/a
Default


The only way I can see that you could do this is to set an additional
column (or columns) in your table, whereby column C of your table held
the data from B (the next row) if the A cells were equal,
ie - (assuming that your table has columns A and B as shown, use column
C for duplicates, (and D, E, & F etc for third, fourth and fifth
occurances if required) with the formula

for duplicates:
in cell C1 put
=if($A1=$A2,B2,"")

then, if required for triplicates, in cell D
=if($A1=$A3,B3,"")

(formula-copy these to the end of your table-data)

and then use the vlookup on 3, 4, 5 and 6 etc.
=Vlookup(A1,tablename,3,FALSE)
or as
=Vlookup(A1,A1:C999,3,FALSE)

Hope this helps

exceluserhelp Wrote:
when there is different values B1 appearing in different cells in same
column
for which we are using lookup function A1 then it picks only the first
value
from the reference sheet, is there a way to have vlookup pick the next
cell
value in column B1? =Vlookup(A1,B1,2,FALSE)
A1 B1
AF0040 3125 3125
AF0040 3225 3125
B0045 3001 3001
B0045 3002 3001
C0074 3702 3702
C0074 3722 3702



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=472359

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
vlookup data hidden within worksheet Worksheet Functions 0 January 26th, 2005 12:09 PM
Insert Vlookup into table_array of Vlookup with named range Denise Worksheet Functions 1 January 24th, 2005 10:49 PM
VLOOKUP and IF statements JAnderson General Discussion 2 August 4th, 2004 11:39 PM
VLOOKUP confusion Bill Dedman Worksheet Functions 1 April 15th, 2004 07:10 PM
VLookup Help Robert Worksheet Functions 5 December 3rd, 2003 12:57 AM


All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.