I've attached a sample worksheet with 3 columns (B, C and D). What I need to do is get the answers in D (dark blue cells) without having to hard-code the formulas. I can't use a pivot table for this since this is going to be part of a workbook which has additional worksheets and lots of formulas which will be recalculated through multiple iterations using Solver.
I suspect the formula would involve Count, Offset and/or Vlookup, but not sure.
Please feel free to ask questions if this needs clarification, but I believe that if you look at the workbook, you'll immediately see what I'm referring to.
Thanks so much!
Bookmarks