LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 20
Default Changing a formula dynamically.

Hi Folks,

Hoping someone can give me some suggestions. I have a workbook, one
worksheet, called 'Summary', is a summary of what is found on the other
sheet, called 'Report1'. Worksheet 'Summary' contains about 50 'sumproduct'
formulas in the format....

=SUMPRODUCT((Report1!$A$2:$A$2572=Sheet1!$B11)*(Re port1!$B$2:$B$2572=Sheet1!M$4),Report1!$L$2:$L$257 2)

Each week this workbook is changed. I paste the new data into the sheet
named Report1 and the formulas on worksheet 'Summary' recalculate on the new
data. Problem is I then have to go and adjust the 50 sumproduct formulas as
the last row of data is different each week. Is there a way to make the
sumproduct formula adjust automatically to the last row of data so it would
look something like...

=SUMPRODUCT((Report1!$A$2:$A$LAST_ROW=Sheet1!$B11) *(Report1!$B$2:$B$LAST_ROW=Sheet1!M$4),Report1!$L$ 2:$L$LAST_ROW)

Thanks in advance for any help.

John
 
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
dynamically changing text color Dave Excel Worksheet Functions 4 May 31st 07 06:38 PM
Dynamically Changing HLOOKUP table PatK Excel Worksheet Functions 4 September 29th 06 03:51 AM
changing selections dynamically [email protected] Excel Discussion (Misc queries) 1 August 22nd 06 04:23 PM
Dynamically changing the size of a list [email protected] Excel Discussion (Misc queries) 2 July 1st 06 04:56 AM
Dynamically changing several pivot tables at once Jason Excel Discussion (Misc queries) 3 December 16th 05 03:50 PM


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