I have this below formula and trying to convert it in VBA
When i add this formula into below code it gives me red highlighted text for whole formula.
I just want that when i run this code it should paste the values instead of formula into cells. OR if this formula can be converted into code then please convert this.
Looking forward to your help.