Formula to find values in row and return headings

JV0710

Active Member
Joined
Oct 26, 2006
Messages
429
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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
try this:
Mr Excel Questions 3.xlsm
ABCDEFGHIJ
1MIXGrp1Grp2Grp3Grp4Grp5Grp6Grp7Grp8
2Grp1,Grp3,Grp4,Grp8500500200300
3Grp2,Grp3,Grp5,Grp8300300500500
4Grp2,Grp6,Grp8200400200
5Grp1,Grp2,Grp5,Grp6,Grp7,Grp8500300500200200300
6
Sheet5
Cell Formulas
RangeFormula
A2:A5A2=TEXTJOIN(",",TRUE,FILTER($B$1:$I$1,B2:I2>0,""))
Thanks very very for your reply. This does exactly what I need. Problem solved.

Just wondering . . . What would the formula be If I were to share this workbook with others who do not have Office 365. Not critical, but would be good learning for me

Thanks once again
 
Upvote 0
Thanks very very for your reply. This does exactly what I need. Problem solved.

Just wondering . . . What would the formula be If I were to share this workbook with others who do not have Office 365. Not critical, but would be good learning for me

Thanks once again
Thanks for posting as an answer!. It would be a tad more difficult and I'm not that good with it.
You may want to it as a question again (since this is answered). But, I'm unsure if it is against the rules of posting the same question twice, but, you could preface it with "So I can share with non 365 users".
 
Upvote 0
Thanks very very for your reply. This does exactly what I need. Problem solved.

Just wondering . . . What would the formula be If I were to share this workbook with others who do not have Office 365. Not critical, but would be good learning for me

Thanks once again
Only possible with a user defined function as far as I know unless you have CONCAT function and tinker with it, but I have heard they removed it from excel 2016 using an update.

 
Upvote 0
Only possible with a user defined function as far as I know unless you have CONCAT function and tinker with it, but I have heard they removed it from excel 2016 using an update.

Thanks very much - Will continue to experiment and see
 
Upvote 0
I use excel 2016 and I have access to averageifs , but on microsoft's website it says not available on excel 2016. Microsoft is lying, they removed the functions with the update. The article attached above also says the same thing.
1676030730366.png

1676030690441.png
 
Upvote 0
Microsoft has NOT removed functions such as Ifs, maxifs, minifs, concat etc from 2016 as they were never released on 2016.
I have access to averageifs , but on microsoft's website it says not available on excel 2016.
Wrong it clearly shows that it is available on 2016
1676031909134.png

Although I do not trust that site as it is often wrong.
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,744
Members
448,989
Latest member
mariah3

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