Formula to find values in row and return headings

JV0710

Active Member
Joined
Oct 26, 2006
Messages
440
Office Version
  1. 365
  2. 2016
  3. 2013
Platform
  1. Windows
Good Day
Please can I get some help with a formula to find the values in a row and return the matching headings

In the table below I would like to list the Groups that have values in each row (In the column named "mix")
Example: in Cell A2, match the value and return "Grp 4", In cell A3, match the values and return "Grp1, Grp6, Grp7, Grp9" etc

1676022454659.png


Thanks in Advance
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
In that case you would need to use something like
Excel Formula:
=MID(IF(B2="","",","&B1)&IF(C2="","",","&C1)&IF(D2="","",","&D1),2,100)
 
Upvote 0
In that case you would need to use something like
Excel Formula:
=MID(IF(B2="","",","&B1)&IF(C2="","",","&C1)&IF(D2="","",","&D1),2,100)
Thanks very much Fluff . . . that works very nicely .
 
Upvote 0
Glad to help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,705
Messages
6,173,996
Members
452,542
Latest member
Bricklin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top