A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You cannot do this in the Sales Number column itself but you can use a helper column.
The formula in D5 is
=SUM(--(C5>=VLOOKUP(B5,$A$16:$F$30,{2,4},0)))
If you don't have Office 2021 or Microsoft 365, confirm the formula with Ctrl+Shift+Enter.
Fill down.
This is what the rule looks like: