lookup and concatenate

G

Greg

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
 
E

Eduardo

Hi Greg,
tr
=IF(A2<>"",A1&B1,IF(B2<>"",A1&C1,IF(C2<>"",A1&C1,IF(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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top