Hi,
I'm trying to insert this formula
=IF(ISNA(INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0))),""No Commit Data"",INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0)))"
As an array in VBA. I have tried breaking it down as I've seen in other threads, like below:
Dim theFormulaPart1 As String
Dim theFormulaPart2 As String
theFormulaPart1 = "=IF(ISNA(INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0))),""No Commit Data"",""X_X_X"""
theFormulaPart2 = ",INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0)))"
With Range("F4")
.FormulaArray = theFormulaPart1
.Replace """X_X_X""", theFormulaPart2
End With
No matter what I do, I can't get the error to go away. I've tried multiple things and now I'm at my wit's end. This is literally the last thing I need to finish this project and it's driving me mad. If anyone can please tell me what I'm missing, that would be awesome!
I'm trying to insert this formula
=IF(ISNA(INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0))),""No Commit Data"",INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0)))"
As an array in VBA. I have tried breaking it down as I've seen in other threads, like below:
Dim theFormulaPart1 As String
Dim theFormulaPart2 As String
theFormulaPart1 = "=IF(ISNA(INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0))),""No Commit Data"",""X_X_X"""
theFormulaPart2 = ",INDEX(Pivot!$D:$D,MATCH('Schedule View'!$A4&'Schedule View'!$GS$2&'Schedule View'!GT$3,Pivot!$A:$A&Pivot!$E:$E&Pivot!$D:$D,0)))"
With Range("F4")
.FormulaArray = theFormulaPart1
.Replace """X_X_X""", theFormulaPart2
End With
No matter what I do, I can't get the error to go away. I've tried multiple things and now I'm at my wit's end. This is literally the last thing I need to finish this project and it's driving me mad. If anyone can please tell me what I'm missing, that would be awesome!