Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Lookup first in column

I have a problem that i can't solve and i hope someone can help me...

I have this matrix

A B
1 JJ 45
2 FN 35
3 FN 22
4 JJ 99
5 FN 30

And want to X and Y to be 45 and 35. I.e. that the first value in the column
is but in column B in matrix below

A B
1 FN Y
2 JJ X

Thanks in advance

/
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Lookup first in column

I presume these are on two sheets, as you have used the same columns.
Assume your longer list is on Sheet1, then in B1 of Sheet2 you can
enter (for Y):

=VLOOKUP(A1,Sheet1!A:B,2,0)

Then just copy this formula into B2 of sheet2.

Hope this helps.

Pete

On May 28, 12:29*pm, Jesper wrote:
I have a problem that i can't solve and i hope someone can help me...

I have this matrix

* * *A * * * * B
1 *JJ * * * * 45
2 *FN * * * *35
3 *FN * * * *22
4 *JJ * * * * 99
5 *FN * * * *30

And want to X and Y to be 45 and 35. I.e. that the first value in the column
is but in column B in matrix below

* * * A * * * *B
1 * *FN * * *Y
2 * *JJ * * * X

Thanks in advance

/


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Lookup first in column

Try this in sheet2 A1 and fill down:
=INDEX(Sheet1!A:A,MATCH(B1,Sheet1!B:B,0))
Regards,
Stefi


€˛Jesper€¯ ezt Ć*rta:

I have a problem that i can't solve and i hope someone can help me...

I have this matrix

A B
1 JJ 45
2 FN 35
3 FN 22
4 JJ 99
5 FN 30

And want to X and Y to be 45 and 35. I.e. that the first value in the column
is but in column B in matrix below

A B
1 FN Y
2 JJ X

Thanks in advance

/

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Lookup first in column

Works fine, thanks to both of you

/Jesper

"Jesper" wrote:

I have a problem that i can't solve and i hope someone can help me...

I have this matrix

A B
1 JJ 45
2 FN 35
3 FN 22
4 JJ 99
5 FN 30

And want to X and Y to be 45 and 35. I.e. that the first value in the column
is but in column B in matrix below

A B
1 FN Y
2 JJ X

Thanks in advance

/

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Lookup first in column

You are welcome! Thanks for the feedback!
Stefi

€˛Jesper€¯ ezt Ć*rta:

Works fine, thanks to both of you

/Jesper

"Jesper" wrote:

I have a problem that i can't solve and i hope someone can help me...

I have this matrix

A B
1 JJ 45
2 FN 35
3 FN 22
4 JJ 99
5 FN 30

And want to X and Y to be 45 and 35. I.e. that the first value in the column
is but in column B in matrix below

A B
1 FN Y
2 JJ X

Thanks in advance

/



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
LookUp Function with Two Column Search Returning One Column Value insitedge Excel Worksheet Functions 8 March 3rd 08 05:59 AM
lookup text in one column, count in another column dmshurley Excel Worksheet Functions 1 August 17th 07 11:32 PM
sum column with na from v lookup DERICKSON Excel Worksheet Functions 7 August 20th 06 01:01 PM
Lookup in one column, and return value from another column fdebelo Excel Worksheet Functions 2 January 8th 06 01:55 PM
Calculating totals in a column based on a lookup in another column Michael Wright via OfficeKB.com Excel Worksheet Functions 1 April 15th 05 09:52 AM


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