how to edit formula without changing formula of each cell

G

Guest

Hello,
My problem is: I use a very large
formula:=SUMPRODUCT(--(TEXT(F13:F59,"yyyymmm")="2007Jan"),J13:J59). and the
formula is used in more than 1000 cells. but the month name and range changes
according to row and column of every cell. How can I change the formula of
every cell without selecting each cell and editing manually? I would be very
much thankful if anyone can help me with this problem.
 
R

Rodrigo Ferreira

If you want to replace only "2007Jan", select only the cells you want and
Find/Replace
 
G

Guest

change your formula to

=SUMPRODUCT(--(month(F13:F59)=month#)--(year(F13:F59)=year#),J13:J59)

You can put the month# and year# values in cells and change the formula
above to reference the cells, not specifice vlues.
 

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

Top