I need a formula to calculate the quarterly sales of a product based on the current month plus 2 previous months
Cell A3 indicates the current month formatted as mmm
Column A is the product starting at A5
Columns B - M are the sales by month, starting at B5 for Jan, C5 for Feb etc
What is the formula I need in cell O5 to give me the quarterly sales based on the value in cell A3
eg if the value in cell A3 is Mar the formula should add the sales in cell B5:D5, if the value in A3 is changed to Jun the formula should add the sales in cells E5:G5 etc
Thanks in advance for any help
Bookmarks