View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
notanexcelguru notanexcelguru is offline
external usenet poster
 
Posts: 6
Default lookup a value across 15 rows

Here is my problem -

The need to look a certain value say 'desktop' across 15 columns ( 1 row)
and if it is present in any one cell, in the 16th column I need to print
'Desktop'. This data in the rows is what a customer bought on an order, but
the order of the parts in not maintained. Shown in example below

Customer1 desktop server laptop keyboard
Customer2 mouse desktop keyboard laptop
Customer3 server mouse laptop keyboard

I want to come up with

Customer 1 desktop server laptop keyboard
Customer 2 desktop laptop keyboard mouse
Customer 3 server laptop keyboard mouse



Please help, Thank you