SUMPRODUCT-data From Another Sheet

Dec 17, 2008

I am trying to get a conditional total (example below - add up the attendees in E2:E50000 if the criteria in B and C columns are met).

The data is on another sheet from the SUMPRODUCT. I keep getting #VALUE! and looked up possible causes but can't see what I'm doing wrong is it an issue of combining text and numbers? All columns are in the "General" format.

=SUMPRODUCT((pasted!$B$2:$B$50000="Meeting")*(pasted!$C$2:$C$50000="Dallas")*(pasted!$E$2:$E$50000))

View 9 Replies


ADVERTISEMENT

INDIRECT In SUMPRODUCT For Sheet Name

Dec 18, 2006

In book3.xls, worksheet 'statistics_by_class_day', how can I rewrite the formula in C7 such that the count is based on number chosen in A3 and C3?

=SUMPRODUCT((INDIRECT("'attendance"&$A$3&"'!C:C")=$A$7)*((INDIRECT("'attendance"&$A$3&"'!I:I")<>0)))

In the formula, I:I refer to Day 4 of worksheet attendance9 (ie Column I), can I use INDIRECT() by referring to C3?

View 2 Replies View Related

Pull From Another Sheet And Sumproduct And TEXT

Oct 16, 2007

I have sheet 1 which has titles set up in column A. These titles are pulled from Sheet 2 (same column). I also have a date listed at the top of sheet 1 (in the same row as dates in sheet 2, but sheet 2 contains multiple columns for each quarter). I would like to set something up where if the date in sheet 1 matches the date in sheet 2 it pulls the corresponding values from the named rows in sheet 1. I tried using sumproduct but its not working b/c it wont take TEXT. Plus I want it to search across all of the columns, not just one.

Below is sheet 1 and I would like to be able to pull 1Q08 values from sheet 2 (which contains the values for every quarter). This is my formula (the first part is the date, the second is row titles, the third is the value (although its only pulling from one column, it s/b pulling from all) :

=SUMPRODUCT((Sheet2!B1:B6500=sheet1!B6)*(Sheet2!A1:A6500=Sheet2!A7)*(Sheet2!BA1:BA6500))

Is there someway to fix this, it would be a huge time saver.
--------------------------------------
1Q08
Revenue
Direct Costs
Gross Profit
Indirect Costs
Stock Based Compensation
Restructure Charge ....................

View 4 Replies View Related

Summary Of SUMPRODUCT Data

May 10, 2009

For instance, in travels.xls a table in the 'data' sheet lists destinations versus people and the data of travel.

What i'd like is to assign a macro that would have a breakdown of the number of travels per destination that month. Where there is no travel that month, that destination is omitted.

I can work out how to use SUMPRODUCT to produce the number of trips per destination within that month, but stuck as to how to get it to display it using a macro.

Should I use a loop to loop through all destinations, copy that information to the separate sheet and then another loop to delete destinations with zero trips?

View 6 Replies View Related

SumProduct Not Picking Up Data

Aug 1, 2008

I'm using the following formula to pick up data from another worksheet

=SUMPRODUCT(--(RawActuals!$A$1:$A$10000="jun"),--(RawActuals!$E$1:$E$10000=A236),RawActuals!$M$1:$M$10000)

It's picking up most of the data, but it's missing some - and it's to do with formatting of SOME of the data within the RawActuals sheet

212605Agency Staff - Professional & Other212701Staff Cost Tfr to Change Programme221112Property Rents - Passing Rent221310Hire, office/courtr'm/related eqpt

The 1st, 3rd and 4th lines are correctly picking up the data - but the 2nd is not. They are all set to the same number format.

View 9 Replies View Related

Sumproduct Use With More Than One Page Of Data

Feb 8, 2007

A few weeks back you guys were kind enough to help me figure out a good way to use SUMPRODUCT to fetch a value from a third column using values from, in my case, two other columns. It has been a lifesaver! Now that my database grows to more than one sheet however, I am again stumped finding a method of using SUMPRODUCT to search the same data base on the next page of the workbook. Everything is the same except value of the numbers so if I can figure out how to make SUMPRODUCT drop through the first empty cell or something similar, I can continue my database search without more sleepless nights.

The values are in few enough columns such that one could put them all on one sheet, however I don`t know how to make Excel start at the top of a particular column once it has been unsuccessful in the first attempt to find the value.

View 8 Replies View Related

Sumproduct Returns #div/0 When #div/0 Is In Data

Apr 21, 2007

I'm a big user of sumproduct but i have tried many variations on the following
=SUMPRODUCT((R9:R14="Sales Revenue")*(S9:S14)) without success.

If the data is clean ie does not contain # div/0 then i can get a fine result.

With a #div/0 then the result is #div/0. Can someone please tell me how to exclude #div/0 from the calculation please. I have searched several boards and cannot find an answer, but i'm sure its simple.

View 5 Replies View Related

Using Sumproduct With Data In Rows And Columns

May 18, 2014

See attached template I am working on. I want to calculate the number of hours worked over specific dates e.g. between 19-25 May 2014 and 26-31 May 2014 for employee "Bird, Ken" - the result is to be placed in cell D19. Tried sumproduct but without success.

celeste template.xlsx‎

View 2 Replies View Related

Count Using Sumproduct (but Need To Exclude Certain Data)

Dec 4, 2013

I am trying to exclude unusable data from my analysis. I have flagged data in the flag column on sheet 1 by a "1". A "0" is good data. On sheet 2, I have counts for the amounts of a certain code per partner. I used a sumproduct formula for the counts, but now I want to exclude all data with a flag "1".

View 4 Replies View Related

Three Matching Criteria Of Data, Is Sumproduct Appropriate?

Jan 30, 2009

I have two sheets where I dump data into. Widget sales and Widget Accessory sales. I'm trying to display for the widget salesmen the amount of dollars they sell in widget accessories ONLY for the transactions in which they also sell a widget at the same time.

So I need a formula or process (taking and comparing the data from both sheets) to do the following

IF
1. The dates of a widget sale and the accessory sale match (in both sheets)
2. The salesman ID in both sheets match
3. The names of the customer in both sheets match
THEN
1. Add up the total dollars by salesman for sales that match the above criteria

I've tried using sumproduct... I've tried using countif and concatenating pieces of data to make unique sales codes... I've exhausted my meager excel skills .

View 4 Replies View Related

SUMPRODUCT Data Within Certain Date Range?

Nov 28, 2012

I have been having problems with a function trying to count data within 2 date ranges.

When inserting the 2 dates required into collum B2 (week beginning) + B3 (week ending) it does not

View 8 Replies View Related

Sumproduct By Last (criteria) Month With Data

May 22, 2007

I have 3 or 4 criteria and one data range to sum based on these criteria. If I remove date as a criteria, I can make a sumproduct formula work, and even if I include a specific month it works as well, I would like to write a formula that uses the most recent month with data as a criteria. My reasons are that some banks pay our reps monthly, some quarterly, some semi-annually, and some whenever they damn feel like it. I need to take a snapshot of what each rep has invested in each bank: So for Bank A his last Statement came in March, but Bank B sent a statement in January. Here's what I have so far:

=SUMPRODUCT(Month('2007 Data'!$F4:F$97),'2007 Data'!$G$4:$G$97=Sheet1!$A2,'2007 Data'!$B$4:$B$97=Sheet1!$G$1,'2007 Data'!$H$4:$H$97)/(month('2007 Data'!$F$4:$F$97)

I know that the Month function here is incorrect but I'm going bonkers trying to wrap my head around this.

FYI, 2007 Data is my Data page, Col F = Date Range, Col G = the Rep ID, Col B, = the Bank name, Col H = Assets Invested; Sheet1 = my results page.

I know, I KNOW, many of you will scratch your heads and say this idiot should just use a Pivot table, I know. I have. Let's just say some of the end-users are not comfortable with Pivot Tables. I've come up with a simple listbox/command button to populate the axes of the chart (Column A = Reps, Row 1 = Banks)and I need this formula inside the chart.

After seeing and learning from many of the posts on this site, I'm sure someone knows how to acheive what I'm after, I think it's just a matter of my communicating it as well as I can.

View 9 Replies View Related

Attempting To Use Countifs / Sumproduct Where The Data Contains Dates

Jun 13, 2014

I"m attempting to generate a report to show the number of occurrences for a particular product within a calendar month.

Data is stored on the first sheet, output is populated on a separate sheet. Seems simple enough, but getting the "month" out of the date, whilst referring to another sheet seems to be the sticking point.

2014/03/24 14:34:17
Product1
2014/03/24 13:45:51
Product2

[Code]....

View 7 Replies View Related

SumProduct Formula Not Gathering Correct Data

Dec 17, 2009

I have a what I believe to be a consistant formula on lines S12-S18 for gathering the sumproducts for dates on column O. Only problem is that the sumproduct formula is not working on line S18 correctly. I keep looking it over and I can't figure out why it is not returning the correct amount for that cell.

Here is the formula I am using:

=SUMPRODUCT((TEXT($O$12:$O$500,"dddd")=R18)*1)

Please see attached line S18 for the error I am getting.

View 9 Replies View Related

Sumproduct :: Sum Data Based On Multiple Criteria..

Nov 8, 2007

I am trying to sum data based on multiple criteria..

The english version of the formula is Sum all refunds for Store during week

Original Data Format: ....

View 14 Replies View Related

SUMPRODUCT Not Picking Last Two Columns Of Data Table

Aug 12, 2013

I cant seem to figure out why this sumproduct formula wwill not pick up the datatable on a separate tab. Data table is Column E to AA but it only goes to Column Y. If I try putting AA in - the formula returns the VALUE#. I thought it maybe the cell formatting but it does not seem to the problem.

=SUMPRODUCT((Worksheet!$C$3:$C$57>=$H$12)*(Worksheet!$C$3:$C$57

View 1 Replies View Related

Summarizing Data With Vlookups Or Sumproduct Formulas

May 19, 2007

I've got a tab with 32K+ lines of data in six columns. I need to be able to summarize it in a table based on two criteria (e.g. Region, Line of Business). I am currently using 16 sumproduct formulas (=sumproduct((type=a5)*(reg=a4)*revenue)) where type is the line of business and reg is the region column, and 8 vlookups per region. Each tab will have about 8 regions and I'll have 4 tabs. As you can tell, this spreadsheet will quickly get out of hand in terms of calculating speed. I can't really use a pivot table because of: 1) formatting constraints 2) the vlookups refer to a separate tab than the main data dump. What alternatives do I have other than array formulas to get the data in a nice little summary form? The formulas/presentation aren't very complicated, but I have yet to come up with a good alternative to the above.

View 3 Replies View Related

Data From Sheet A To Appear In Sheet B Based On Data Posted In A Column In Sheet A?

Jan 1, 2014

I have a workbook where Sheet A is a Master Order Form. Employees will input the quantities they need in Column C. The sheet will be otherwise protected. Sheet B is a "printable" order form that only contains the rows from Sheet A where the Quantity on Sheet A is not blank and is >=1. This will allow me to print sheet B with no blank rows for the items I don't need.

I found the following formula which claims to be able to do what I want:

=IF(ROWS($1:1)>MAX(C:C),"",INDEX(A:A,MATCH(ROWS($1:1),C:C,0)))

I can't get it to work correctly across two sheets.

I've attached Sample of spreadsheet for review : HDForm_Test01.xlsx

View 6 Replies View Related

Average Data After Doing Sumproduct To Avoid Having Source Open

Jun 29, 2013

I am pulling data from a database and want to do an average based on data that was input per day, basically I did a SUMPRODUCT in a different file to avoid having the source open, but I can't make it average the data and disregard if there were ZEROS in that day.

e.g.
Column A Column B Column C
6/25/2013 A 1.3
6/25/2013 B 1.45
6/25/2013 C 1.9
6/25/2013 D 0

In the other file I would need to summarize the average of the Data from COLUMN C based on the day but without counting the zeros

View 1 Replies View Related

Sumproduct #Num!,#N/A (select Specific The Sum Of Various Lines Of Data That Fit Within 3 Parameters)

Mar 31, 2009

I am having a problem with a sumproduct strand. I've written 4 different ways to no avail. What I'm trying to accomplish is to select specific the sum of various lines of data that fit within 3 parameters

1.) =SUMPRODUCT((Sheet1!$H:$H="XYZ"),(Sheet1!$G2:$G136="Withdrawal"),(Sheet1!$I2:$I136="113183"),Sheet1! $K2:$K136)
Response: #NUM!

2.)=+SUMPRODUCT(--(Sheet1!$H2:$H136='Sheet2'!$A$5),--(Sheet1!$G2:$G136="Withdrawal"),--(Sheet1!$I2:$I136='Sheet2'!$B$5),Sheet1!$K:$K)
Response: #Num!.................

View 2 Replies View Related

Extract Numbers Then Sumproduct Values Against Another Column Of Data

Feb 22, 2010

The Table : Column R represents a list of services

Column L is the full price
Column N is the discounted price ( my example reflects no discount in this case)
Column C is an associated code , in some cases the code is n/a Starting at Row 13 ........

View 9 Replies View Related

SumProduct Formula (flow Data From The Download Tab To The Disb08 Tab Based On The Date)

May 11, 2009

I need to flow data from the Download tab to the Disb08 tab based on the date, that column F of the Download tab = "Outgoing Money Transfer" and that the 4 digit number in row 2 of the Disb08 tab is matched against Column G in the Download tab. When all those match, then the value from column J of the download tab would flow over.

View 2 Replies View Related

Changing Range Of Sumproduct Function Depending On Length Of Data Series

Feb 20, 2007

I have a small problem using the ‘sumproduct function’ which I am using it to calculate the area under curves using the following equation (=SUMPRODUCT((B10:B109-B9:B108)*(D10:D109+D9:D108))*0.5). However I have hundreds of curves to calculate the area under and the length of the data series for each curve is different, I am currently changing the length of the data series by hand. I have attached an example worksheet of 2 sets of data (the formula I am using at the moment is highlighted in blue – row 203). Is there are function or formula that I can use inside this equation to change the range of the formula depending on the length of the data series?

View 2 Replies View Related

Excel 2010 :: SUMPRODUCT Answer To Return Blank When No Data In Specific Cells

May 12, 2013

I am using Excel 2010 and I am trying to average the amount of days in a month to a daily average per person in my worksheet.

Total sales per person
A5 = 10 - This is the Grand total per person for column A
A6 =4
A7=6

Daily average per person
C5=2.6 - Average for all persons here
C6=2.0
C7=3.0

The formula I am using is:

=(SUMPRODUCT($A$6:$A$15,C6:C15))/$A5

Which gives me an answer of 2.6 in cell C5 as shown above which is what I am wanting.

Please note that my cell range for my staff goes from 6-15 for both Column A and C where the other cells are blank in both columns.

My question is, If I was to clear all the data in both Columns A6:A15 and C:6:C15, cell C5 would return to a #VALUE. How to I change the formula so that if the cells were Blank, cell C5 would also be blank until I enter data for each person again?

View 2 Replies View Related

VBA Code To Pull Data From A Sheet Based On Date And Add That Data To Another Sheet?

Aug 8, 2014

I use my workbook to track sales data from one store to the next. I use my workbooks to compare data from year to year. Each year's data is displayed on a separate worksheet. '2013' has 2013's data, '2014' has 2014's. On the 2014 sheet, I have a Prior Year's Sales that pulls data from the previous year's spreadsheet using a formula which I just drag down each day I enter sales. I would like to automate this process and have the VBA code check for today's date and automatically pull the previous year's sales data from the '2013' sheet and put it in the appropriate cell on the '2014' worksheet. I hope I have explained this well enough to understand. I've included a link to my workbook for reference.

I had to use dropbox since I can't post a file over 1 MB. The file size is around 1.25 MB.

View 5 Replies View Related

Copy Data From One Sheet (Fixed Cells And Sheet) To Another Sheet

Apr 18, 2009

I want to be able to copy a name from one sheet (Available Players), paste it to a cell in another sheet (Round 1 through Round 20). The cell that will be copied is fixed but the place where it will be pasted will be different and may be on a different sheet.

also i would like to change the color of the copied cell to "greyed" out or cut if it can not be greyed out. I have created a button and put in a macro that i created but have been having problems with it, generic 1004 errors that i can not figure out. i am attaching the document.

View 8 Replies View Related

Getting Sheet To Lookup Data From Another Sheet Then Referencing Rows Data?

Jul 22, 2014

I want to be able to paste the large amount of data I get each day into the first sheet in my workbook ("data dump" sheet), the data will be formatted in the way i have used in the example workbook.

I then would like to be able to just have to enter 2 values into columns A and B of "1st output" sheet (Label in A, and Item in B), then have it look up the data that corresponds to those 2 values that are both in the same row in the "data dump" sheet, and have it copy and paste all of the relevant data in that row into the row in the "1st output" sheet.

The data I would want excel to find and place for me in the first sheet is highlighted in yellow

As a way of keeping track of this every day, I then need the data from the "1st output" sheet, to be fed into the "2nd output" sheet. This sheet would have all of the peoples' names already in it, but would just need to look in the "1st output" sheet for references to these names. If one of the names pops up, I'd need the date shown in the row of that instance to be placed after their name. This will allow me to keep a log of how many times their name gets flagged up, as well as the dates on which it happens. Again, the data I'd need excel to look up in the "2nd output" sheet is highlighted in yellow.

If there was a way of having the 2nd sheet add new names it finds on the 1st output sheet, that aren't already referenced on the 2nd output sheet in column A, that would be amazingly handy if it could then enter that name into column A and start a new row for them

Example file :
Attachment 334122

Alternative link [URL]

View 1 Replies View Related

Data From The Data Sheet Is Copied Over To The Report Sheet With Formula

Apr 11, 2007

The data from the Data sheet is copied over to the Report sheet with formula.

Basically, what I need to do is If statement:
-when there is no any data in csv file (so the Data sheet will be empty);
-the range (A7:N1000) to be hidden (on the Report Sheet)
-the Report sheet to be saved

and also...

I would like to ask, how to select from the Data sheet, the rows with Data only. I copy them over with formula instead of macro- but would like to hide all the empty rows on the report.


Option Explicit

Sub Update_Report()
'
' Macro1

Dim extract1 As String
Dim dReport As String
Dim rSheet As String
Dim dSheet As String

extract1 = "LeadSheetAll_0001.csv"
dReport = "Appointments.xls"
rSheet = "Report"
dSheet = "Data1"

Application.ScreenUpdating = False
Application.DisplayAlerts = False

View 9 Replies View Related

Changing Data In One Sheet Which Will Change Data In The Data Sheet?

Jun 15, 2014

I have a data sheet (Sheet 1) which consists 1000 lines of data (1000 rows and column til DP all different). This is the data of all theprojects that my team undertakes on a monthly basis. Sometimes the data might change on in column AG to AL. I want to put the details of the changes to be done in Sheet 2. The unique value here is the project ID.

What i want is: I will create a table in sheet 2 and update the details that will need changes and it should directly change in sheet 1.

View 5 Replies View Related

Copy Data And Sheet Name To New Sheet And Delete The Old Sheet?

Mar 30, 2014

Example, I have a sheet named DATA1, I want to add a new worksheet, copy a certain range from the DATA1 sheet to the new sheet and rename it the same name DATA1 and delete the old DATA1 sheet.

Also, the sheetname will be unknown, the macro must get the sheet name first.

View 2 Replies View Related







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