Assigning a named cell in the Cond Sum If

  • Thread starter Thread starter Dan
  • Start date Start date
D

Dan

I have a column named 'Month' and a cell named
SelectMonth. I am trying to use SelectMonth so that I can
sum a column named 'Gross' by 'Month' by 'Model' by 'Adj'
Each has a validation data list assigned to it. My
statement will not recognize the cell 'SelectMonth' and
gives me a null result. Help
 
Hi
try
=SUMPRODUCT((Month_rng = SelectMonth)*(Model_rng = Adj),Gross_rng)

Note:
- all ranges (Month_rng, Model_rng and Gross_rng) must have the same
dimension
- you can't use a range like A:A, use something like A1:A10000
- also I wouldn't use a range name like 'Month' as this is identical to
a function name
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top