# Summarizing Function That Will Filter By Product Key And Date

Aug 5, 2014

I created a large table with data (1700 lines long) and am looking to create a sheet that will use it to do a call for totals whilst filtering for a specific line.

This is what I have currently, filtered by delivery date and key ("furniture desc").

The 58 and 54 are totals for that particular product which I would like to ideally see on a separate sheet.

result1.JPG
result 1a.JPG

What I would like to achieve is this: result2.JPG

What kind of formula would I need to use to first filter by date, then by key, then to tally up the quantities and drop them on another sheet?

Bearing in mind that other keys are intertwined on the Y axis so I can't use =SUM(xx:xx)

## Conditional PRODUCT Function Formula (return The Product Of A List Of Numbers In A Column)

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”.

## Summarizing By Date

Aug 7, 2007

I have a basic bookkeeping workbook with multiple sheets each representing a differenct account. In each sheet, an entry is entered on a row with main columns being date, credit (where a positive amount goes), debit (negative amount goes), and then a series of columns representing the type of credit or debit where a simple "x" is placed.

This style has worked well in the past becuase we merely just sort by column and the "x"s clump all credit or debit types together and we just sum them at years end.

However, we are now trying to have the numbers report to a main sheet that will summarize them monthly; basically where the first column is all the different types of credits and debits and the next 12 columns are the months.

We know how to refference the other sheet to get the data, but where it gets complicated is summarizing ALL the sheets together since they all have varying number of entires per month.

Is there some sort of way I can write a formula (or series of formualas) that will allow it to collect all the data from one sheet by only looking at the month column, and add that up, and then do the same for each sheet?

## Combining A VLOOKUP And PRODUCT Function

Sep 11, 2009

I am using the following formula to calulate the compounded rate of return for a series of monthly returns: {=(PRODUCT(1+(b1:b100)/100)-1)*100}

I would like to be able to integrate a VLOOKUP function into the above formula so that it looks at the dates in column A and then apply the PRODUCT function above to the return values in column B that fall between start and end dates specified in cells C1 and D1.

## Product If Function For Conditional Range

Oct 30, 2013

Currently trying to calculate the cumulative performance for a range of months. For example, I have the below figures:

Jul-12
6.59%

Aug-12
1.13%

Sep-12
2.61%

Oct-12
-3.56%

[code].....

I want to create a product if function where if I'm looking back 6, 12, 18 months etc from a specified month (e.g. Sep 2013), it will calculate the product for the range of % (e.g. Apr-Sep for 6 months, Oct 12-Sep 13 for 12 months, etc...). I would imagine it will be =product(1+if(Column A range=6, Column B range))-1.

## PRODUCT Function With Nested IF Formulas

Dec 8, 2009

I receive montly investment performance projections going out monthly for 10 years. I need to show the return annually for each year. I created a SUMIFS formula to sum the percentages between two date ranges (beginning of the year and the end of the year for each year). However, my SUMIFS formula does not take into considersation compounding. How can I modify the SUMIFS formula I created to take into consideration compounding?

I know how to convert monthly percentages to an annual percentage,using the PRODUCT formula =PRODUCT(1+T15,1+U15,1+V15,1+W15,1+X15,1+Y15,1+Z15,1+AA15,1+AB15,1+AC15,1+AD15)-1, whereas T15:AD15 is the monthly percentage gain. Is there a simplier/alternative way that I can incorporate into the SUMIFS formula?

If it is too complicated to utilize a SUMIFS formula, I would like to be able to select a range of cells and have Excel calculate the result vs typing "1+[select the cell]," for each month. It takes me forever and open to input errors. It would be much easier to be able to select a range of cells when creating the formula.

## Trying To Create A Conditional Product Function In XL2003

Sep 4, 2008

I'm trying to do:

Column A is full of daily consecutive dates, Columns B to H are full of numbers.

I'd like to create function that accepts 2 dates and a column reference as input like this:

function(date1, date2, columnnumber)

And as output it gives the product of all the numbers in that referenced column between the two dates.

## Dynamic Named Range For The Product Name On The Product Details Sheet

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.

## Sum Product Funtion Within A Date

May 11, 2007

I have a column that lists names, and I need to count how many there are for each name, sounds easy enough use the following i think.

=SUMPRODUCT((A1:A10="Joe")

The trick is, I only want it to sum them if it's within the current month. I am entering something wrong because I get an error message.

## Macro For Name Generation From Product To Product With Sizes And Filenames

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.

## Pull Latest Date For A Product?

Jan 14, 2014

formula that can pull the latest date for a product, if there are multiple dates attached to the product?

For example, in the attached, I have a Customer and Deal Date list, for Customer A, there are 3 dates, but I only want the latest date: 2/14/2014.

## Sum Product :: Within The Last 12 Months From Todays Date

Jun 9, 2009

I want to return a "total" result for all the cells which contain a date within the last 12 months from todays date.

## Sum Product To Count Data In A Date List

Feb 23, 2010

I have been using the sumproduct formula to count how many times a certain piece of data appears...which works fine...for text purposes such as names, initials etc...

I now need to amend the formula to count how many times a date appears in a range of dates.

I know when you use the sumproduct...dates must be input and formatted as text.

example

A1
01-Jan
02-Jan
5-Feb
7-Feb
12-Feb

formula to only count dates with feb in?

## Sum Values For Specific Product In Date Criteria

Feb 2, 2013

All is inside this file: [URL] ..........

## Macro To Compare Date In Number And Product

Feb 17, 2014

I have another problem with my previous file that I need to finish. Because I want to make it clear I'll attach the files and pictures before the middle, and what can be the end of this table.

## Excel 2013 :: Filter Date Using Timeline Filter

Dec 23, 2013

I just got into the world of PowerPivot, Excel 2013 and Pivot Tables and am in the process of creating a Dashboard which I will then be uploading to SharePoint 2013.

On top of page I added the new timeline filter which I've linked to my pivot charts. Now what I would like to do, is create an additional pivot chart which looks at whatever date range has been used in the timeline filter and subtract 5 years from that. So, when I select a date range of November 2013 - December 2013 in timeline filter, the additional pivot chart will show the details for November 2008 - December 2013. This is where I get stuck.

I'm using two SSAS cubes which I'm combining together in PowerPivot and then display in Pivot Tables and Pivot Charts.

## Product Look Up: Look Up A Product Based On The Number And The Qty

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.

## Type The Product Id In The A Column Of The Orders Sheet(Sheet2) To Auto Insert The Product Name In The B Column

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.

## DATE Function & IF Function (return A TRUE Or FALSE Based On A Date In A Cell)

Dec 8, 2009

I am trying to return a TRUE or FALSE based on a date in a cell.

for example:

if cell A1 = 07/11/2009

I want A2 to show TRUE or FALSE if A1 is 14 days or more behind todays date.

I have tried stuff like:

=IF(A1=TODAY()-14,"True","False")

but it just always says false. EDIT: I have just noticed that if I change the date in A1 to exactly 14 days behind todays, it returns TRUE. So, it does work. Do I need to add a GREATER THAN in there?

## Nested Function To Return "Product A - 3"

Jan 29, 2009

I have two columns of data. for example:

Column A
1
3
4
0
2
0
0
3

Column B
Product A
Product A
Product B
Product B
Product A
Product A
Product B
Product B

What I need the function to return is:
Product A - 3
Product B - 2

This is what I thought the function should look like but it is not working:

=IF(A6:A50>0,COUNTIF(A6:A50,"Product A"),0)

If Product A or B did not have any values >0, it would return a zero.

## Create Macro That Filter Date In A Column From One Week Previous Till Current Date

Mar 14, 2014

I have an excel sheet wherin there is a column that has the data where in the dates are displayed and many other columns.

I get this excel every Thursday so i want to filter this date column in such a way that it give me the data related to the date of the previous week only yet there is a catch here. When i say previous week i mean.

Suppose today is 03/14/14 then i want the data from 03/07/14 till today ie Last week friday to this week full( so cant use Current week option) and then paste it in a new sheet.

I tried the Record part but in that it is taking a hard coded value as i am selecting the date myself. I dont want to change the date manually every time.

this was the macro that was created

Code:
ActiveSheet.Range("\$A\$1:\$BX\$58").AutoFilter Field:=1, Operator:= _
xlFilterValues, Criteria2:=Array(1, "3/10/2014")
Range("A59").Select
ActiveCell.FormulaR1C1 = "=COUNT(R[-4]C:R[-1]C)"
Range("A60").Select

## Filter Data By Date Within 3 Months Of Today Date?

Mar 20, 2014

I'm trying to filter 2 date columns to include only data containing dates within 3 months of today's date.

I see there is a data filter option for "next quarter" but not 100% sure if this covers the quarter from today's date?

## Cell Referencing: Enter A Product Name In One Cell And Have The Price For That Product Automatically Appear In Another Cell

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?

## Summarizing Raw Data

Oct 28, 2009

I was asked at work to create a report that takes raw data from a questionnaire and compiles it in an easy-to-read report. (Little do they know that this is how I'm such a wiz at excel ;-) )

It seems pretty simple, but I can't seem to figure it out! On the attached workbook, the first spreadsheet,"SUMMARY", is the jist of what the report should look like - the average score for each question by floor. On the next spreadsheet, "RAW DATA", is a sample of what the raw data looks like - just a list of each room number and the score it received by question. the first 2 digits of the room number signify the floor (ex. 201=2nd floor, 1215=12th floor, etc.).

My major issue was with getting the score for each floor without having to manipulate the raw data - this report will eventually become a shell that can be used with new data every month. Is there a way to make a range equal a number (ie. 200-299=2)?

## Summarizing From Other Worksheets

Jul 10, 2012

I have many sheets in a workbook (Sheet1, Sheet 2 etc), and I am trying to create a final summary sheet (Summary).

In cell A1 of the summary sheet, I want the information from Sheet1-A1 to be transposed (so =Sheet1!\$A\$1).

In cell A2 of the summary sheet, I want the information from Sheet2-A1 to be transposed (so =Sheet2!\$A\$1).

I've tried to drag/drop the formula on the summary sheet, but I can't seem to make it change the worksheet and not the cell.

I don't want to have to manually input the formula for each cell.

## Summarizing The Data

Jul 12, 2009

First sheet is comprised of 12 grouped cells. Each group consist of 7 rows and 6 columns
the above mentioned groups are bwoke down with 6 lines of data and 7th row is totals of the 6 boxes.

Each gtoup will have totals, even if they run over to next group
The first column is a task number, which will be the main component. A task number can be used multiple times and can run over to next group of cells

Here is an example of above mentioned sheet
task# Start time end time Description
999.......15:00.......15:05.........Open Mail
999........16:05.......16:55........sort claims

A new task number will move to the next group of cells
748........15:05.......16:05.........23 inches

2nd sheet will be a time tracking sheet. Here is the info from this sheet
999......15:00.....15:05.....open Mail
748.......15:05.....16:05......23 inches
999........16:05.....16:55......sort claims

The 2 sheets look alike but on first mentioned sheet info is broken down by task number

## How To Filter Function Using VBA

Feb 3, 2014

I wrote a macro coding to filter data from active sheet from specific companies by company ID that I inputted in the other sheet named "ID". The company ID only contains list of numbers. When I run the macros, it filtered out all the values even though some of the ID that I inputted in the sheet named "ID" present in the data. Below is my coding;

Sub FilterID()
Dim vCrit As Variant
Dim wsD As Worksheet
Dim wsC As Worksheet
Dim rngCrit As Range
Dim rngData As Range

[Code]....

## MAX Function After Use Of Filter

Jan 25, 2008

I have a table that is filtered A1:C21. When column A is filtered to say list all "A" only it returns three rows etc.
What I want in cell E1 is the MAX value of column C whether the list is filtered or not.
i.e Filtered to "A" then cell E1 would display 108.

************************************************************************>Microsoft Excel - Book1___Running: 11.0 : OS = Windows Windows 2000 (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA1=ABCD1SELECT AREANameTotal Hrs. 2ASteve Wilde70.5 3ADave Bond71 4BBrian Massiter75.6 5BTony Newman80.1 6CMick Young80.5 7BCraig Montague81.3 8DKevin Walton82 9CJimmy Miller84 10BKeith Mason85.4 11DDave Soulsby90.5 12CKeith Ward94.5 13DAndy Dix98 14CPhil Watson100.8 15CGavin Gallon101 16BDerek Cuthbertson104.4 17ARay Kenney108 18EAndy Hutchins110.1 19BTrevor Pearman130.85 20BColin Dean149.4 21ESteve McDonald268 Sheet1 [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

## Formula For Summarizing Various Columns?

Feb 18, 2014

I would usually do this in a pivot table (which works fine) but I need something else as the person I am passing this on to will not know how to change the range and this 1 report is a part of a larger report which should just be as simple as: Data download >>> calculations run automatically >>> print

I need to sum up various bits of information. The attached file is the example. The DATA tab holds the information and the REPORT tab shows the column headers that I am after. These columns are as below:Contractor Name: The formula should look through the DATA tab and bring back a contractor nameApproved Quotes: Then taking the name from the above field, the formula should add up column T where column AP = YesApproved WO Count: This one should just add up how many rows the above total is made of.Rejected Quote: Then taking the name from the contractor field, the formula should count add up column T where column AP = NoRejected WO Count: This one should just add up how many rows the above total is made of.

The PIVOT EXAMPLE tab holds the example with the red highlight being excluded.

## Summarizing Sales Data

Feb 26, 2009

I'm stumped on what I know is a pretty basic problem. Maybe i'm just trying to over think it.

I have a table of sales data...One field is the date it was sold, one field is the amount it sold for. The date field isn't in order and it contains dates over the past 12 months. I need a way to total the amount of sales in each month and not through a pivot table. I am able to count how many entries there are, but I can't find a easy way to do a count of how much was sold in each month.