Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 21
Default H or VLookup Help

Need some help. Worksheets 1 & 2 in one spreadsheet.
Worksheet 2 has data like this...

1234, Mark, A, B, C, D
1235, Fred, D, C, A
1236, Bill, E, B, A, D, C

I want to bring that info over to Worksheet 1, so that the same letters all
end up in the same column, like this

1234, Mark, A, B, C, D
1235, Fred, A, , C, D
1236, Bill, A, B, C, D, E


SO my first row in worksheet 1 currently looks like this...

='2'!A2, ='2'!A3, =HLOOKUP(A,'2'!D2:M2,1,TRUE),
=HLOOKUP(B,'2'!D2:M2,1,TRUE), etc

But "obviously", it is not working. Can someone help? Should I be using
VLOOKUP? THANKS!!!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 213
Default H or VLookup Help

Need some help. Worksheets 1 & 2 in one spreadsheet.
Worksheet 2 has data like this...

1234, Mark, A, B, C, D
1235, Fred, D, C, A
1236, Bill, E, B, A, D, C

I want to bring that info over to Worksheet 1, so that the same
letters all end up in the same column, like this

1234, Mark, A, B, C, D
1235, Fred, A, , C, D
1236, Bill, A, B, C, D, E


It doesn't use a LOOKUP, but maybe something like this would work.

In C2 put
=IF(COUNTIF('2'!$C2:$M2,CHAR(CODE("A")+COLUMN()-3))0,
CHAR(CODE("A")+COLUMN()-3), "")
Then copy C2 and paste into all of C2:M4.

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 in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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

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

About Us

"It's about Microsoft Excel"