B C D
1/1 1/2 1/3
2 Product 1 ?
3 Product 2
I'm trying to use VBA to automate inserting formula based on product name and date criteria. Tried multiple ways including index match, intersect but can't seem to get it to work!
Currently my formula is manually placed based on dates of another worksheet. Formula for reference
=IFERROR(IF(VLOOKUP($B$1&$C39&Japan!$E39,TDM!$A:$AA,23,0)=Japan!U$33,SUMIF(Allocation!$A:$A,Japan!$A39,Allocation!$S:$S),"")*$G39,"")
Is there a way to automate this using VBA?