My project work has an issue similar to the one described below.
My dataset is like this

What I want is like this (LAST COLUMN)

What I have is many columns of same name like "Is_paid", "Job". What I want is to create a new column "Tot", Which combines all these "Is_Paid" and "Job" in a special manner like,
- Combine all "Is_Paid" column into "Is_Paid_total"
Combine all "Job" column into Job_total
And the code format is (Not correct)
Private Sub CommandButton1_Click() Dim MyWorksheetLastColumn As Byte MyWorksheetLastColumn = Worksheets(1).Cells(1, Columns.Count).End(xlToLeft).Column Worksheets(1).Cells(1, MyWorksheetLastColumn + 1).Value = "Tot_Employment" Dim rngTemp As Range Set rngTemp=Cells.Find("*",SearchOrder:=xlByRows,SearchDirection:=xlPrevious) With rngTemp For Each cel In Range(Cells(1, 1), rngTemp) '****************MERGING STEPS********************** If cel.column(Is_Paid_total)="NonPaid" then Tot=Is_Paid else Tot=Job_total
End If next Cel End With End Sub
Step 3 will be in a for loop
I dont know how to merge/combine to get Is_Paid_Total and Job_Total. Also I know the if statement I have written is wrong. Please help me to tackle this problem.

=INDEX(D3:I3,MATCH("*",D3:I3,-1))and autofilling down. Maybe we can utilize this within theApplication.WorksheetfunctionorEvaluatemethods...=IF(OR(D3="NonPaid",F3="NonPaid",H3="NonPaid"),"NonPaid",E3&G3&I3)Otherwise @chancea 's answer works great.