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 » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Vlookup Function



 
 
Thread Tools Display Modes
  #11  
Old July 14th, 2004, 03:08 PM
=BA=Spike
external usenet poster
 
Posts: n/a
Default Vlookup Function

I think, all i need is a match in any of the cells, either A1,B1,C1 etc.


So, if there is a match in A1, then it would populate the relevant
values on sht2. If A1 does not match, then it should check B1, if B1
does not match then it should check C1 etc.

Thanks

Spike


---
Message posted from http://www.ExcelForum.com/

  #12  
Old July 14th, 2004, 03:40 PM
JulieD
external usenet poster
 
Posts: n/a
Default Vlookup Function

Hi Spike

in that case i would say the easiest way to achieve what you want is to
insert a column in both sheet 1 & 2 (column D) and type for both
=IF(A1="",IF(B1="",C1,B1),A1)
and fill down for all rows

then on sheet 2 for column E
type
=IF(VLOOKUP($D1,Sheet1!$D$1:$I$4,2,FALSE)=0,"",VLO OKUP($D1,Sheet1!$D$1:$I$4,
2,FALSE))
copy across to rows F, G, H, I
changing the ,2, to ,3, for column F; ,4, for column G; ,5, for column H &
,6, for column I (ie the third parameter)
in both VLOOKUP statements
and then fill down all rows

i'm not sure it will work for all combinations and variations possible but
might get you somewhere -hopefully someone else will have a more generic
solution if required.

Cheers
JulieD


"=BA=Spike " wrote in message
...
I think, all i need is a match in any of the cells, either A1,B1,C1 etc.


So, if there is a match in A1, then it would populate the relevant
values on sht2. If A1 does not match, then it should check B1, if B1
does not match then it should check C1 etc.

Thanks

Spike


---
Message posted from http://www.ExcelForum.com/




 




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
IF statements in a VLOOKUP function Eric Worksheet Functions 1 June 30th, 2004 01:31 AM
VLOOKUP Function (Hide Zero Value) Jay Worksheet Functions 3 June 21st, 2004 08:58 PM
sum1 plz help me understand vlookup function flick Worksheet Functions 2 October 6th, 2003 03:29 AM
Pocket Excel vlookup function P Worksheet Functions 2 September 24th, 2003 06:20 PM


All times are GMT +1. The time now is 02:05 PM.


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