# Sum Product Formula Between Two Dates

Jul 18, 2014
I currently have a formula that totals a product between two dates, however I need to add up a reason code for that product also in a different tab. My current formula is

=SUMPRODUCT(--('Product'!$A$2:$A$1069=B6), --('Product'!$B$2:$B$1069=Data!$A$1))

I want to add another section so that it looks at the dates between C6 & B6 and also the product in Data A1 but totals the reason from cell C10 in the data worksheet.

View 1 Replies
ADVERTISEMENT
Sep 30, 2009

I am trying to use a PRODUCT formula to return the product of a list of numbers in a column, between 2 specified dates. The spreadsheet is arranged as follows:

Column BA list of dates

Column C & DNumerical data not used in any calculations

Column EThe numbers to multiply together

Cell A1Start date to be used in the PRODUCTformula

Cell A2End date to be used in the PRODUCT formula

The formula I have to multiply the data in column E, subject to the start and end dates in Column A is:

{=PRODUCT(IF(B15:B1000>A1,IF(B15:B1000<=A2,INDEX(B15:E1000,0,4))))}

This returns zero though works appropriately if I replace “PRODUCT” with a “SUM”.

View 2 Replies
View Related
Apr 30, 2014

I have a double-reference formula, that refers to an assumptions table. The table would be referenced based on a) the product name, and b) the year of the month that is being evaluated. For example, If I want the formula to reference the assumption for Product B in January 2015, then I would like to pull the Product B assumptions from the 2015 assumption list.

View 2 Replies
View Related
Dec 24, 2008

I'm working on a order spreadsheet system, and I have one sheet called Product Details, where the product name, list price and product code are found, these link to the Sales order page, and I need them so that they can be added to.

So far, I have created a dynamic named range for the Product name on the Product details sheet, and linked the the range via a list validation on the Sales order sheet.

The drop down list displays the products and can be added to by typing new product names on the other sheet.

What I need now is that when a product on the sales order page is selected, it draws the the list price and product code data automatically from the sheet, I tried using a normal vlookup, but I couldn't get it to work. I also need the list price and product code columns to be 'dynamic' so new values can be added further along.

View 5 Replies
View Related
Jan 30, 2014

I would like to have a Macro to go from the first tab called "Start" and end up with the second tab "End" automatically. BAsically I need to take the product on each line under Tab Start and reproduce it for sizes 35-41 always ending with "-(size)". Then this new Product with Size needs to be multiplied one below the other for as many times as I have pictures (number shown under column B of the tab Start). Next to this value in column B of tab End I'd like the same name listed again but with the number 1, then 2, then 3, etc. as needed and the extension .jpg.

View 4 Replies
View Related
Mar 26, 2008

I have a Sumproduct formula that should be resulting in 0. However, it is resulting in a very small number. I have 2 columns of data. The first one contains -169.5, -123.4, -34, -67.4, 169.5, 123.4, 34, and 67.4. The second column contains all 1's. When I create the following formula, =SUMPRODUCT(H27:H35,J27:J35), it results in 5.68434E-14.

Sometimes, when I have different numbers in the first column, but it still adds up to 0, the Sumproduct works.

View 12 Replies
View Related
Aug 29, 2008

What I need to do is count the number of cases and values of everything written between the first of January and today (242).

I know how to do it by counting the days from the 1st of Jan to today but how can I do it so it automatically updates each day.

This is what I have at the moment.

The product name is in K, the date is in H and the value is in M. The range is from cell 7 to cell 94

=SUMPRODUCT(--($K$7:$K$94="Pension"),--($H$7:$H$94<=TODAY()),--($H$7:$H$94>=TODAY()-242),$M$7:$M$94)

View 9 Replies
View Related
Jan 27, 2009

The following formula takes a census of people in our area by date and by hour (sample data attached): =SUMPRODUCT(--(FLOOR(Data!$B$4:$B$39,1/24)<=$B2+C$1)*(Data!$C$4:$C$39>=$B2+C$1))

The formula works great, but I would like to add another component whereby the census will only count someone if they have a certain description (see column A - with color descriptions). So how can I setup the formula, to say, only look at the "red" colors during the same specified dates/times and give me the same type of census...instead of looking at all of the data or creating 50 different ranges for all the colors?

View 2 Replies
View Related
Sep 29, 2009

I'm trying to do what I think its a simple formula with Excel 03 but can't get it to work. The info is in two work sheets - A&B.

[code]WORKSHEET A WORKSHEET B

A COLUMN 1 COLUMN 2 COLUMN 3 COLUMN1 COLUMN 2

B BLANK BLANK 10 BLANK DATE:1/28/09

C NAME DATE WORKED 12 NAME

D Jones 1/2/09 13 Bell

E Smith 1/6/09 12 Smith

F Cox 1/28/09 12 Cox

G Cox 1/28/09 10 Collins

H Collins 1/28/09 11 Jones

In worksheet B, Column 2, I need to pull the SUM of COLUMN 3 IF THE NAMES IN BOTH MATCH AND THE DATES MATCH

I've spent hours tyring to get this thing done!

View 11 Replies
View Related
Aug 31, 2012

I am stumped on coming up with a dynamic formula that calculates a value based on an increasing number of "sums of products". Specifically, I need to calculate the total number of repeat users based on a "decaying' repeat rate. In other words, I need it to calculate = Sum[... +(d5*f5)+(d4*g4)+(d3*h3)]

or in equation form:

where

n = (1, "infinity")

and

i = {1, 2, ... (n-1)}

with

"Xn" is the calculated value of repeat users for month "n" (output/result cell)

"mi" is the number of new users (in month i)

"Nn-i" is the column 'number' of the repeat rate value (%) multiplier

Here is a screenshot of the first couple rows to illustrate:

I actually have about 70 months of data (rows) and roughly the same amount of columns representing a decaying repeat rate (70 or so) and these will be increasing as time goes on so I need this formula to be dynamic (i.e. - copy it down the column of (# of repeat users)

I am using Excel for Mac 2011.

View 9 Replies
View Related
Mar 10, 2014

See attached spreadsheet. I am trying to create one formula that will take the product of numbers in column B based on criteria in column A (want the product of %s in each year). Product if formula.xlsx

View 7 Replies
View Related
Feb 20, 2009

i need to look up a product based on the number and the qty. see the example attached.

On tab "Printer - S" 1 need to lokup the costs based on the product code 8 and the qty 100. How do i do this and make it adjustable for any range of priduct codes and qtys. Again, becuase this will be used on a Mac Office, i cannot use macros.

View 4 Replies
View Related
Jun 11, 2014

My problem is a little more complex than sumproduct.

I have a ratings column and exposure column. I want to weight those ratings before doing a sumproduct, at the same time ignoring #value.

In the attached file, I want to achieve the green cell in one go, based on the orange raw data.

Attached File : Weight Data.xlsxâ€Ž

View 2 Replies
View Related
Jan 5, 2014

How to solve my problem in attached file : Week Product Level Count.xlsx

View 1 Replies
View Related
Jan 21, 2014

Basically I have in the first column, different products (lets call them a, b,c and d). in the second column is a counter which starts at 1 and continues counting down the column.

In the third column I need to identify if it is the last time the product has been run. i.e there are no more duplicates of product a further down the 1st column.

I have attached an example : example.xlsmâ€Ž

View 2 Replies
View Related
Jun 15, 2009

I'm trying to get a cell {in the attached spreadsheet 'Order Form' Sheet- Cell 'B13'}, to bring up the corresponding product description {'Products' Sheet- Column C}. For the cell that is to bring up the product description {'Order Form' Sheet- Cell 'C13'}, the following is the formula I'm trying to use, but is coming up "#N/A":

=IF(C13>1000,VLOOKUP(A13,Products!$A$2:$D$12,3),IF(C13>287,VLOOKUP(A13,Products!$A$14:$D$25,3),IF(C1 3>0,VLOOKUP(A13,Products!$A$28:$D$38,3)," "))).

I haven't attempted the "Cost/Bottle" formula yet {'Order Form' Sheet- Cell 'D13'}, but it needs to correspond the product number {'Order Form' Sheet- Cell 'A13'} and the quantity ordered {'Order Form' Sheet- Cell 'C13'}, with the cost/bottle on the that quantity found on 'Products' Sheet, Column D.

View 5 Replies
View Related
Jul 16, 2006

In the first sheet I have two columns, one for the product_id and one for the name of the product. So the Sheet1 is like a small database. The second sheet is for the orders.What I want is when I type the product id in the A column of the orders sheet(Sheet2) to auto insert the product name in the B column so i dont have to write it every time.

View 2 Replies
View Related
Oct 7, 2008

Is there a simpler way to to the calculations on the spreedsheet i have attached?

Basically I want to count up the components used to make one product

View 14 Replies
View Related
Apr 18, 2008

I'm trying to set a cell on one sheet to be equal to the product of two cells on another sheet. The problem is that one of the cells on the other page is dependent on the variable T. This is what I've got and it's giving me errors

Worksheets("Output").Range("K14").Formula = "Worksheets("Calcs").Range("D17")*worksheets("Calcs").Range("D17").Offset(10+T,0)"

When I record a macro it gives me this, but again, I need the last cell in terms of "T"

ActiveCell.FormulaR1C1 = "=Calcs!R[3]C[-7]*Calcs!R[14]C[-7]"

View 3 Replies
View Related
Feb 3, 2009

I'm trying to create a supply order form. Is it possible to enter a product name in one cell and have the price for that product automatically appear in another cell? Is there a formula that I can use to make this happen?

View 2 Replies
View Related
Jan 22, 2014

I have a tracking template with a column listing dates, all i want to do is find all the missing dates from that column of dates.

Example:

Column A

1-May

2-May

4-May

5-May

7-May

8-May

10-May

11-May

12-May

14-May

15-May

I want to list the missing dates from this list.

View 4 Replies
View Related
Dec 9, 2013

I have attached an excel sheet for your reference. I have particular debit values that are to be added between the dates. And Dates are also derived by formula based of payment term.

The ones I need to modify is Highlighted in Yellow. The values to be added is in "Customer Statement" and in H Column

These dates also have formula by which there are derived

-------------------------Current Ageing-------------------------

Date Range

Bucket

Amount

Percent

Start Date

End Date[code].....

I am USing =SUMIFS('Customer Statement'!$A:$A,'Customer Statement'!$H:$H,"=" & E11) but does not work.

View 9 Replies
View Related
Jan 7, 2010

I have a report which has a list of customers, each customer has 24 columns which represent the payment history over 24 months. If a payment has been made for that month the date and time (formatted correctly) will be populated in this cell.

Each customer has a product name attached to it so a product can appear several times. I need is a formula that shows the total payments recieved for a particular month for a particular product. For example.

I have managed to create the following flag which works a treat, it picks up a date an account was set up but looks at 1 column.

View 2 Replies
View Related
Dec 7, 2013

I want to numerically graph in a 2D stacked column graph the following:

Training Completed on "Time"

Training Completed but "Not on Time"

Training Not Completed

The training Due date was 10/30/2013.

Book1.xlsx

View 6 Replies
View Related
May 12, 2009

I have a large dataset (24000 rows) that requires me to multiply two different columns of integers. In some cases, the two integers are both negative and multiplying them results in a product that is positive. I actually need that product to be negative rather than positive. I can't quite seem to figure out the best way to accomplish this.

View 5 Replies
View Related
Oct 7, 2009

i need a formula for which calculate all cell (calculating years months and days formula). FIND ATTACHED .xls file i need a answer in cell highlited in yellow color.

View 3 Replies
View Related
Jul 22, 2009

In column B is a list of dates, which are broken out by fiscal year (FY=7/1/ to 6/30). Column C is a list of dollar amounts. Cell F3 is the query ‘start date’

Cell F4 is today's date, which will be the formula: =today()

Using a date range of F3:F4, I'm trying to get each cell bordered in red to query the dates in column B for each FY; then display the matching sum from column C.

For illustrative purposes I went and manually determined what the values should be displaying as of 7/22. Here are a couple of examples of how I am trying to get the formula to work.

Example 1

FY’08:

Start date- 7/1

End date- 7/22

Searching cells B1:B94, cells B1:B13 fall within the start and end date parameters listed above. Sum of cells C1:C13 is $45,112.00, which should display in cell F6.

Example 2

FY’09:

Start date- 7/1

End date- 12/13

Searching cells B95:B222, cells B95:B149 fall within the start and end date parameters listed above. Sum of cells C95:C149 is $150,873.03, which F7 should display in cell F7. How to I type up this formula; its way more challenging that I first thought!

View 5 Replies
View Related
Apr 1, 2012

This formula calculates a price based on a range dates in cells B14 and B15 and works well with one exception it doesn't look at the dates as a range. I need it to work the way it is IF the dates are between October 1 and May 31 and I need it to work differently if the dates are between June 1 and September 30 where the prices are 1000 and 200 respectively, instead of 1250 and 250.

Code:

=SUM(INT((B15-B14)/7)*1250,MOD(B15-B14,7)*250)

View 6 Replies
View Related
Aug 24, 2007

I'm trying to write a simple formula that is an IF, BETWEEN, THEN statement about dates.

I want the formula to read:

If Date1 is greater than Date2 and less than Date3, then Date1.

If Date1 > Date2 < Date3, Date1

View 9 Replies
View Related
Aug 11, 2014

Is there a way to calculate an age based on Date of birth and current date?

View 3 Replies
View Related