Excel Lookup Value query


I have a simple row/column data set and I am looking to aggregate the values into a summarised view table. The values which are true are marked with an 'x' character.

              A      B      C      D
Apples      x                  
Apples            x            
Apples                  x      

This is what it is currently returning (various INDEX/MATCH, SUMIFS, SUMPRODUCT combinations)
              A      B      C      D
Apples      x      0      0      0      

This is what I need a formula of some sort to return
             A      B      C      D
Apples      x      x      x      

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

byundtMechanical EngineerCommented:
I wish that you had posted a sample file, but I think you want a formula like:

In the above formula, the fruit names are in column A. The "X" indicators are in columns B:E. Cell K2 in the results table contains "Apples".

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ejgil HedegaardCommented:
If data are in column A:D, and result in column G:K with the names (Apples etc.) in column G and A,B,C and D in row 1 of column H:K, then the formula for H2 is
Copy to other columns.
The formula set an x if 1 x or more is found for names (Apples etc.) in column B
just4kixAuthor Commented:
You were spot on...exactly what I needed and it just worked perfectly.

Thanks to all that answered
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.