I am trying to use sumif =SUMIF('Sales'!$A$1:$A$15237,'Monthly'!A1,'Sales'!$D$1:$D$15237)
The problem is that the data in Monthly A1 is text written as yyyy/mm which I cannot convert to a value unless I use something like RIGHT or REPLACE:
=RIGHT('Sales'!A1,1)+0 or
=REPLACE('Sales'!A1,1,5,"")
I don't know how to:
(a) apply either of RIGHT or REPLACE to a range of cells, and
(b) build this argument into my SUMIF.
Any advice would be appreciated.
The problem is that the data in Monthly A1 is text written as yyyy/mm which I cannot convert to a value unless I use something like RIGHT or REPLACE:
=RIGHT('Sales'!A1,1)+0 or
=REPLACE('Sales'!A1,1,5,"")
I don't know how to:
(a) apply either of RIGHT or REPLACE to a range of cells, and
(b) build this argument into my SUMIF.
Any advice would be appreciated.