airforceone
Board Regular
- Joined
- Feb 14, 2022
- Messages
- 201
- Office Version
- 2019
- 2016
- Platform
- Windows
Good day mate!
Need help to make my row criteria dynamic
how can I make dynamic entry for ",$A2,", what my idea is to make it like ,A & iCtr, or something to that effect, but running it does not count frequency
Need help to make my row criteria dynamic
VBA Code:
For iCtr = 2 To LastRow
ActiveSheet.Range("F" & iCtr).Formula = "=SUM(COUNTIFS('XVList'!$E$2:$E" & LRow & ",$A2,'XVList'!$H$2:$H" & LRow & ",""Female""))"
Next iCtr
how can I make dynamic entry for ",$A2,", what my idea is to make it like ,A & iCtr, or something to that effect, but running it does not count frequency