LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 391
Default Resize Sumif formula parameters for added data

Roger, I like your idea - use of Index().

Index is an XL function. What is the comparable VBA function?

"Roger Govier" wrote:

Hi

you could set up some dynamic ranges.
You say you have a variable which gives the last row number. Lets say
this is held in cell A1
InsertNameDefine
Name rngA
Refers to =$A$68:INDEX($A:$A,$A$1)
Name rngD
Refers to =$D$68:INDEX($D:$D,$A$1)

then
=SUMIF(rngA,A2,rngD)

 
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
Leaving a formula cell blank when data has not yet been added. SarahN Excel Discussion (Misc queries) 5 May 21st 10 04:24 AM
Formula needed: argument changes as more data is added BK Excel Worksheet Functions 9 March 12th 09 02:24 AM
Array in formula Vlookup changes when data list is added to Wileyb Excel Worksheet Functions 4 March 23rd 08 05:56 PM
Parameters of SUMIF in VBA mdalamers via OfficeKB.com Excel Programming 2 March 7th 07 11:56 PM
When I click buttons I have added the font or button resize, Why? Chris Excel Discussion (Misc queries) 2 October 26th 05 10:31 PM


All times are GMT +1. The time now is 11:19 AM.

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"