copying and holding certain cells in the function

R

rwong520

Hello all,

I'm having a slight problem with an Excel function that I hope someon
can help me with:

Here's the function that's in the cell:
= COUNT(G12:G66)/(((countbycolor(G5:G65
46,FALSE))+(countbycolor(A5:A65,40,FALSE)))

I then have to drag this cell to the right (thus copying the functio
to display the new calculated values). However, I'd like have everthin
shift (G12:G66 to H12:H66 to I12:I66 etc...) except A5:A65. I would lik
to hold this value as is. Is this possible???

Thank you very much in advance.
Regards,

Ron
 
M

mr_teacher

Hi,

I've not heard of the countbycolor function and my Excel doesn't
recognise it - but I am guessing that if you used the function

= COUNT(G12:G66)/(((countbycolor(G5:G65,
46,FALSE))+(countbycolor($A$5:$A$65,40,FALSE)))

it should achieve what you want?

What is the function used for by the way? Is it an addin?

Regards

Carl
 

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