Leo_Polla_Psemata
Registered User.
- Local time
- Today, 14:03
- Joined
- Mar 24, 2014
- Messages
- 364
Works
Hi
In my code, i need to use the sumiffs function
At first i used as absolute cell values such as D10 to D2500 and function works.
Then i replaced the D2500 with the "
" & i - 1 & " and function does works.
However, when i try to replace the sum range after firts criteria, the F2500 with the ":F" & i - 1 & ", the lines turns to red and shows that there is a problem on criteris """OFT""
Is there any tool we could use and build our formulas and criteria without this punctuation headache?
Sorry for smilies , behind each smilie is the : D without space
Code:
.Range("E7").Formula = "=SUMIFS(I10" & ":I" & i - 1 & " ,D10" & ":D" & i - 1 & " ," & """OFT""" & ",F10:F2500," & """USD""" & ",J10:J2500," & """P"")"
Doesn't work
.Range("E8").Formula ="=SUMIFS(I10" & ":I" & i - 1 & " ,D10" & ":D" & i - 1 & " ," & """OFT""" & ",F10" & ":F" & i - 1 & " & """USD""" & ", J10" & ":J" & i - 1 &, " & """P"")"
Hi
In my code, i need to use the sumiffs function
At first i used as absolute cell values such as D10 to D2500 and function works.
Then i replaced the D2500 with the "

However, when i try to replace the sum range after firts criteria, the F2500 with the ":F" & i - 1 & ", the lines turns to red and shows that there is a problem on criteris """OFT""
Is there any tool we could use and build our formulas and criteria without this punctuation headache?
Sorry for smilies , behind each smilie is the : D without space
Last edited: