Formula Guidance Requested

Folks,

I'm baffled as to which formulas to use to perform these calculations:

I have a sheet with three columns:
A = Customer Number
B = Number of Users
C = Total Monthly Fee
There are 700+ rows of data.

The values in A will range from 1-500.

I've created a table on another sheet that segments the above data into 
groups that I assign. The table looks like this:

B = Group (Alpha identifier for group)
C = starting number in range (ex. 1)
E = ending number in range (ex. 3)
This table has 9 rows (6:14) with each row representing a different range 
(ex. 1-3, 4-6, 7-10, 11-25, etc.)

F =   the array formula below which counts the number of customers in the 
first sheet that have a user count within the specified range.

=COUNTIF(SHEET1!$B$3:$B$702,">="&C6:C14)-COUNTIF(SHEET1!$B$3:$B$702,">"&E6:E14)
This formula works great.

However, I want to be able to determine average, min, and max of the data in 
sheet 1 (column C) for the user count range specified in the table I 
created.

How do I go about calculating this?

Thanks in advance.

David 


0
dlipetz1 (95)
8/23/2006 8:03:03 PM
excel 39879 articles. 2 followers. Follow

1 Replies
475 Views

Similar Articles

[PageSpeed] 13

MAX is

=MAX(IF((Sheet1!$B$3:$B$702>=C6)*(Sheet1!$B$3:$B$702<=E6),Sheet1!$C$3:$C$702
))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

assuming that I am counting and testing the correct data.

Average and Min work the same principle.

-- 
 HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"David Lipetz" <dlipetz@hotmail.com> wrote in message
news:egnkl8uxGHA.4232@TK2MSFTNGP05.phx.gbl...
> Folks,
>
> I'm baffled as to which formulas to use to perform these calculations:
>
> I have a sheet with three columns:
> A = Customer Number
> B = Number of Users
> C = Total Monthly Fee
> There are 700+ rows of data.
>
> The values in A will range from 1-500.
>
> I've created a table on another sheet that segments the above data into
> groups that I assign. The table looks like this:
>
> B = Group (Alpha identifier for group)
> C = starting number in range (ex. 1)
> E = ending number in range (ex. 3)
> This table has 9 rows (6:14) with each row representing a different range
> (ex. 1-3, 4-6, 7-10, 11-25, etc.)
>
> F =   the array formula below which counts the number of customers in the
> first sheet that have a user count within the specified range.
>
>
=COUNTIF(SHEET1!$B$3:$B$702,">="&C6:C14)-COUNTIF(SHEET1!$B$3:$B$702,">"&E6:E
14)
> This formula works great.
>
> However, I want to be able to determine average, min, and max of the data
in
> sheet 1 (column C) for the user count range specified in the table I
> created.
>
> How do I go about calculating this?
>
> Thanks in advance.
>
> David
>
>


0
bob.NGs1 (1661)
8/23/2006 10:38:51 PM
Reply:

Similar Artilces:

HELP WITH FORMULA #15
I have 3 columns. C -I=J These columns are continuous and I keep adding amounts to cells in column C and deducting amounts from I column and need to end up with a total in column J. Could someone please help me with a formula that will continually give me a total to column J as I enter information into column C and deducting from column I. -- Thank you in advance for your assistance HankL =SUM(J1:J100) Adjust range of cells to your need....... Vaya con Dios, Chuck, CABGx3 "Hank Laskin" wrote: > I have 3 columns. > C -I=J > These columns are continuous and I ...

Using a formula to fill a field
I am ery new to Access and was wondering, is there anyway to make a field fill automaticaly with a formula? Like in excel for example if you have a fromula on a cell and the arguments change the cell changes. I have a table with a field of invoice amounts and then a table with account info, i want to know if there is a way for the account table (ie: Balance field) to update automaticaly when you add an invoice with that accountID. Access is a relational database. An Access table may look like a spreadsheet, but it is really just a "bucket o' data". No, you can't ad...

Formula needed 01-22-10
Hi I need a formula that will look in one column range for a certain value and for another value in another column range and when they are both found in the same row, will count the number of occurances. Help!!!! Krissy wrote: > Hi > I need a formula that will look in one column range for a certain value and > for another value in another column range and when they are both found in the > same row, will count the number of occurances. Help!!!! http://www.contextures.com/xlFunctions01.html#SumProduct Omit the "values to be summed". =SUMPRODUCT(--(A2...

VBA to select formula cells OK -but want certain cells with ColorI
Using XL 2003 & 97 The following subroutine works. That said, how can I fine formula cells with a "!" in the cell. (In short, probably a cell formula referring to another sheet) With the following code I would like all formula cells set to colorindex 6 (yellow) but all formula cells with "!" set to a color index of 3 (red) I tried to use an If statement but to no avail. Sub SelectFormulaColor() Selection.SpecialCells(xlCellTypeFormulas, 23).Select With Selection.Interior .ColorIndex = 6 .Pattern = xlSolid End With ActiveWindow.Dis...

Numeric content in one cell ( implicit formula ) and the result in another one
Hi, I made some search before, but too much information at the same time. So I post this question: In cell D2 , I have the following content : 10002/(14971213 - 37375) /1000000) In cell E2, I would like to have the result value of data in cell D2 : 669,754 I would not work with "left...len... search... right.." as the format ( then formula ) in cell D2 may change. Is there a function giving the computed result of a cell and put the result in another one? Best regards Pierre In cell E2, will the formula "=D2" do it for you? Or is that too simplistic and I don'...

No transport provider was available for delivery of your request
Can someone tell me what causes the "No transport provider was available for delivery of your request" symptom from Outlook? It seems to have something to do with only CERTAIN people's DESTINATION email-sub-address, and it seems to only happen intermittently (e.g. once every month or two). My ISP is Comcast, though I'm uncertain whether that's relevant. It happened again today, on an email I addressed to 3 people. The full rejection msg was: ------- Your message did not reach some or all of the intended recipients. Subject: It's done Sent: 8/18/2005 9...

request to solve my problem #2
hello friends this is vijay,i got a problem while doing my project based on vc++ (i.e)"How to implement Fit Window feature in VC++6.0 in an MDI Application" if any of you got any idea about that please do reply me with the proceedure.i will be waiting for your reply bye with regards vijayprasadreddy ...

what does it mean -- in formulas
what does this -- sign do in formulas -- Nawaz5 ----------------------------------------------------------------------- Nawaz50's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=3393 View this thread: http://www.excelforum.com/showthread.php?threadid=53714 See http://www.xldynamic.com/source/xld.SUMPRODUCT.html for a detailed explanation. -- HTH Bob Phillips (remove nothere from email address if mailing direct) "Nawaz50" <Nawaz50.26yzbm_1146219908.114@excelforum-nospam.com> wrote in message news:Nawaz50.26yzbm_1146219908.114@excelforum-nosp...

Formula For Monthly Date
Hello, I have a worksheet that has products listed that are on sale at different times of the year. My question is what formula to use to get all Jan products,codes,prices etc on to new worksheet, Feb on another worksheet etc. Thanks Mare Use Autofilter. See: http://www.contextures.com/xlautofilter01.html -- Gary's Student "Mare" wrote: > Hello, > I have a worksheet that has products listed that are on sale at different > times of the year. My question is what formula to use to get all Jan > products,codes,prices etc on to new worksheet, Feb on another works...

formula question #7
Is there a formula that can change the color of cells if revenues drop three months in a row and if so what should the formula be? Hi, Assuming that your data is in row 1, columns A,B,C, with C being the latest data, Try using conditional formatting in cell C1 with the "Formula Is" =IF(AND(C1<B1,B1<A1),1,0) HTH >-----Original Message----- >Is there a formula that can change the color of cells if >revenues drop three months in a row and if so what should >the formula be? >. > Formula only needs =AND(D1<C1,C1<B1,B1<A1) you don't need t...

"IF" Formulae
I'm trying to create a formula causing one of three answers. The object being any one of 0, 1 or >1. I need 0 an >1 to answer "years" and 1 to answer "year". My efforts below. =IF(G8>1,"years","year")*IF(G8<1,"years") My problem is that I can't override the first false conclusion. Any suggestions? Seems to me that you really only have two options (1 or Not 1). Try this: =if(G8=1,"year","years") HTH, Elkar "Libby" wrote: > I'm trying to create a formula causing one of three ...

day of the week and date formula
Hello I am looking to write a formula that gives me the difference in hours between a logged date and time and a closed date and time eg -27/11/2009 09:23:26 and 30/11/2009 10:34:20. Once I have this I need to calculate the working hours used to resolve the issue. If the duration of the time includes a weekend, a saturday would equate to 4 hours working and a sunday would be 0 hours working time, a week day equates to 11.5 hours working. Any suggestions?? Thanks -- Sarah Hi, we need to know what hours during any day are considered working - ie, do all hours...

What formula to use?
I have a list of teams in column B. In a tab called Division I have 6 division names with the teams listed in their respective division. I want column C to enter the appropriate division name for the division the team is in. For example, I want column C to be labelled as AL EAST when column B has BOS in it. How do I do this? Thank you. =INDEX(Division!A:A,MATCH(B1,Division!B:B,0)) etc. -- HTH RP (remove nothere from the email address if mailing direct) "Jambruins" <Jambruins@discussions.microsoft.com> wrote in message news:3100394C-BF57-470D-A218-BCA9C85D8D54@mi...

Formula help #12
Hi All, I'm trying to create a formula but can't work it out. We've decided that were going to class each month from the 20th to the 21st, rather than the 1st of the 1st. So 21/05/05 to 20/06/05 (dd/mm/yy) will all be classed as May, and from 21/06/05 it will be classed as June. I have a list of dates and would like a formula in the column next to it that will work out what month were classing the date in and put the month in an MMM format .i.e May So (dd/mm/yy) (mm) 21/05/05 May 22/05/05 May 20/06/05 May 21/06/05 June 30/06/05 June 21/07/05 Aug I should be able t...

Inserting space in between formulas
I put in a formula to combine a string of words with numbers and would like a space or dash to go in between. How do I do this? =A1 & " " & B1 or =A1 & " - " & B1 Where, A1 = First part of text (or numbers) B1 = Second part of text (or numbers) Substitute A1 / B1 with the relevant cells in your spreadsheet "Mary" wrote: > I put in a formula to combine a string of words with numbers and would like a > space or dash to go in between. How do I do this? Thanks, that worked great! Now I want to delete the column that references that...

Text and Formula in the Same Cell
Good Morning, Everyone - Here's what I'm trying to do: I have a cell that has text - "Vendo Name" - and I also want that cell to contain a formula (counta). I this possible? Thankx, C -- theboatdud ----------------------------------------------------------------------- theboatdude's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1024 View this thread: http://www.excelforum.com/showthread.php?threadid=27525 Here's an example: ="Vendor Name: "&COUNTA(B:B) HTH Jason Atlanta, GA >-----Original Message----- > >Goo...

Logical formulas
I think I got this in the wrong Discussion group. I put it General Discussion before but I think it belongs here. Original Message below: I must admit. I am horrible at logical functions. I am trying to compose a formula that will return a value of "1" if number is greater than 1, less than 4, greater than 949, and less than 991. Here is what I have now but it is not working: =IF(AND(G7>0,G7<4,G7>949,G7<991),1,0) Any help would be awesome! -- -CRM Try this: =IF(OR(AND(G7>0,G7<4),AND(G7>949,G7<991)),1,0) Does that help? ------------------------...

Help with copying formula
Hi I run Excel 2K I have typed the following formulas in three consecutive cells. =SUM('DRO BY SHIFT'!Z10:Z12)+BP10 =SUM('DRO BY SHIFT'!Z13:Z15)+BP11 =SUM('DRO BY SHIFT'!Z16:Z18)+BP12 You will note that the Z colum ranges take in 3 cells each time. The problem is that when I drag or copy these formulas down the column I dont get the reltive ranges that I need. That is the next one down should read =SUM('DRO BY SHIFT'!Z19:Z21)+BP13 However I get =SUM('DRO BY SHIFT'!Z17:Z19)+BP13 How can I write the formula so that when I drag it down it maintai...

What is procedure to exit formula auditing mode?
Please advise. Thanks, Doug To remove the arrows ? <Alt> <T> <U> <A> Not really a shortcut though. -- HTH, RD ============================================== Please keep all correspondence within the Group, so all may benefit! ============================================== "W8" <W8@discussions.microsoft.com> wrote in message news:99B64142-8037-43F4-BDB1-AF7170EF54EC@microsoft.com... Please advise. Thanks, Doug Type Ctrl+` (Grave Accent) to toggle formula auditing mode on/off or go to Tools>Formula Auditing>Formula Auditing Mode. HTH |:&g...

array formula Excel 97 (Poker)
Cells A1:A7 each contain a random integer from 1 to 13, with possibl repetitions. I have been trying to create a single formula that will test, for cel A1, for the presence of each of the next lowest four numbers in th range A!:A7 So if A1 contains 9, I would like the formula to return 1 if and onl if 8,7,6,and 5 all occur in the range somewhere, and return otherwise. This is tantamount to testing whether seven cards contain a five car straight headed by the card in A1. I just can't get the right combination of array or sumproduct to d it. I just know ther must be one........... Bil...

Conditional Formatting VBA with formula to find string
Hi, Please can I get some help.... I need to create a conditional format VBA in Excel 2007 (because I have many conditions to include) and I don't know how to do it... The Action Required: If Product A appears in any text string in range($C$95:$C$300) then colour that cell RED, if Product B appears anywhere in a text string within range($C$95:$C$300) then colour that cell BLUE, if Product B appears anywhere in a text string within range($C$95:$C$300) then colour that cell GREEN, and so on through 41 products... Data - I have a list of about 41 Product names in range Z...

copying formulas #3
This is probably a simple question for most of you, but I have an exce file that contains approx. 400 sheets, with a summary sheet. How do copy a simple formula to read Cell B1, but the next sheet needs to rea Cell B2 and so on. Example: Sheet #1 is the summary, then sheets 2-40 have a title taken from the summary, so if I do a typical copy formula it keeps reading Cell B1. Hope my question is clear!!! Thanks -- Ladkin ----------------------------------------------------------------------- Ladkins's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=3252 View t...

Help Creating Excel Formula
Hello All, I'm having a hard time creating a formula to collect data for work. Here is what I'm looking to do: To explain I will use cells A1, A2, A3 & A4. To start cells A1 & A4 are empty and cells A2 & A3 have values. Now when a value is added to cell A1 sum cells A2 & A3 to cell A4. When the value in cell A1 increses add cell A3 to the amount currently in cell A4 and so on (see below). A1 A2 A3 A4 7200 600 A1 A2 A3 A4 1 7200 600 7800 A1 A2 A3 A4 2 7200 600 8400 A1 A2 A3 A4 3 7200 600 9000 I have been racking my head trying to figure...

formula to add a number to a long string **
I'm not quite sure how to best describe this: I need a formula that will take the example below and return the "final result" Col. A = 24.43.234.555 and Col B= 23 making Final Result = 24.43.234.578 Is there a way to do this? This seems to work: =LEFT(A1,LEN(A1)-3)&(RIGHT(TEXT(A1,"0"),3))+23 HTH, Ryan--- -- Ryan--- If this information was helpful, please indicate this by clicking ''Yes''. "MMangen" wrote: > I'm not quite sure how to best describe this: > > I need a formula that will take the e...

Even Distribution Formula
Say I have 120 bowling players, their id_number in col_a, they all have different skill level, indicated by his avg_score in col_b I need to allot them into n teams (say 15), of equivalent strength on the TEAM level so no team ends up with mostly high-scorers and vic-versa. I'm not sure the title is right. How do you call this ? And does Excel 2003 has a formula foir this ? thanks! ID AVG_SCORE TEAM_NUMBER -------- ---------------- -------------------- 1 287 2 103 3 139 4 100 5 243 6 207 ...