Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Multiple Critiera Sum Array - One critiera to be between two numbers

I have a report that uses the following formula to sum up a large
series of data in a standard report. The data entered needs to be
exact but I have just had a person ask for a sum between a certain
range and I'm having troubles trying to figure it out using a modified
version below.

{=SUM((act.ccb=VALUE('BA Report with budget'!
BCostCentre))*(act.ccc=VALUE('BA Report with budget'!
$C272))*(act.ccd=VALUE('BA Report with budget'!BFund))*(act.act))}

Logically, I want to be able to modify where
"act.ccb=VALUE(BCostCentre)" to something like .....
"acct.ccb=BETWEEN(BCostCentre1,BCostCentre2)" and it will sum up the
data between that specific range.

Would this be at all possible?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 896
Default Multiple Critiera Sum Array - One critiera to be between twonumbers


(acct.ccb=<BCostCentre1)*(acct.ccb=BCostCentre2)

hope you replaced "act" with "acct" deliberately

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Multiple Critiera Sum Array - One critiera to be between twonumbers

On Jul 16, 2:47*pm, Jarek Kujawa wrote:
(acct.ccb=<BCostCentre1)*(acct.ccb=BCostCentre2)

hope you replaced "act" with "acct" deliberately


This isn't working - an example below...

=SUM((act.ccb=VALUE(C7))*(act.ccd=VALUE(rep.fund)) *(act.ccc<VALUE(sal..start))*(act.cccVALUE(sal.en d))*(act.eb))

When I remove the act.ccc< and act.ccc the formula works but with
this in, it's not working.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 60
Default Multiple Critiera Sum Array - One critiera to be between twonumbers

I ended up using a "select case" function in VBA to determine which
category in would be in.
It made life so much easier!

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
Summing based on various critiera NeedHelpFast Excel Worksheet Functions 13 March 23rd 08 04:24 PM
How do I add multiple values in an array based on multiple hits? Steve in Columbia Excel Discussion (Misc queries) 12 September 10th 07 01:14 AM
Array: Counting multiple values within array Trilux_nogo Excel Worksheet Functions 4 April 16th 07 03:12 AM
Countif With Critiera JR573PUTT Excel Discussion (Misc queries) 4 February 15th 06 07:08 PM
average of kth largest numbers in an array of n numbers georgeb Excel Worksheet Functions 6 September 5th 05 05:57 AM


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