Computing.Net > Forums > Office Software > Excel cell addresses

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Excel cell addresses

Reply to Message Icon

Name: Yngin
Date: August 25, 2008 at 05:47:49 Pacific
OS: XP
CPU/Ram: -
Product: -
Comment:

I am trying to find a way to use a number from a cell to help specify a cell address.

Example: I have a cell with a number in it, let's call this number x. Now I want to get another number from a cell with the address <Sheet2!Ax>, is this possible?

I've tried different methods with INDIRECT, but it didn't help.

Example 2: Say I want the SUM from cell A1 to cell Ax, where x is a number in another cell that can change independently. Can you write =SUM(A1:A"Sheet2C3") or something similar?



Sponsored Link
Ads by Google

Response Number 1
Name: DerbyDad03
Date: August 25, 2008 at 07:03:07 Pacific
Reply:

You were on the right path.

=SUM(INDIRECT("A1:A"&C1))

INDIRECT returns the reference specified by a text string.

"A1:A"&C1 forms a text string such as "A1:A4" which INDIRECT turns into a reference for the SUM function to use.


0

Response Number 2
Name: Yngin
Date: August 27, 2008 at 04:07:59 Pacific
Reply:

Great, it works perfectly.

Will this work between sheets also, if I want to write =SUM(INDIRECT("Sheet2!A1:Sheet2!A"&C1)) ?

I don't seem to find the right notation..


0

Response Number 3
Name: Yngin
Date: August 27, 2008 at 04:23:42 Pacific
Reply:

Never mind, it should be
=SUM(Sheet2!A1:INDIRECT("Sheet2!A"&C1))

:)


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Default font Word 2002 Problem with Adobe manage...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Excel cell addresses

code carriage return win excel cell www.computing.net/answers/office/code-carriage-return-win-excel-cell/3207.html

Assigning a function to excel cell www.computing.net/answers/office/assigning-a-function-to-excel-cell/8046.html

Edit Excel Cell or Row only ONCE! www.computing.net/answers/office/edit-excel-cell-or-row-only-once/8256.html