Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Todd
 
Posts: n/a
Default Summing a range using INDIRECT & ADDRESS

I am trying to sum a range on the "Data" sheet. I will actually be using the
MATCH function within the ADDRESS function to ultimatly identify the range to
sum. But I cannot even get this fuction to work. It gives the #Ref! error.


=SUM(INDIRECT("Data!"&(ADDRESS(55,5))&":"&(ADDRESS (55,64))))

Thanks for any help.
Todd
  #2   Report Post  
Vasant Nanavati
 
Posts: n/a
Default

Works for me. Do you have a sheet called Data?

--

Vasant

"Todd" wrote in message
...
I am trying to sum a range on the "Data" sheet. I will actually be using

the
MATCH function within the ADDRESS function to ultimatly identify the range

to
sum. But I cannot even get this fuction to work. It gives the #Ref!

error.


=SUM(INDIRECT("Data!"&(ADDRESS(55,5))&":"&(ADDRESS (55,64))))

Thanks for any help.
Todd



  #3   Report Post  
Duke Carey
 
Posts: n/a
Default

Your formula works for me, so long as I have a sheet named Data. You have a
few needless sets of (), but they don't interfere with the formula.

=SUM(INDIRECT("Data!"&ADDRESS(55,5)&":"&ADDRESS(55 ,64)))

"Todd" wrote:

I am trying to sum a range on the "Data" sheet. I will actually be using the
MATCH function within the ADDRESS function to ultimatly identify the range to
sum. But I cannot even get this fuction to work. It gives the #Ref! error.


=SUM(INDIRECT("Data!"&(ADDRESS(55,5))&":"&(ADDRESS (55,64))))

Thanks for any help.
Todd

  #4   Report Post  
Harlan Grove
 
Posts: n/a
Default

Vasant Nanavati wrote...
Works for me. Do you have a sheet called Data?


There's a not too unlikely chance the OP's worksheet name is more
complicated than Data. If it includes spaces, then it needs to be
delimited by single quotes. Good idea always to delimit the worksheet
name with single quotes.

=SUM(INDIRECT("'Data'!"&...))

"Todd" wrote in message
I am trying to sum a range on the "Data" sheet. I will actually be using
the MATCH function within the ADDRESS function to ultimatly identify the
range to sum. . . .

....
=SUM(INDIRECT("Data!"&(ADDRESS(55,5))&":"&(ADDRE SS(55,64))))


No good reason to use INDIRECT or ADDRESS. If the first cell is fixed
and the second to be given by a MATCH call, then better to use

=SUM('Data'!$E$55:INDEX('Data'!$E$55:$IV$55,MATCH( ...)))

which replaces the volatile INDIRECT call with a nonvolatile INDEX call.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting Range name's listed in the range address box. Satnam Patel Excel Discussion (Misc queries) 4 May 5th 05 01:42 PM
Formula to return ADDRESS of cell in range that meets criteria Christie Excel Worksheet Functions 1 March 4th 05 11:13 PM
Indirect range in SUMPRODUCT? BobT Excel Discussion (Misc queries) 2 February 16th 05 08:51 PM
summing part of cells in a range excelFan Excel Discussion (Misc queries) 2 December 5th 04 12:33 PM
Address of named range pcress Excel Worksheet Functions 3 November 13th 04 08:50 AM


All times are GMT +1. The time now is 09:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"