×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Build a Cell Reference

Build a Cell Reference

Build a Cell Reference

(OP)
I know we've talked about this before, but I just can't find it in eng-tips or in Excel help.

Cell J12 = 498
Cell K12 = 559

I want cell L12 to be SUM(C498:C559)

Using simple concatenation (ampersand) I can get C498:C559 but when I put a SUM() around it I get #VALUE.  I had high hopes for INDIRECT, but it just gave me the contents of C498, a colon, and the contents of C559.

I know this is easy, and I know I've seen it discussed here, but I just can't figure out what to call the functionality I need.

David

RE: Build a Cell Reference

I think you are asking for something more complex than you think you are. The reason I say that is that you need to build the "C498:C559" string and evaluate it as a range.

AN alternative approach would be to use offset, I think.


 

Cheers

Greg Locock


New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies  http://eng-tips.com/market.cfm?

RE: Build a Cell Reference

=SUM(INDIRECT("C"&J12&":C"&K12))

Alternatively put ="C"&J12&":C"&K12 in L12 then
=SUM(INDIRECT(L12))

 

Doug Jenkins
Interactive Design Services
http://newtonexcelbach.wordpress.com/
 

RE: Build a Cell Reference

(OP)
Doug,
That is exactly the step I was missing.  Thank you.

David

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources