Trying to find a formula that would identify if a unique id hits a particular threshold and if so, I would like it to pull the dollar value from the row in which the threshold is met.
I need the formula to cumulatively add the amount(column D) and number of line items. If the unique identifier (column A) >= count of 4 and the sum of amount (column D) is >= $400 I would like the formula to pull only the amount where both criteria are met.
For example in the attached file the unique identifier PAYNE PAYNE-57029-NM has 6 line items and would meet the criteria on the 4th line, therefor the result I'd be looking for would $277.96, ignoring the other amounts after it.
Bookmarks