Relative column referencing within formulas

G

Guest

Hi.

I am having difficulty whilst creating formulas.

My formula is of the form:

B1=A1-C1
B2=A2-D2
B3=A3-E3
.......

I wish to fill the formula down a single column (ie, column B).

Whilst using the auto-fill option, the formula will not increment the column
reference in subsequent rows.

For example, the next row 4 in my worksheet will display:

B4=A4-C4

when in fact I wish this to be:

B4=A4-F4.

Can you please assist in helping me to solve this problem.

Many thanks.
 
R

RagDyeR

Try this in B1 and copy down:

=A1-INDEX($C$1:$Z$24,ROWS($1:1),ROWS($1:1))

Adjust the range of your data to suit.
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================


Hi.

I am having difficulty whilst creating formulas.

My formula is of the form:

B1=A1-C1
B2=A2-D2
B3=A3-E3
.......

I wish to fill the formula down a single column (ie, column B).

Whilst using the auto-fill option, the formula will not increment the column
reference in subsequent rows.

For example, the next row 4 in my worksheet will display:

B4=A4-C4

when in fact I wish this to be:

B4=A4-F4.

Can you please assist in helping me to solve this problem.

Many thanks.
 
G

Guest

This might work for you:

B1 = A1 - OFFSET(B1,0,ROW())

Then just copy down.

HTH,
Elkar
 

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

Similar Threads

#VALUE error add'g formulas 1
PLEASE HELP TO MATCH ALL SHEET AND THEN MERGE, 1
Formulas 2
SUM of a row of formulas 13
Round up & Autosum 1
Charts. 6
conditional sum? 2
"$" command will not work in VISTA 4

Top