Help creating list of names which satisfy critera

kralc

New Member
Joined
Jan 1, 2018
Messages
2
Can someone please help with providing a formula which generates a list of text values in multiple columns which satisfy a certain criteria (i.e. a '1' in the row) and ignores the blank cells.

Example below:

NAME1NAME2NAME3NAME4NAME5NAME6NAME7NAME8NAME9NAME10
1111

<tbody>
</tbody>

So creating a formula which would generate a list of Name1, Name5, Name8 and Name10. I will have to repeat this formula for 100+ rows in spreadsheet.

Sorry if this is really simple, but I've spent a lot of time googling to no avail.

Thanks
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Hi,

Try this:

Ctrl+Shift+Enter NOT just Enter

A4 =IFERROR(INDEX($A$1:$J$1,SMALL(IF($A$2:$J$2=1,COLUMN($A$2:$J$2)),COLUMNS($F$1:F1))),"")

ABCDEFGHIJ
1NAME1NAME2NAME3NAME4NAME5NAME6NAME7NAME8NAME9NAME10
21111
3
4NAME1NAME5NAME8NAME10

<colgroup><col width="70" span="11" style="width:52pt"> </colgroup><tbody>
</tbody>
 
Upvote 0
Thanks, but this doesn't seem to work. It seems to be listing names at random. Can you explain the significance of the last part of the COLUMNS function for F1? Perhaps this is where I'm going wrong...
 
Upvote 0
Did you type Ctrl+Shift+Enter NOT just Enter ?

There is no particular meaning to F you can type any other letter ...
It picks up the next small value, first , second and so on.
 
Upvote 0

Forum statistics

Threads
1,215,515
Messages
6,125,279
Members
449,220
Latest member
Excel Master

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