Using Sumifs (Or Other Total Functions)

Dec 2, 2013

I am trying to solve the problem I am having for my weekly report. Currently our Reporting has to be done Via Excel, with no reporting consule to have dynamic ability. I am trying to put a formula table together so all my manager has to do is dump raw data and the calculations take care of the totals for the table. I am running into the issue of when trying to return certain data at a certain date. So here is what I have and what I need (If it can be done without changing the formula each week)

For the MTD calculation I have:

=SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=11",'Raw2'!$N$2:$N$902317,">
=1",'Raw2'!$N$2:$N$902317,"<=31",'Raw2'!$B$2:$B$902317,"=0000013")

The raw data wont have information past the current day of the month so the <=31 allows for the current month to calculate correctly.

Where I am having trouble is the Previous Month Formula:

=SUMIFS('Raw2'!$L$2:$L$902317,'Raw2'!$O$2:$O$902317,"=2013",'Raw2'!$M$2:$M$902317,"=10",'Raw2'!$N$2:$N$902317,">
=1",'Raw2'!$N$2:$N$902317,"<=24",'Raw2'!$B$2:$B$902317,"=0000013")

This returns the data, but I have to change the "<=24" every week to the date that I want up to.

I have tried =eomonth(today(),-2+1) but that is not allowed as the Criteria.

View 5 Replies


ADVERTISEMENT

Mix Of The Vlookup And Sumifs Functions

Nov 27, 2009

need a mix of the vlookup and sumifs functions! (well I think at least!)

I want to find Cell A in Column 1 AND Cell B in Column 2 (like a sumifs) and then return me a value in a range (as a normal vlookup would)

Basically a vlookup matching two cells/columns rather than one

View 9 Replies View Related

SUMIF OR SUMIFS Functions With Criteria As Formula?

Apr 28, 2014

SUMIF and SUMIFS formula, where in I want to set criteria in the formula as greater than or less than or equal to value derived from another formula. I am inserting the following formula but excel is not allowing me to enter the formula.

=SUMIFS($C$22:$C$30,$E$22:$E$30,>=LEFT(L21,3),$E$22:$E$30,<=RIGHT(L21,3),$A$22:$A$30,G22)

View 3 Replies View Related

Multiple SUMIFS (find And Add Up All The Total Requests For Only The Summer Period (Column Q))

Apr 28, 2009

I have a list of about 2,500 entries containing information of all my works leave requests for 2009. This list contains more than one entry per employee, as it shows all their individual requests for different weeks. The list is compiled pulling through data from other worksheets. It looks like this...

Sheet Name: MASTER

Column A = Line Managers Surname
Column B = Employees Surname
Column C = Employees First Name
Column D = Employees ID Number
Column E = Week ending
Column F to L = Days of the week
Column M to O = Request Type
Column P = Number of days requested for the week

I then have another sheet (Called REQUESTS) with all the employee names (1 entry for each employee), ID numbers and total requests for the year. This looks like this...

Column A = Line Managers Surname
Column B = Employees Surname
Column C = Employees First Name
Column D = Employees ID Number
Column P = Number of days requested for the year
Column Q = Number of days requested for the summer

I know how to locate and add up all the requests for each individual for the whole year (Column P) from the MASTER sheet to the REQUESTS sheet by using the flowing formula for each employee.

=SUMIF(MASTER!$D:$D,D2,MASTER!$P:$P)

But I don't know how to ask Excel to find and add up all the total requests for only the summer period (Column Q). What I want Excel to do is this................

View 2 Replies View Related

SUMIFS - Record Profit Or Loss On Daily Basis / Display Total For Last 7 Days

Dec 24, 2011

I have a spreadsheet to record profit or loss on a daily basis. The figure for each day can therefore be positive, negative or zero.

I want to add a column to display the total for the last 7 days (NOT the last 7 calendar days), in which either a profit or a loss was recorded (so excluding any cell that is zero).

I would prefer to add (insert), the column for each day as it comes and the range would obviously vary if the new day's figure was not zero.

View 9 Replies View Related

Add Total $ Value Formula Into Existing SUMIFS Formula?

Apr 3, 2014

In my attached spreadsheet example below, in the Rollup Data sheet, I have a formula (Cell: C17) that will give me the actual cost totals that has been invoiced on WBS Element (DWRRI-BW096-231) for a total of $35,004.81.

What I need the formula do is run a redundant check procedure on my new WBS Element (DWRRI-BW096-231) actual cost total formula in the Rollup Data sheet (Cell: C17) against/vs. what the SAP system provides in the raw SAP Excel export contained in the PTD-Actual Cost sheet for the WBS Element (DWRRI-BW096-231) actual cost total of $35,004.81 (Cell: F9) that's highlighted in the yellow row.

In the Rollup Data sheet (Cell: C18), I need this formula to perform a similar function the as the previous formula above it (Cell: C17), but it this formulas function (Cell: C18) would have a separate operation that would only look for and return the single/sole WBS Element (DWRRI-BW096-231) actual cost total contained in the PTD-Actual Cost sheet (Cell: F9).

In the Rollup Data sheet I could then compare my two WBS Element (DWRRI-BW096-231) actual costs totals, the first from the automated addition of all the individual matching WBS Element actual costs into an actual cost total (Cell: C17), the second (new formula I'm requesting) from the matching and return function of the single/sole WBS Element actual cost total (Cell: C18).

So, if the two separate WBS Element actual cost totals (Cells: C17 vs. C18) both equal $35,004.81, the formula in C17 is a success and has correctly identified and added all the actual costs contained in the PTD-Actual Cost sheet, but if the two separate WBS Element actual cost totals (Cells: C17 vs. C18) both do not equal $35,004.81, the formula in C17 failed for some reason and has not correctly identified and added all the required actual costs contained in the PTD-Actual Cost sheet.

How to Add Total $ Value Formula into an Existing SUMIFS Formula.xlsx

View 2 Replies View Related

Total Occurences: Formula That Shows The Total Payments Recieved For A Particular Month For A Particular Product

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

Macro Allow To Total The Data On The Total Sheet Depending On What Unit Number Is Selected

Apr 22, 2009

This may not be the best way to do this, but I don't know Macros or Pivot Tables.

I am looking for a way with formulas to do the following:
Within a workbook the 1st sheet is the data entry.
In another sheet that will total data from the data sheet is where I want to be able to total columns of data, depending on what is entered in one specific column:

Example:
Data Sheet, E2:E2999 is a unit number selcted by pull down tab entry.
G2:G2999 in the same sheet is where the data is.

Q: What formula would allow to total the data on the Total Sheet depending on what unit number is selected in column E on the Data Sheet and the data amount in column D from Data Sheet?

View 9 Replies View Related

Create A Spreadsheet That Will Calculate Total Money Spent And Total Savings?

Mar 5, 2014

I need to set up an easy to use spread sheet for my office. It needs to be able to calculate the running total spent of fuel, as well as include any discounts we get and then calculate our total savings.So basically, total spent and total saved.

View 3 Replies View Related

Add Each Day's Total While Displaying A Positive Number If The Total Exceeds 6000

Dec 21, 2008

I'm sure this can be done but I don't think I have the formula correct. What I am trying to do is add each day's total while displaying a positive number if the total exceeds 6000.

View 5 Replies View Related

Functions Compared With VBA Functions

Mar 14, 2008

I am aware of the following topic in the VBA Help file:

"Using Microsoft Excel Worksheet Functions in Visual Basic
You can use most Microsoft Excel worksheet functions in your Visual Basic statements. To see a list of the worksheet functions you can use, see List of Worksheet Functions Available to Visual Basic.

Note Some worksheet functions aren’t useful in Visual Basic. For example, the Concatenate function isn’t needed because in Visual Basic you can use the & operator to join multiple text values."

And I'm aware of how to call Excel funcitons from within VBA; e.g., answer = Application.WorksheetFunction.Min(myRange)

However, not only are some Excel functions not useful; the fact is they cannot be used because VBA has a native function that does exactly the same thing and you have to use that native VBA function to achieve your goal. It is these overlapping functions that I am especially interested in. I want to know what I should use directly in VBA and what I need to go to Excel for.

View 9 Replies View Related

Formula To Multiply Total Number Per Category With The % Of Total?

Dec 13, 2013

number for item detail level from category standpoint. For example, in the category sheet has total number per category and per month and in the item detail sheet has a list of item number with category. I want a formula to recognize which item belongs to which category then use the total number of category by month to multiply with % of total in column D from Item Detail Spreadsheet.

View 2 Replies View Related

Running Total From Daily Worksheet Into Monthly Total

Jun 13, 2014

I am trying to create a very basic workbook that has 2 worksheets. one is a daily input for tonnes, that then just gets cut and pasted to a different program, and the other worksheet is the running total. i.e., it adds up every time you update it.
been trying to figure out a macro so when you press the update button it then just updates the monthly total.

Colac Production.xls

View 7 Replies View Related

Add Current Total And Running Total

Oct 10, 2009

In an excel work shift schedule, I am trying to total the total number of days someone is scheduled for different shifts. I can get a total for the current schedule but I want to be able to have a year to date total as each new schedule is added in. These totals are in the AF through BC columns in the xray shift totals in the attached worksheet.

I don't know if it is possible or not and am working on a pre-existing worksheet.

View 9 Replies View Related

Vba To Sum Total Of Column Not Total Of Range

Sep 13, 2009

Sub sumbotton()
Dim ar As Range
Dim rng As Range
Set rng = Selection.CurrentRegion
Set rng = rng.Resize(rng.Rows.Count + 1)
rng.Rows(rng.Rows.Count).Select
For Each ar In rng.Areas
ar.Resize(1).Offset(ar.Rows.Count) = "=SUM(" & ar.Address & ")"
Next ar
End Sub

View 9 Replies View Related

MAX Over A Set Of SUMIFS

Feb 25, 2013

I'm trying to find the maximum over a set of conditional sums, preferably using an array formula or some other single cell solution. My experience with array formulas so far has been to copy things off the internet and modify slightly to my needs.

Here is how my data is set upA

B
C
D

Trait1
Trait2
Value
Trait 1 to Max over

Cat
LongHaired
3
Cat

[code]....

The "Trait1" I am summing over will remain constant for each refresh of the spreadsheet. I want to return the max value of the sum over each "Trait2" that falls into the "Trait1" category.

In this example for Trait1 of "cat" I would return 8 (5+3) that corresponds to LongHaired cat.If I were writing straight SumIf and then Maxing over I would write

Code:
=SUMIF(C:C,A:A,$D$2,B:B,"LongHaired")

for each unique Trait2 and then Max over the set of outputs.

View 3 Replies View Related

Change Total Formulas For All Tables At Once To Show Either Year-to- Date Or Total Year

Oct 15, 2007

I have a sheet in my workbook with at least 180 small tables, there may be more.
I woulds like to be able to change total formulas for all tables at once to show either year-to- date or total year.

For example:
If we have only progressed through the second period of the year, I would like to choose something to indicate period 2. At other time I may want to know the total year whether the periods are completed or not.

View 9 Replies View Related

SumIfs Between Two Dates?

Jan 1, 2014

I am using a SumIfs formula and I want to add a criteria that only sums the Sum Range when it is between two given dates (01/01/2013 and 31/12/2013).

View 2 Replies View Related

Using TODAY() In SUMIFS

Jan 20, 2009

Using TODAY() in SUMIFS
so, this formula works as expected:

View 2 Replies View Related

SUMIFS Alternative

Jun 17, 2009

I've been looking for an alternative to SUMIFS as I have a sheet I need backwardly compatible with Excel 2003. I've looked at SUMPRODUCT which I understand is a good alternative to COUNTIFS but does not allow for summing. I've now moved on to looking at an array formula I picked up from an internet search, but it's not working properly for me. The crux of my Excel 2007 formula is:

View 2 Replies View Related

SUMIFS With Two Or More Criteria?

Aug 11, 2012

I have the following formula in Col C

=SUMIFS(C$275:C$379,$A275:$A$379,{"Idle Time","Oil stock *"})

The criteria "Idle Time" & "Oil stock losses" are in Col A.

I would like to add the values in Col C based on "Idle Time" & "Oil stock losses" which are in Col A

The formula =SUMIFS(C$275:C$379,$A275:$A$379,{"Idle Time","Oil stock *"}) adds the idle time value correctly, but ignore the values of Oil Stock losses

View 4 Replies View Related

Sumifs With Iserror?

Oct 15, 2009

I have the formula below which sums range dv77:dv81, if dy77:dy81 is not an error. Works perfectly.

={SUM(IF(ISERROR(DY77:DY81),"",DV77:DV81))}

However I cannot seem to modify it correctly to work with a sumifs formula. Could someone please show me how it might work?, or a workaround?

For reference the sumifs would sum range(DV77:DV81), if range(E77:E81) is "Neutrogena" and range (A77:A81) is "9".

View 9 Replies View Related

Total Percentage Of True Cells Compared To Total Number Of Cells

Jun 9, 2014

I have a column with Cells that will sat True or False, the amount of rows will be different every time, I need to work out what the total percentage of True cells compared to the total number of cells. How would this be achieved.

View 9 Replies View Related

SUMIFS By Month And Year

Jan 17, 2013

I am trying to create a master spreadsheet to sum up other tabs for the number of funds that are going operational by month. The date is formatted at "January 31,2013".

See attachment as an example : Client Schedule Example.xlsx

View 3 Replies View Related

SUMIFS With Criteria Range

Oct 31, 2013

Having issues trying to do a sumifs function using multiple criteria to get a final total. I want to sum a list of values that have different transaction types from a transaction table. The only working way I have found is to do a sumif and create a CSE formula for it and drag it down and sum to the total. I am looking for a way to sum the the entire list of transaction types I need from the transaction tab and get to the total value rather than have to use a CSE and then sum. Basically I want to take out the sum of the CSE results....Is there anyway to do this?

View 5 Replies View Related

SUMIFS Only UNTIL The Number Repeats

Apr 8, 2014

I have the following figures in my spreadsheet and I have been trying to use SUMIFS. However, I don't want to count values in a continuous way, rather than that, I need to count the values ONLY until the number that is being counted repeats.

Example: Spreadsheet from Column Q1 to Column Q6:

Q1 Controlling
Q2 8
Q3 8
Q4 8
Q5 8
Q6 8

On this case, the Excel would count the number 8 five times in this array. However, If there were more number just below the number 8, it would count them as well and that's not what I am looking for.

Q1 Controlling
Q2 8
Q3 8
Q4 8
Q5 8
Q6 8
Q7 5
Q7 8

What do I need is not to count them when the number being counted has stopped to appear eventhough it can be found at Q7.

For my needs the answer should be that the number 8 was counted 5 five times rather than 6.

View 14 Replies View Related

SUMIFS With Multiple Criteria

Apr 11, 2014

Here is a sample of the formula I am currently using.

Formula:

[Code]....

This works perfectly for what I was needing but I am adding more criteria and running into a problem. I am rolling together usage for parts with different part numbers but the same function in order to reduce SKUs (as well as capture replaced SKUs) needed. These are located in Columns A:G. what i would like to add is more conditions to where the parts are going. Currently I have one location located in cell B2. To analize my usage further, I want to add another location in C2. So i want my formula to look like this.

Formula:

[Code] .....

when I use this it still only adds up with what matches in B2 regardless of the value in C2. Conversely, I can get the formula to work if I take out the extra part numbers.

Formula:

[Code] ....

View 6 Replies View Related

SUMIFS More Than One Criteria And A Month

May 24, 2014

Attached is a spreadsheet. The first worksheet is a summary of the data inputted in the second. I am trying to total the "total spend field depending on whether it is "Extra Works", "Spares & Materials" or "Other" which works fine. I would now like to sum depending also on the month that it was spent.

Order Tracker 2.xlsx‎

View 13 Replies View Related

Using SUMIFS Across Multiple Sheets?

Jun 21, 2014

Using the SUMIFS function, I could successfully get the expected results from extracting data from 15 base separate excel files (from where the data will be extracted). However, whenever I am re-opening my master sheet(where I want the data to reflect) it gives me #VALUE!

Only after opening all my 15 base sheets, my master sheet fetches data.

View 12 Replies View Related

Adding Array To Sumifs?

Aug 12, 2014

I am trying to do a formula that will add two different sums and so far I have this:

={SUM(IF('FAC Open POs'!$F:$F='Cash Waterfall'!$B6,'FAC Open POs'!$V:$X))}+SUMIFS('Cash Report'!$O:$O,'Cash Report'!$S:$S,'Cash Waterfall'!$B6,'Cash Report'!$T:$T,'Cash Waterfall'!G$4))

But I keep getting an error. I know that the formulas apart work, but I keep getting an error with trying to use an Array formula like this.

View 3 Replies View Related







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