Divide The Output By The Number Of Members Used In The Calculation?

Apr 10, 2014

I have a sumproduct formula, I am trying to divide the output by the number of members used in the calculation:

This is my data set

4/10/2014102.6214/10/201499.5144/8/2014106.144/8/2014105.4
4/9/2014102.3284/9/201499.3864/2/2014105.8734/7/2014103.6
4/8/2014102.0884/8/201498.7953/17/2014105.5864/3/2014103.95

my sumproduct function is adding up all items that fall on that date which is fine, but i would love to calculate an average so divide by the number of items that were used in the calculation, is that possible?

=SUMPRODUCT(--(A1:G9=A11),(B1:H9))

View 3 Replies


ADVERTISEMENT

Counting And Lookups (count The Number Of Team Members Listed Under That Supervisor)

Feb 22, 2010

I have roster that has 12 teams on it, each team has their own column with the supervisors name in the first row. I want to look up the supervisor and count the number of team members listed under that supervisor.

View 4 Replies View Related

Automate Calculation Of Output Based On User Input

Nov 2, 2009

What I am trying to do is get the ROW 13 and ROW 18 outputs depending on inputs in ROW 2 to 5. Inputs in ROW 2 to 5 can have any value in any year. I would like to perform the calculations if the value in column U is 2 (if 1 then no action required)

I don't need ROW 10, 11, 12 separately if that is easier ...I am interested in getting the ROW 13 basically.

View 6 Replies View Related

Running Calculation X Times With Changing Inputs And Placing Of Output Into Cells

Jan 28, 2014

I have a cell in sheet1 (say, B2) in which I can key a date. Once I change that date, cell C10 updates (after I hit F9 to recalculate) with a new number based on the new date.

I have a list of dates on another sheet, from 1/1/2009 to 12/31/2013, all in column B. I want to produce VBA code that will run through each day, 1/1/2009 to 12/31/2009, in sheet1 cell B2 and take the output in C10 and place it next to each day in column B until it reaches the end (12/31/2013). I know this is possible but for some reason am having trouble coming up with the right looping mechanism.

You can imagine if I had to manually key in each day to get the desired output how tedious that would be.

View 3 Replies View Related

Divide Number Cell By A Set Or Fixed Number

Jul 9, 2008

I am wondering if it is possible to create a formula in a cell that will divide whatever number is entered into that cell by a set or fixed number.

ie. I enter the number 9 in the cell and when I press enter, the 9 is instantly divided by 15 and the answer is displayed in the cell where I just typed the 9.

View 14 Replies View Related

Number Formatting: Enter A Number It Seems To Divide It By 100

Nov 28, 2008

I having a bit of trouble entering numbers in Excel, every time I try to enter a number it seems to divide it by 100. For example : - 1 entered in to a cell becomes 0.01, 100 becomes 1....etc. I've tried formatting the cells and had no luck, tried Tool>Options but not sure where to look.

View 2 Replies View Related

Function 2 Divide A Number (ie $1.00) By % (ie 25%) To = ($4.00)?

Sep 6, 2005

=1/25%

is it that you want a UDF

Function MyFun(a,b)
MyFun = a / b
End Function

Usage:
=MyFun(1, 25%)

Mangesh

"Gonecoastal1" <Gonecoastal1@discussions.microsoft.com> wrote in message
news:B257DADD-0042-4CF8-88DF-1D17AEAFF627@microsoft.com...

View 14 Replies View Related

Divide Only With Number Of Cells With Value>0

Aug 27, 2009

I really struggle with the following scenario:

A1=5 B1=4 C1=0 D1=0 E1=5

What I want to do is to divide the sum of those cells with the number of cells with a value > 0 (but all cells must be controlled to check if the value > 0).

In real life it's easy to see that I want to do 14/3 (A1>0, B1>0 and E1>0 equals three cells), but how to write this formula in Excel?

View 3 Replies View Related

How To Divide An Array With A Number In VBA

Apr 4, 2009

I have an array in my code and I need to divide each elements of the array with a constant.

View 9 Replies View Related

Divide Cell By X If Number Is Greater?

Mar 10, 2014

I have a lot of cells containing numbers. Some numbers are small, some are big.

I want to divide all numbers which are greater than 300 by 1000.

IF cell A2 > 300 THEN divide by 1000.

How to do that? Is it possible to convert value in the same cell like using conditional formatting principle?

View 7 Replies View Related

Divide A Sum By Number If Items In List

Oct 2, 2008

I basically have lots of lists of 12 cells. how ever some of those lists contain errors (e.g instead of having 12 numbers it will only have 10)

so instead of doing =sum(a1:a12)/12 i want to divide by the amount of numbers in that area in this case 10 so i can get an average.

View 3 Replies View Related

How To Add 2 Groups Of Cells And Divide Number By 60

Feb 6, 2014

I am trying to add 2 groups of cells and then divide the number by 60?

I can't get it to divide? It will only total.

=SUM(T807:T832)+SUM(T837:T846)/60

View 2 Replies View Related

Add Two Numbers And Divide The Result By Another Number

Oct 5, 2007

I have a simple formula that adds two numbers and divide the result by another number

K1: SUM(E1,F1) / H1
K2: SUM(E2,F2) / H2
K3: SUM(E3,F3) / H3
K4: SUM(E4,F4) / H4
K5: SUM(E5,F5) / H5

etc, etc

and then I average the results

AVERAGE(K1:K5)

etc, etc

When H1, H2, H3, etc is 0, it generates a #DIV/0! (since you cannot divide by 0)

I want a formula that I everytime a H1, H2, H3, etc is 0, I want to set it to a specific number H1, H2, H3, etc to 15.00

For example:

IF (H1 = 0, 15.00, sum(E1,F1) / H1)

If the number provided (H1) is 0, set it to 15.00, otherwise add the two numbers (E1, F1), and divide this result by the number provided (H1)

But this is where the problem is:

In every single cell that I have NOT yet provided information, it treats the BLANK cells as if it was 0, and has set every single cell to 15.00.

View 9 Replies View Related

Formula To Divide Number And Format If Greater Than 100?

Feb 10, 2014

I need a formula that will divide a number and if the answer is greater than a 100 then blank.

i've been using this =IFERROR(SUM(H4/C4,"",IF(K4>100,""))) but no luck.

View 6 Replies View Related

Divide An Number Of Jobs Without Ending Up With Decimals

Apr 2, 2009

I'm trying to create a formula which will allow me to do the following

1. Enter the number of jobs received
2. Divide it by the staff available without ending up with decimals.

As an example. Say I have 60 jobs to be allocated and there are 13 peeps to distribute them to I'm currently getting 4.62. What I need to do is make sure that the jobs are only issued as whole numbers. E.g 5 peeps gets 4 and 8 get 5. I also need to factor in jobs on hand etc but I have already cracked this.

View 2 Replies View Related

Divide Cost Over A Number Of Years At Different Frequencies?

May 31, 2013

I have 4 columns labelled 1st Year, Frequency, Spread and cost. then I have columns spanning upto 30 they represent years but can be labelled as 1 to 30. My challenge is that I want a formula/function/macro that depending on what I type in the first 4 columns it will populate the remaining 30 columns with either cost or 0.

Example: if I had £9,000 at a frequency of 10, starting on the 5th year with a spread of 3.

The cost represents the cost of each frequent. so in the example I would get £3,000 on each of the 5th,6th and 7th years then another £3,000 on the 15th,16th,17th years and finally another £3,000 on the 25th, 26th and 27th years.

what I want to be able to do is have one function/formula that I can paste across all of the year cells. I currently have a formula that can copy the cost at different frequencies but I cant figure the spread out.

=IF($K:$K>0,IF(OR($8:$8=$J:$J,MOD($8:$8-$J:$J,$K:$K)=0),$L:$L,0),0)

where K is frequency
8:8 is year
J is cost

what is the best way to approach this?

View 2 Replies View Related

Divide All Numbers In Pivot Table By Certain Number?

Jun 22, 2012

How could you divide all numbers in a pivot table by a certain number?

View 1 Replies View Related

Divide Cell By The Number Of Populated Cells In A Column

Apr 11, 2014

I have attached a sheet as an example, as i am trying to Divide a cell by the number of populated cells in that column e.g column (A) has a table of 16 but only has 13 populated cells in that column, the sum would be something like this =sum(A18/13. Sometimes the column will have less and at times more populated.

test sum skip blank cells.xlsx‎

View 2 Replies View Related

Count Number Of Rows That Have Numbers And Divide Sum Of Cells

Jun 30, 2009

I have a 52 (one for each week) page workbook. I am trying to average cell J9 for the entire 52 pages. However the information is not added to the cell until the end of the week so week 30-52 all have 0s and should not be counted in the dividing number. Is there a way to have Excel count the number of cells that have a number (not 0) and divide the sum of the cells but that number.

=(WK1!J9+.....WK52!J9) / (counted number of cells not = 0)

View 14 Replies View Related

Summing Whole Numbers Gives Non Whole Number Output

Aug 17, 2013

I have an unusual situation which is best explained by way of an attached example.

In summary adding and subtracting four cells containing integer values outputs an unexpected non-integer value, which should in fact be zero.

The situation is best explained by way of example which I attach to this post : Excel Problem.xlsx

Basically, Cell E1 should be zero.

View 4 Replies View Related

UDF To Output Tax Year Week Number

May 4, 2006

I can retrieve the weeknum of any particular date using =WEEKNUM(x) or =TRUNC(((x-DATE(YEAR(x),1,0))+6)/7)

But I'm looking for a UDF to output the tax year week number where the tax year always starts on 6th April. The std weeknum for 6th of april pretty much varies around week 13 but as it varies I don't ever get a strictly true result by deducting 13 from WEEKNUM().

View 4 Replies View Related

Output Huge Number Of Permutations

Jan 8, 2008

I have several columns of info on my worksheet. I want to output a list of all possible permutations from this worksheet (not the number of permutations but the actual permutations themselves).

View 9 Replies View Related

How To Output Column Letter (not Number) With A Formula

Dec 23, 2009

Is there a function that will output the column letter? For example there's one I know of: =COLUMN(), which outputs column number, but not the letter. And if not, can a formula be written to output it without converting the spreadsheet to R1C1 style or using the lookup function that refers to a separate table within the spreadsheet?

View 3 Replies View Related

Use Vlookup To Output Product Number And Quantities On Separate Sheet

Jun 27, 2013

I am trying to put all my parts with quantities on a seperate sheet called "Parts List" Every time you select a quanity for one of the parts, I want it to pop up on my parts list. This will make it easier to identify the exact parts I want and also the quantity I need. This will be much more convenient then scrolling down my parts list and trying to find the one's with quantities.

I think I need to use a vlookup or even a Macro but I don't know how to go about doing this.

View 1 Replies View Related

How To Make List Of Members By Date

Apr 11, 2014

I have a worksheet with Names in Column A. Date when the person joined in Column B.

On a separate worksheet I want to sort members by the months and year they joined by having all the months in Columns.

View 9 Replies View Related

Assigning Listbox Members To Variable

Jul 3, 2009

I would like to assign listbox members to a public variable (quite the opposite of what you normally do). I receive the error message "type mismatch".


Public MemberLB as Variant
Public Sub ListBoxTest()
n = ListBox_target.ListCount
For iCnt = 1 To n
MemberLB(iCnt) = ListBox_target.List(iCnt - 1)
Next iCnt
End Sub

View 9 Replies View Related

Macro To Print Number Of Copies Equal To Output Of Formula In Specific Cell?

Apr 21, 2014

I can assign a number of copies to print by adjusting ActiveWindow.SelectedSheets.PrintOut Copies:= , but what I want it to have the number of copies auto adjust to the value of a cell that contains a formula. I was hoping it would something as simple as Copies:=cell but no luck...

View 2 Replies View Related

Combinations Of Subtraction Between Members Of Same Subgroup In Several Groups

Apr 27, 2014

I have a data that looks like:

1
a
data_1a

1
b
data_1b

1
c
data_1c

[code].....

Is there a way to automatically make all possible combinations of deduction between members of group 1 only then of group 2 only etc? So it would look like:

data_1a-data_1b
data_1a-data_1c
data_1b-data_1c
data_2a-data_2b
data_2a-data_2c
data_2b-data_2c

Combinations between letter indicators but not between number indicators. BTW groups are different in size starting from 2 till 8 members.

View 6 Replies View Related

Track Crew Members Daily Time

Apr 29, 2009

I am trying to make a workbook to track crew members daily time.

I would like to be able to track time by Tag # and by W/O # for daily hour totals.

View 15 Replies View Related

Activate VBA Auto List Members Or Intellisense

Mar 13, 2009

How do I activate the little box in VBA that appears after e.g. '.' (which enables me more quickly to see if I'm writing the correct code)?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved