Variable Ranges

  • Thread starter Thread starter Erika
  • Start date Start date
E

Erika

I have the following formula in my spreadsheet
=IF(SUMPRODUCT(MAX(($C$2:$C$100)*($A$2:$A$100=A2)))=C2,C2,"")
The formula works great - however when I paste information into the
spreadsheet and use this formula the ranges can change for example sometimes
the information only goes to row 10 and sometimes it goes to row 500

Is there any way to make excel recoginize the number of rows being used? I
have this in a macro to drop the formula in.
 

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