Text IF statement with multiple criteria returning multiple values

k_one

New Member
Joined
Mar 22, 2012
Messages
18
Hi there,

Just wondering if there's a possible formula to help with the below.

I am after a formula for Column E that returns certain text when a cell/cells are not blank. So for row 2 for example, because there are values in only Column A and D; the result I am looking for would be the names of System One and System Four.

All the cells are text and the system names are also text. Is this doable at all?


[TABLE="width: 903"]
<colgroup><col><col span="3"><col></colgroup><tbody>[TR]
[TD]Name in System One[/TD]
[TD]Name in System Two[/TD]
[TD]Name in System Three[/TD]
[TD]Name in System Four[/TD]
[TD]Systems[/TD]
[/TR]
[TR]
[TD]Apple[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]Watermelon[/TD]
[TD]System One, System Four[/TD]
[/TR]
[TR]
[TD]Pear[/TD]
[TD]Banana[/TD]
[TD] [/TD]
[TD] [/TD]
[TD]System One, System Two[/TD]
[/TR]
[TR]
[TD]Orange[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD]System One[/TD]
[/TR]
[TR]
[TD]Strawberry[/TD]
[TD]Apricot[/TD]
[TD]Peach[/TD]
[TD] [/TD]
[TD]System One, System Two, System Three[/TD]
[/TR]
[TR]
[TD]Dragonfruit[/TD]
[TD]Lychee[/TD]
[TD]Blueberry[/TD]
[TD]Nectarine[/TD]
[TD]System One, System Two, System Three, System Four[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
In F2 control+shift+enter, not just enter, and copy down:

=TEXTJOIN(", ",TRUE,IF($A2:$D2="","",REPLACE($A$1:$D$1,1,8,"")))
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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