Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 331
Default lookup and concatenate

i would like to concatenate the data in column A with the top cell when going
across the row there is a quantitiy. For example A2 would match B1 giving me
'jonesAB1'. Possible?
A B C D E F G
1 AB1 AB2 AB3 AB4 AB5 AB6
2 Jones 10
3 Smith 11
4 Wilson 10
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default lookup and concatenate

Hi Greg,
try
=IF(A2<"",A1&B1,IF(B2<"",A1&C1,IF(C2<"",A1&C1,I F(D2<"",A1&D1,IF(E2<"",A1&E2,"")))))

if you have more than 7 columns to compare it won't work
If this help you please rate it thanks

"Greg" wrote:

i would like to concatenate the data in column A with the top cell when going
across the row there is a quantitiy. For example A2 would match B1 giving me
'jonesAB1'. Possible?
A B C D E F G
1 AB1 AB2 AB3 AB4 AB5 AB6
2 Jones 10
3 Smith 11
4 Wilson 10

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 331
Default lookup and concatenate

Eduardo,
bad news....I have about 85 columns to compare.
Greg

"Eduardo" wrote:

Hi Greg,
try
=IF(A2<"",A1&B1,IF(B2<"",A1&C1,IF(C2<"",A1&C1,I F(D2<"",A1&D1,IF(E2<"",A1&E2,"")))))

if you have more than 7 columns to compare it won't work
If this help you please rate it thanks

"Greg" wrote:

i would like to concatenate the data in column A with the top cell when going
across the row there is a quantitiy. For example A2 would match B1 giving me
'jonesAB1'. Possible?
A B C D E F G
1 AB1 AB2 AB3 AB4 AB5 AB6
2 Jones 10
3 Smith 11
4 Wilson 10

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default lookup and concatenate

=A2&INDEX($B$1:$G$1,MATCH(TRUE,INDEX(B2:G2<"",),) )


"Greg" wrote:

i would like to concatenate the data in column A with the top cell when going
across the row there is a quantitiy. For example A2 would match B1 giving me
'jonesAB1'. Possible?
A B C D E F G
1 AB1 AB2 AB3 AB4 AB5 AB6
2 Jones 10
3 Smith 11
4 Wilson 10

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 331
Default lookup and concatenate

Teethless mama,
Perfecto-O! Thanks, Greg

"Teethless mama" wrote:

=A2&INDEX($B$1:$G$1,MATCH(TRUE,INDEX(B2:G2<"",),) )


"Greg" wrote:

i would like to concatenate the data in column A with the top cell when going
across the row there is a quantitiy. For example A2 would match B1 giving me
'jonesAB1'. Possible?
A B C D E F G
1 AB1 AB2 AB3 AB4 AB5 AB6
2 Jones 10
3 Smith 11
4 Wilson 10

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
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM
Un - Concatenate? JudithJubilee Excel Worksheet Functions 2 July 11th 05 09:57 AM
concatenate Christy Quesenbery via OfficeKB.com Excel Worksheet Functions 1 April 7th 05 08:09 PM
Concatenate JT Excel Worksheet Functions 4 February 26th 05 05:42 PM


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