Generating a cell reference

  • Thread starter Thread starter GeeBee
  • Start date Start date
G

GeeBee

I cannot find the solution to my question anwhere.

If I enter the letter A in cell b3, enter the number 10 in cell d3, enter
the letter A in cell b5, and enter the number 20 in cell d5, then how do I
create cell references from these entrys that can be used in formulas, such
as sum(a10:a20)? I hope this makes sense, I really would like to accomplish
this. Thanks for any advice and assistance.

Glen
 
Try this:

=SUM(INDIRECT(B3&D3&":"&B3&D5))

You did say "A" was in B3 *and* B5, so I used B3 twice,
since you wanted: <<"sum(a10:a20)">>

--

HTH,

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

I cannot find the solution to my question anwhere.

If I enter the letter A in cell b3, enter the number 10 in cell d3, enter
the letter A in cell b5, and enter the number 20 in cell d5, then how do I
create cell references from these entrys that can be used in formulas, such
as sum(a10:a20)? I hope this makes sense, I really would like to accomplish
this. Thanks for any advice and assistance.

Glen
 
Hi GeeBee
Is this what you are after; =SUMIF(B3:B5,"A",D3:D5)
answer = 30

HTH
Bob C
 

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

Back
Top