Copy row if

Jenni98812

New Member
Joined
Feb 18, 2021
Messages
8
Office Version
  1. 365
Platform
  1. Windows
I have a sheet containing data of 25 states in columns a sort of yes/no of availability in each state. There are instances when one row contains "READY TO SELL" in multiple cells in the row.
I need to be able to return the Column header Value (ie, AL, AR, AZ... Etc) to a new column and list them in one cell.
So in theory, say the record in Row 4 in the example I included, it would have one column/cell in the row with that lists AL, AZ, IN, KS.

Thanks!!
PinPoint Last LoginStatus (Only "ACTIVE" Can Sell)Status DateUIDAgent IDSircon Agent IDNPNLast NameFirst NameAddress CityAddress StateEmail AddressExternal Agent TypeGA IDGA NameMGA IDMGA NameSGA IDSGA NameFMO IDFMO NameRecommended Learning TrackAHIP EquivalentAttestationsOur Compliance ProgramCigna_HealthSpring Products and Benefits OverviewSelling with Integrity _ Field Sales VersionSelling with Integrity _ Telesales VersionSelling with Integrity _ Combined VersionSelling with Integrity _ Internal Field VersionMin Required Courses Completed2020 Track Complete2021 Certification Added?Date Certification AddedALARAZCODCDEFLGAILINKSMDMOMSNCNJNMOHOKPASCTNTXUTVA
09/03/2020Active53884C500771106521013012236ADAMICHAELMainALFieldS475087JL & ASSOCIAS469897JL & ASSOCIAS162224HEARTLANDG210040AMERICANTRACK - 2021 - HealthSpring - FieldYES100939387Yes07/23/2020202107/23/2020READY TO SELLREADY TO SELLREADY TO SELLREADY TO SELL
05/28/2020Processing41075C4573021065181617587634ALASHAWANDAMainGAFieldP162224HEARTLANDS162224HEARTLANDG210040AMERICANTRACK - 2021 - HealthSpring - FieldNONO02/09/2020Training Req.Training Req.Training Req.Training Req.Training Req.
08/27/2020Active55703C5019951065218819250199ANDKEITHMainAZFieldP497014LFSS497014LFSS162224HEARTLANDG210040AMERICANTRACK - 2021 - HealthSpring - FieldYES100878787Yes08/21/2020202108/21/2020READY TO SELLREADY TO SELLREADY TO SELLREADY TO SELL
12/10/2020Active63094C5117801065240218142338ARNHEATHERMainMOFieldS503552TEMMENS489201TEMMENS162224HEARTLANDG210040AMERICANTRACK - 2021 - HealthSpring - FieldYES100938787Yes202111/02/2020READY TO SELL
Processing0C5106761065233019456129ATKMONAMainFLFieldP162224HEARTLANDS162224HEARTLANDG210040AMERICANTRACK - 2021 - HealthSpring - FieldNONOTraining Req.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,562
Office Version
  1. 365
Platform
  1. Windows
How about
Excel Formula:
=TEXTJOIN(", ",,FILTER($AI$1:$BG$1,AI2:BG2="ready to sell",""))
 
Solution

Fluff

MrExcel MVP, Moderator
Joined
Jun 12, 2014
Messages
56,562
Office Version
  1. 365
Platform
  1. Windows
You're welcome & thanks for the feedback.
 

Watch MrExcel Video

Forum statistics

Threads
1,129,569
Messages
5,637,098
Members
416,957
Latest member
Brovashift

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
Top