index function

B

Beasley

I have a formula for a cell =INDEX(C5:I324, X5-D5+1, 3)
and I'd like to copy and paste this while keeping my
array (C5:I324) the same. When I paste this, it changes
my array to, for example, C6:I325 for the next cell
down. How do I paste and keep the array the same.

Thanks,

Beasley
 
P

Peo Sjoblom

In the formula toolbar select the array (highlight), press F4, then enter.
Or manually insert dollar signs like $C$5:$I$324 (the first trick will do
that automatically)
 
R

Ragdyer

Change your addresses from relative to absolute by inserting dollar signs
($) before each Row and Column.

=INDEX($C$5:$I$324, X5-D5+1, 3)

You can accomplish this rather easily by clicking in the address in the
formula bar and then hitting F4.
 

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