Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Haz Haz is offline
external usenet poster
 
Posts: 46
Default Vlookup for different columns in worksheet

Hi,

I have numbers in col A , which i would like to match in col E and if there
is a match i want it to return that exact number in col M. Would it then be
possible to return the values of that row Col F,G,H,I,J,K,L by copy across
this function?

Any help would be apprecaited.

Thanks
Haz
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default Vlookup for different columns in worksheet

I am not clear on the question. But have a look at INDEX and MATCH and come
back if more questions
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Haz" wrote in message
...
Hi,

I have numbers in col A , which i would like to match in col E and if
there
is a match i want it to return that exact number in col M. Would it then
be
possible to return the values of that row Col F,G,H,I,J,K,L by copy across
this function?

Any help would be apprecaited.

Thanks
Haz



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup for different columns in worksheet

"Haz" wrote:
I have numbers in col A, which i would like to match in col E
and if there is a match i want it to return that exact number in col M.


In M1: =IF(ISNUMBER(MATCH(A1,E:E,0)),A1,"")
Copy M1 down to the last row of data in col A

Would it then be possible to return the values of that row
Col F,G,H,I,J,K,L by copy across this function?


Sure. This will deliver it further based on col M
In N1: =IF($M1="","",INDEX(F:F,MATCH($A1,$E:$E,0)))
Copy N1 across to T1, fill down
This returns required results from cols F to L
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Haz Haz is offline
external usenet poster
 
Posts: 46
Default Vlookup for different columns in worksheet

Hi Max,
Thanks for getting back to me This works perfectly, However I forget to
mention that data in col A stops at A92 but the matching Col's E - F continue
down to row 209. As a result this fuction is not picking up everyone. Is it
possible to adjust this function or will i need a Vlookup now?

Many Thanks

Haz
"Max" wrote:

"Haz" wrote:
I have numbers in col A, which i would like to match in col E
and if there is a match i want it to return that exact number in col M.


In M1: =IF(ISNUMBER(MATCH(A1,E:E,0)),A1,"")
Copy M1 down to the last row of data in col A

Would it then be possible to return the values of that row
Col F,G,H,I,J,K,L by copy across this function?


Sure. This will deliver it further based on col M
In N1: =IF($M1="","",INDEX(F:F,MATCH($A1,$E:$E,0)))
Copy N1 across to T1, fill down
This returns required results from cols F to L
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup for different columns in worksheet

I'm not sure if its possible

Can you upload your sample file/data* using a free filehost
and post a **link** to it here
*desensitized as appropriate

Eg, you could use this free filehost:
http://www.freefilehosting.net/

Copy the "direct link" which is generated after you upload your sample,
then paste the link into your reply here
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Haz" wrote in message
...
Hi Max,
Thanks for getting back to me This works perfectly, However I forget to
mention that data in col A stops at A92 but the matching Col's E - F
continue
down to row 209. As a result this fuction is not picking up everyone. Is
it
possible to adjust this function or will i need a Vlookup now?

Many Thanks

Haz





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Haz Haz is offline
external usenet poster
 
Posts: 46
Default Vlookup for different columns in worksheet

this works perfectly, I have added a handful of entries by cut & paste so
need to adjust function here.

"Max" wrote:

I'm not sure if its possible

Can you upload your sample file/data* using a free filehost
and post a **link** to it here
*desensitized as appropriate

Eg, you could use this free filehost:
http://www.freefilehosting.net/

Copy the "direct link" which is generated after you upload your sample,
then paste the link into your reply here
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Haz" wrote in message
...
Hi Max,
Thanks for getting back to me This works perfectly, However I forget to
mention that data in col A stops at A92 but the matching Col's E - F
continue
down to row 209. As a result this fuction is not picking up everyone. Is
it
possible to adjust this function or will i need a Vlookup now?

Many Thanks

Haz




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Vlookup for different columns in worksheet

glad you sorted it out over there
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Haz" wrote in message
...
this works perfectly, I have added a handful of entries by cut & paste so
need to adjust function here.



Reply
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 using 2 columns Humphrey Excel Discussion (Misc queries) 2 January 4th 08 11:05 AM
Vlookup on 2 columns YeahWiwl123 Excel Discussion (Misc queries) 5 September 6th 07 02:44 PM
VLookup in to columns Frederik Excel Worksheet Functions 2 October 26th 06 08:48 PM
Trying to do Vlookup on multiple columns from different worksheet Jay Excel Worksheet Functions 2 May 9th 06 05:46 PM
VLookup against one of two columns Mark Excel Worksheet Functions 2 March 13th 06 04:38 PM


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