I have two formulas that I am trying to put together. They work on their own, but not when put together. What am I missing?
and
I would have thought this -
But I get "Unable to set FormulaArray property of the Range class"
Thank you
Excel Formula:
Range("B4").FormulaArray = "=(SUM(--(MMULT(--IF((" & subarea & "=RIGHT(A4,3))*(" & dept & "=""SA""),(" & qtr & "=""N""),0),TRANSPOSE(COLUMN(" & qtr & ")^0))>0)))"
Excel Formula:
Range("B7") = "=ROUNDDOWN(1-(B4/(COUNTIFS(" & dept & ",""SA""," & subarea & ",RIGHT(A4,3)))),2)"
Excel Formula:
Range("B7").FormulaArray = "=ROUNDDOWN(1-((SUM(--(MMULT(--IF((" & subarea & "=RIGHT(A4,3))*(" & dept & "=""SA""),(" & qtr & "=""N""),0),TRANSPOSE(COLUMN(" & qtr & ")^0))>0)))/(COUNTIFS(" & dept & ",""SA""," & subarea & ",RIGHT(A4,3)))),2)"
Thank you