Copy row if

Jenni98812

New Member
Joined
Feb 18, 2021
Messages
10
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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
How about
Excel Formula:
=TEXTJOIN(", ",,FILTER($AI$1:$BG$1,AI2:BG2="ready to sell",""))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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