apwaterski
New Member
- Joined
- Feb 28, 2016
- Messages
- 5
How do I average the last 3 numbers in a column, that match a word in another column. For example...
Column A1:A10 = green, green, red, red, green, blue, green, green, red, green.
Column B1:B10= 1,9,7,3,8,7,6,3,1,9.
I want to average the last 3 numbers in column B, that are green. The answer is 6 (the average of 9,3,6). I will be adding to both column A and B daily, and I want the formula to always find the average of the LAST 3 numbers in column B that are green.
Thanks for the help!
Column A1:A10 = green, green, red, red, green, blue, green, green, red, green.
Column B1:B10= 1,9,7,3,8,7,6,3,1,9.
I want to average the last 3 numbers in column B, that are green. The answer is 6 (the average of 9,3,6). I will be adding to both column A and B daily, and I want the formula to always find the average of the LAST 3 numbers in column B that are green.
Thanks for the help!