#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default SUM DATA RANGE

Using the below formula as example, is there another formula I can use where
I do not need to put a ending cell to sumproduct. I know I could just put a
larger number in, but this formula is getting info from another worksheet
that has data entered everyday so it keeps growing. As you can see I have it
ending at 2000 but would like it keep formulating without always needing to
put the ending cell.

=SUMPRODUCT(--(TEXT(Overall!E3:E2000,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,Overall!C3:C2000))))

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUM DATA RANGE

My thoughts would be to just extend the range, but keep it at the smallest
size large enough to cover for say projected data increments over the next
6-12 months? You would need to rough estimate this based on your
circumstances. So possibly, you could extend it to say, row 3000?
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:20,500 Files:365 Subscribers:65
xdemechanik
---
"roy.okinawa" wrote:
Using the below formula as example, is there another formula I can use where
I do not need to put a ending cell to sumproduct. I know I could just put a
larger number in, but this formula is getting info from another worksheet
that has data entered everyday so it keeps growing. As you can see I have it
ending at 2000 but would like it keep formulating without always needing to
put the ending cell.

=SUMPRODUCT(--(TEXT(Overall!E3:E2000,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,Overall!C3:C2000))))

Thanks.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUM DATA RANGE

You can use dynamic ranges.

Is the data in each of the referenced ranges entered in a contiguous block?

If you're able, it's better to use INDEX rather than OFFSET to define
dynamic ranges.

For example:

InsertNameDefine
Name: rng1
Refers to:

=Overall!$E$3:INDEX(Overall!$E$3:$E$65536,COUNTA(O verall!$E$3:$E$65536))

Name: rng2
Refers to:

=Overall!$C$3:INDEX(Overall!$C$3:$C$65536,COUNTA(O verall!$C$3:$C$65536))

Then your formula becomes:

=SUMPRODUCT(--(TEXT(rng1,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,rng2))))


--
Biff
Microsoft Excel MVP


"roy.okinawa" wrote in message
...
Using the below formula as example, is there another formula I can use
where
I do not need to put a ending cell to sumproduct. I know I could just put
a
larger number in, but this formula is getting info from another worksheet
that has data entered everyday so it keeps growing. As you can see I have
it
ending at 2000 but would like it keep formulating without always needing
to
put the ending cell.

=SUMPRODUCT(--(TEXT(Overall!E3:E2000,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,Overall!C3:C2000))))

Thanks.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,766
Default SUM DATA RANGE

Hi,

Highlight C3:E2000 and convert it to a list (Ctrl+L). This will male the
ranges "auto expanding". Whenever you add data in the rows below, the range
would automatically keep expanding in the formula. Please ensure that you
do not leave blank rows, blank columns and blank cells anywhere in the
range.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"roy.okinawa" wrote in message
...
Using the below formula as example, is there another formula I can use
where
I do not need to put a ending cell to sumproduct. I know I could just put
a
larger number in, but this formula is getting info from another worksheet
that has data entered everyday so it keeps growing. As you can see I have
it
ending at 2000 but would like it keep formulating without always needing
to
put the ending cell.

=SUMPRODUCT(--(TEXT(Overall!E3:E2000,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,Overall!C3:C2000))))

Thanks.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default SUM DATA RANGE

Note that the List feature is only available in Excel versions 2003 or
greater.

--
Biff
Microsoft Excel MVP


"Ashish Mathur" wrote in message
...
Hi,

Highlight C3:E2000 and convert it to a list (Ctrl+L). This will male the
ranges "auto expanding". Whenever you add data in the rows below, the
range would automatically keep expanding in the formula. Please ensure
that you do not leave blank rows, blank columns and blank cells anywhere
in the range.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"roy.okinawa" wrote in message
...
Using the below formula as example, is there another formula I can use
where
I do not need to put a ending cell to sumproduct. I know I could just
put a
larger number in, but this formula is getting info from another worksheet
that has data entered everyday so it keeps growing. As you can see I
have it
ending at 2000 but would like it keep formulating without always needing
to
put the ending cell.

=SUMPRODUCT(--(TEXT(Overall!E3:E2000,"mmm/yyyy")=TEXT(C2,"mmm/yyyy")),--(ISNUMBER(SEARCH(A11,Overall!C3:C2000))))

Thanks.




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
When entering data into a range of cells, select the entire range. Q Excel Discussion (Misc queries) 0 September 26th 07 04:36 AM
How do I link data from a horizontal range to a vertical range? davidge Excel Worksheet Functions 3 May 25th 07 08:06 AM
Show Data In Range not appearing in Separate Range Brent E Excel Discussion (Misc queries) 3 April 30th 07 09:32 PM
How do I change a range name back to the underlying data range? Colin Excel Worksheet Functions 1 September 26th 05 05:55 PM
Can I use named range in data range box when creating pie chart? BJackson Charts and Charting in Excel 2 August 17th 05 05:37 PM


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