I have been trying to convert the following excel formula to vba code.
Help!
First one:
=IF(COUNTIFS($B$4:$B$10320,$P25,$C$4:$C$10320,Q$23)>0, SUMIFS($E$4:$E$10320,$B$4:$B$10320,$P25,$C$4:$C$10320,Q$23), "NA")
Second one:
=COUNTIFS($C$4:$C$104897,AL$23,$B$4:$B$104897,$P25)
Lets figure it out together