Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default using indirect within a sum()

Why do I get "Cannot find Project or Library"?

=SUM(P4:INDIRECT("P"&ROW()-1))
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default using indirect within a sum()

Try it this way:

=SUM(INDIRECT("P4:P"&ROW()-1))

Hope this helps.

Pete

On Mar 24, 3:20*pm, Rick wrote:
Why do I get "Cannot find Project or Library"?

=SUM(P4:INDIRECT("P"&ROW()-1))


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,441
Default using indirect within a sum()

Why not just

=SUM($P$4:P???)

replace the ??? with the row -1 of the cell with the formula.


HTH,
Bernie
MS Excel MVP


"Rick" wrote in message
...
Why do I get "Cannot find Project or Library"?

=SUM(P4:INDIRECT("P"&ROW()-1))



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 334
Default using indirect within a sum()

Thank Pete no more error messages,

"Pete_UK" wrote:

Try it this way:

=SUM(INDIRECT("P4:P"&ROW()-1))

Hope this helps.

Pete

On Mar 24, 3:20 pm, Rick wrote:
Why do I get "Cannot find Project or Library"?

=SUM(P4:INDIRECT("P"&ROW()-1))


.

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
Allow EXCEL INDIRECT(ADDRESS()) and INDIRECT(RANGE()) functions Mike Barlow Excel Worksheet Functions 7 May 21st 23 07:42 PM
Indirect Sum Joe L. Excel Worksheet Functions 3 January 15th 09 07:15 PM
Use of 'INDIRECT LN Excel Worksheet Functions 1 June 18th 08 04:27 PM
INDEX("a"&COLUMNS(INDIRECT(A1):INDIRECT(A2)):A30,4) Dave F[_2_] Excel Discussion (Misc queries) 3 September 20th 07 08:36 PM
Need help with Indirect Peter Bernadyne Excel Discussion (Misc queries) 2 August 2nd 05 08:58 PM


All times are GMT +1. The time now is 12:21 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"