Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2007

Tip: Looking for answers? Try searching our database.

using indirect to sum range

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Edward - 17 Sep 2007 16:18 GMT
I have a sheet that references data in another sheet within a workbook
in its same corresponding row.  For example, for an item in Sheet1 in
row 6 the formula might be:

=Sheet2!F6+Sheet2!G6

Due to the way that the data is loaded (this is part of a complicated
process that I cannot change and I only am able to make updates to my
own sheet) I cannot just define the cell in row 6 to be =Sheet2!
F6+Sheet2!G6 but I can get my desired result by using:

=Indirect("Sheet2!F"&row())+Indirect("Sheet2!G"&row())

However, I cannot figure out how to do this when my formula should be
something like:

=Sum(Sheet2!B6:E6)

Any ideas?
Pete_UK - 17 Sep 2007 16:28 GMT
Have you tried:

=SUM(INDIRECT("Sheet2!B"&row()&":E"&row()))

?

Hope this helps.

Pete

> I have a sheet that references data in another sheet within a workbook
> in its same corresponding row.  For example, for an item in Sheet1 in
[quoted text clipped - 15 lines]
>
> Any ideas?
Edward - 17 Sep 2007 16:30 GMT
> Have you tried:
>
[quoted text clipped - 27 lines]
>
> - Show quoted text -

Clearly not because this works!

Thanks.
Pete_UK - 17 Sep 2007 16:33 GMT
You're welcome, Edward - thanks for feeding back.

I wasn't sure I understood what the problem was.

Pete

> > Have you tried:
>
[quoted text clipped - 33 lines]
>
> - Show quoted text -
Franz Verga - 17 Sep 2007 16:35 GMT
Nel post:1190042323.821286.89100@o80g2000hse.googlegroups.com,
Edward <edward_mcmasters@yahoo.com> ha scritto:
> I have a sheet that references data in another sheet within a workbook
> in its same corresponding row.  For example, for an item in Sheet1 in
[quoted text clipped - 15 lines]
>
> Any ideas?

Hi Edward,

Should be something like this:

=Sum(Indirect("Sheet2!B"&row()&":E"&row()))

(written directly here, so some test is needed...)

Signature

(I'm not sure of  names of menus, options and commands, because
translating from the Italian version of Excel...)

Hope I helped you.

Thanks in advance for your feedback.

Ciao

Franz Verga from Italy

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.