LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Formula ranges

One way:

A1 = 50
B1 = 200

=SUMPRODUCT(--(WEEKDAY(INDIRECT("A"&A$1&":A"&B$1))=1),INDIRECT(" H"&A$1&":H"&B$1))

Note that this makes the range absolute.

Biff

"Metolius Dad" wrote in message
...
Dear Wizards,

I've got lots and lots of rows of data.
I've got a grid of a hundred or so formulas that look similar to the
following:
=SUMPRODUCT((WEEKDAY($A$28:$A$393)=1)*(H$28:H$393) )
While the formulas are not all identical, the nice thing is that they all
look at the same NUMERIC component of the range i.e. 28,393.

I'd like to periodically look at different ranges with these formulas. Is
there a way I can just put the range numbers in a couple of cells and have
all of my formulas change the scope of the data they're looking at i.e. 50
in
one cell and 200 in another cell woould change the formulas to look like:
=SUMPRODUCT((WEEKDAY($A$50:$A$200)=1)*(H$50:H$200) )

TIA for your help!
Sam



 
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
formula using multiple ranges Mark Excel Discussion (Misc queries) 8 May 25th 06 03:32 PM
Formula with ranges Manos Excel Worksheet Functions 3 May 23rd 06 10:41 AM
Different ranges in formula Jan Excel Worksheet Functions 6 March 29th 06 06:45 PM
formula that compares different ranges sir Lancelot Excel Worksheet Functions 2 November 13th 05 08:13 PM
how do i add different cell ranges using a formula Norman K via OfficeKB.com Excel Worksheet Functions 2 September 22nd 05 10:25 AM


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