Hi - I am trying to sum the # of cells across a period of time until a certain threshold is reached from the value of those cells, but for multiple product codes in the same column. I was able to create the formula for sum until the threshold, but I am having trouble defining the second criteria for only focusing on the total units sold for a specific product. Can anyone assist. The formula I am using thus far is:
=MATCH(I$6,SUBTOTAL(9,OFFSET($C$7,,,ROW($C$7:$C$1000)-ROW($C$7))),1)
However, I need to add in an additional criteria to only focus on counting values in column C that match the product code in column H with the reference column A.
Screenshot 2022-05-30 083242.png
For example, in the attached screenshot, I want to find the "days to reach 50" for product 113 only.
Thanks in advance!
Bookmarks