Trim down on cell references

R

robot

Hi,

I have a formula that is quite long, and is made a lot longer because it
refers to cells in another workbook, so that the names of the workbook and
worksheet are repeated for each cell reference to the workbook. Is there any
way to tackle this issue?
 
J

JE McGimpsey

With the other workbook named, say, Book1.xls, open, in your target
workbook choose Insert/Name/Define and enter a name for the range in
Book1. For instance

Names in workbook: rng
Refers to: '[Book1.xls]Sheet1'!$A$1:$A$10

Then use the name instead of the direct reference:

=SUM(rng)
 

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

Top