Remember Me?

#1
March 30th 05, 12:45 PM
 De Jandon Posts: n/a
Cell addressing using the content of another cell.

Hi there,
I will like to specify a function e.g. SUM to act on a cell whole address in
the content of another cell.

For instance, I want to sum Cell A12, and Ax and Ax where x is the content
of cell B12 for example. How do I reference a cell with the content of
another cell.

My task for requiring this is because I want to do the following:

Sum B12, B13, B14, B15.... Bxy to cell B4

The end of the B column to sum depends on the value in cell C2 for instance.
So if C2 contained 3, then, the sum function will be limited to SUM B12 and
B13, and B14 only. Then my result will be SUM (B4, B12:B14) in another cell
where the function resides

Likewise, had cell C2 contained 2, then my sum resuly would be SUM(B4,
B12:B13)

#2
March 30th 05, 01:11 PM
 Bob Phillips Posts: n/a

#3
March 30th 05, 01:12 PM
 Bob Phillips Posts: n/a

#4
March 30th 05, 01:43 PM
 Duke Carey Posts: n/a

#6
April 1st 05, 10:59 PM
 Jandon Posts: n/a

Thanks Duke,

this solved it.

I have asked Bob Phillips to shed more light on the syntax for the INDIRECT
function as it was giving error message when i enter the syntax as he
suggested. If that works too, then it will be nice to know two ways of
solving same problem.

Cheers

"Duke Carey" wrote:

or

=SUM(B4,OFFSET(B12,,,C2))

"Bob Phillips" wrote:

=SUM(B4,INDIRECT("B12:B"&11+C2))

--

HTH

RP
(remove nothere from the email address if mailing direct)

"De Jandon" <De wrote in message
...
Hi there,
I will like to specify a function e.g. SUM to act on a cell whole address

in
the content of another cell.

For instance, I want to sum Cell A12, and Ax and Ax where x is the content
of cell B12 for example. How do I reference a cell with the content of
another cell.

My task for requiring this is because I want to do the following:

Sum B12, B13, B14, B15.... Bxy to cell B4

The end of the B column to sum depends on the value in cell C2 for

instance.
So if C2 contained 3, then, the sum function will be limited to SUM B12

and
B13, and B14 only. Then my result will be SUM (B4, B12:B14) in another

cell
where the function resides

Likewise, had cell C2 contained 2, then my sum resuly would be SUM(B4,
B12:B13)

 Posting Rules Smilies are On [IMG] code is On HTML code is OffTrackbacks are On Pingbacks are On Refbacks are On

 Similar Threads Thread Thread Starter Forum Replies Last Post Jandon Excel Worksheet Functions 1 March 30th 05 06:39 PM Riko Wichmann New Users to Excel 2 March 3rd 05 02:07 PM MVAND Excel Worksheet Functions 0 February 14th 05 06:11 PM A_n_d_e_r_s Excel Discussion (Misc queries) 1 February 10th 05 11:47 AM Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM

All times are GMT +1. The time now is 06:38 AM.