I am trying to use a range as the items in an array
Using the Microsoft Office Sales data
In the cell j3 I have the formula
=SUM(SUMIFS($E:$E,$D:$D,"="&J2,$C:$C,{"Jones","Gill"}))
Can I write this so that it picks up the names from the cells j6:j7
e.g.
=SUM(SUMIFS($E:$E,$D:$D,"="&J2,$C:$C,{J6:J7}))
(needless to say this throws an error)
Using the Microsoft Office Sales data
In the cell j3 I have the formula
=SUM(SUMIFS($E:$E,$D:$D,"="&J2,$C:$C,{"Jones","Gill"}))
Can I write this so that it picks up the names from the cells j6:j7
e.g.
=SUM(SUMIFS($E:$E,$D:$D,"="&J2,$C:$C,{J6:J7}))
(needless to say this throws an error)