Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Delia
 
Posts: n/a
Default Lookup and return

How do I write a formula in one worksheet that looks in many other worksheets
and returns the sum of all the values in the last-used cells in a certain
column?
  #2   Report Post  
Harlan Grove
 
Posts: n/a
Default

Delia wrote...
How do I write a formula in one worksheet that looks in many other worksheets
and returns the sum of all the values in the last-used cells in a certain
column?


If these columns had no blank cells from row 1 to the last row with
data, you could try something like

=SUMPRODUCT(N(INDIRECT("'"&{"Sheet2";"Sheet3";"She et4"}&"'!A"
&COUNTIF(INDIRECT("'"&{"Sheet2";"Sheet3";"Sheet4"} &"'!A:A"),"<"))))

You can adapt this for known numbers of blank cells in the column in
question, but a general solution with varying numbers of blank cells
would require formulas in multiple cells to produce this one result or
VBA.

  #3   Report Post  
Delia
 
Posts: n/a
Default

Thank you!

"Delia" wrote:

How do I write a formula in one worksheet that looks in many other worksheets
and returns the sum of all the values in the last-used cells in a certain
column?

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
lookup and return range of cells ark Excel Worksheet Functions 3 August 6th 05 05:18 PM
Return cell contents based on conditional lookup jarviscars Excel Worksheet Functions 15 August 5th 05 08:05 AM
Return cell reference of lookup value bobm Excel Worksheet Functions 3 July 7th 05 08:49 AM
Lookup with multiple value return Mike Quinn, SrA, USAF Excel Worksheet Functions 2 February 15th 05 05:15 PM
How do I lookup and return different values when the lookup value. kg Excel Discussion (Misc queries) 1 January 20th 05 12:53 AM


All times are GMT +1. The time now is 04:03 PM.

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

About Us

"It's about Microsoft Excel"