Text populated based on multiple cells

djthery

New Member
Joined
Jun 4, 2021
Messages
6
Office Version
  1. 365
Platform
  1. Windows
Hello,

Looking for some help on figuring out how to make column I populate text based on data entered into column J-L.

I would like Column I to populate UW, UWS, or None either by itself or in a combination based on which cells in Column J-L are marked with "x".

Any help is appreciated! I've been on the google for a while trying to find a formula that would work and haven't found anything yet.

1622826213983.png
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Hi & welcome to MrExcel.
Can you have more than one x, or no xs? If so what should happen?
 
Upvote 0
Hi & welcome to MrExcel.
Can you have more than one x, or no xs? If so what should happen?
Thanks!

Yes, x could be present in both J and K and I would like it to display "UW, UWS". There would not be a scenario where x is not present at all in J-L.
 
Upvote 0
Ok, how about
Excel Formula:
=TEXTJOIN(", ",,IF(J2:L2="x",J1:L1,""))
 
Upvote 0
Ok, how about
Excel Formula:
=TEXTJOIN(", ",,IF(J2:L2="x",J1:L1,""))
Thanks Fluff but for some reason it is showing the formula in the cell. I adjusted it so it would be the correct cells and even redid it in a different workbook but I am only getting the formula and not the result. I redid this in a new workbook and the result shows #VALUE!.

1622830643738.png
1622830843886.png
 
Upvote 0
Do you have formulae in J3:L3?
 
Upvote 0
Do you have either the Unique function or the Sequence function?
 
Upvote 0

Forum statistics

Threads
1,215,409
Messages
6,124,737
Members
449,185
Latest member
hopkinsr

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