Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default increasing an arguement

I am using a sumproduct function to to get # of occurances of two specific
number combinations. This is the function I have implemented
=SUMPRODUCT(--($AL$9:$AL$2622=11),--($AM$9:$AM$2622=1)) and I do not how to
set up the arguements to increase when I drag the function into other cells.
Any help would be appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default increasing an arguement

Try using the ROW or COLUMN functions. For example, if your original formula
is placed in cell A9, and you want to copy downward, then write your formula
like this:

=SUMPRODUCT(--($AL$9:$AL$2622=ROW()+2),--($AM$9:$AM$2622=ROW()-8))

If you want to copy across rather than down, use COLUMN instead.

HTH,
Elkar


"paul/bones" wrote:

I am using a sumproduct function to to get # of occurances of two specific
number combinations. This is the function I have implemented
=SUMPRODUCT(--($AL$9:$AL$2622=11),--($AM$9:$AM$2622=1)) and I do not how to
set up the arguements to increase when I drag the function into other cells.
Any help would be appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default increasing an arguement

What do you want to increase and with how much?

If you replace 11 with ROWS($A$1:A11)
then when you copy the formula down it will return
11
12
13
and so on, same with 1

ROWS($A$1:A1)

copied down will return

1
2
3
etc

Regards,

Peo Sjoblom
"paul/bones" wrote in message
...
I am using a sumproduct function to to get # of occurances of two specific
number combinations. This is the function I have implemented
=SUMPRODUCT(--($AL$9:$AL$2622=11),--($AM$9:$AM$2622=1)) and I do not how
to
set up the arguements to increase when I drag the function into other
cells.
Any help would be appreciated.



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
Two VLookups in one arguement Matt Excel Worksheet Functions 4 February 2nd 07 07:29 PM
RIGHT Arguement? Saxman Excel Discussion (Misc queries) 10 December 20th 06 12:35 PM
Dynamic Graph Arguement phnar Charts and Charting in Excel 2 August 16th 05 05:25 PM
Increasing M in M/D/Y Bill45 Excel Discussion (Misc queries) 2 May 19th 05 06:32 PM
More than 7 IF statements in one arguement smithers2002 Excel Worksheet Functions 9 April 21st 05 01:59 PM


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