Jump to content


Photo

Cross Worksheet Formulas & More

Cross WS cell references

  • Please log in to reply
1 reply to this topic

#1 JPK1066

JPK1066

    Advanced Member

  • Members
  • PipPipPip
  • 101 posts
  • LocationHilton Head SC

Posted 04 November 2017 - 02:24 PM

You have shown me how to bring the summary cell from one WS to another either through the Watch Window or the use of:

          ='Worksheet name'!A1

But what I would like to know, can I write a formula into a cell on one WS to act on a range in another WS as in:

          ='Worksheet name'!(average(A1:A25))

 

I played with this for a while but could not get it right..

 

Can this be done and for that matter can it be done cross Workbook as well.

Will the Indirect Function once again be the solution to the problem?

 

TY

 

JPK1066



#2 Jonathan

Jonathan

    Forums Administrator

  • Administrators
  • 886 posts

Posted 05 November 2017 - 11:30 AM

Hi JPK,

 

The correct formula for your AVERAGE function will be:

=AVERAGE('Worksheet name'!A1:A25)

 

You don't need to use INDIRECT - a simple cross-worksheet reference will work without any problems.

 

You can see more about cross-worksheet formulas in the video lesson: Essential Skills Lesson 6-6 Create cross worksheet formulas.

 

I hope this is the answer you were looking for, but please feel free to reply if you need any more help with this.


Jonathan is part of the professional team who answer Excel-related questions posted on the ExcelCentral.com forums.
Jonathan also tests our courses prior to publication and has worked on all of our ten world bestselling Excel books for Excel 2007, Excel 2010, Excel 2013, Excel 2016 for Windows and Excel 2016 for Apple Mac. Jonathan has also worked on over 850 video lessons for or video courses covering Excel 2007, Excel 2010 and Excel 2013.
As well as extensive Excel knowledge, Jonathan has worked in the IT world for over thirteen years as a programmer, database designer and analyst for some of the world's largest companies.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users