I just made up this sample book to see if we together could solve this easy puzzle.

I got 2 different collums (Count and Size). I'm using Countif to look for my value, and it does find them and show how many of that size there is, but I also want it to depend on the count value, and multiply the certain size with the specific count.

For example
See attached workbook

sample book.xlsx