Sumif Formula Based On Two Conditions

Mar 7, 2012

I am trying to write a Sumif formula based on two conditions. I want to sum the data in column AK if the data in column D = BUD12 and the data in column E = US Custom. I have written the following formula but am getting a #VALUE error.

=SUM(IF($D$25:$D$700="BUD12",IF($E$25:$E$700="US Custom",$AK$25:$AK$700,0),0))

View 6 Replies


ADVERTISEMENT

Use SumIF Formula To Add Sales Forecast Based On Three Conditions

Apr 4, 2014

I am trying to use sumif formula to add sales forecast based on three conditions but i also want to add the revenue for current month which i have but for the next one months as well as two months plus.. this will change based on the current month.. below is what I am using for the current month..

=IF($B$3=Reference_Data!E2,SUMIFS(Current!$K:$K,Current!$G:$G,"Yes",Current!$C:$C,$B$1,Current!$E:$E,$B$3),
IF($B$3=Reference_Data!E3,SUMIFS(Current!$K:$K,Current!$G:$G,"Yes",Current!$C:$C,$B$1,Current!$E:$E,$B$3),
IF($B$3=Reference_Data!E4,SUMIFS(Current!$K:$K,Current!$G:$G,"Yes",Current!$C:$C,$B$1,Current!$E:$E,$B$3),

[Code] ...........

View 2 Replies View Related

SUMIF Based On 2 Conditions From 2 Columns

Jul 16, 2008

Have had a search around the web forums for an answer to this and am not getting anywhere.

In column A i have text - apr, may, jun etc
In column E i have general format text - a 6 figure number
in column M i have text - eg 886.97 (a currency, but in text format)

i want to:

where column a=apr and column E=212130 sum the contents in column M

View 9 Replies View Related

Two Conditions In One Formula - SUMIF Using Manual Indicator

Feb 20, 2014

I work for a farm where we receive fresh produce from harvesters daily. I created a workbook with worksheets(ws) for my daily inventory counts according to product type and separate worksheets for each day of the week showing the orders shipping for that particular day.

I collaborated the data from the inventory count ws and the ws for each day into one ws called Harvest. I am trying to figure out how to keep a running total of what needs to be harvested vs. what is in inventory so that I can show my harvesters what new product is needed to fill orders for today forward, after subtracting what is available in inventory, and showing the amount shipped for past days . Another part that's throwing me is that harvest brings in new product daily and sometimes they bring in a surplus.

Here is an example:

Lets say today is Tuesday and my Inventory ws shows we have 50 kale in inventory - cell D10

Monday ws shows an order for 50 kale, cell D14

Tuesday ws shows an order for 100 kale, cell D14

Wednesday ws shows an order for 100 kale, cell D14

Thursday ws shows an order for 100 kale, cell D14

On my Harvest ws, Since today is Tuesday, how would I keep the Monday cell showing 50 kale as the amount shipped on Monday, Tuesday cell showing we need 50 kale to be harvested to add to the 50 in inventory and fill the order of 100, Wednesday cell showing that we need 100 kale harvested, and Thursday showing that we need 100 kale harvested?

If Harvest brings in a surplus of 100 kale on Tuesday so we have 100 kale in inventory on Wednesday how do I get the Harvest ws to now show that Monday cell should still show 50 kale shipped, Tuesday cell should show 100 kale shipped, Wednesday cell should show that we don't need any kale harvested since we are using the 100 surplus in inventory, Thursday cell should show we need 100 kale harvested.

View 14 Replies View Related

SUMIF Or An Array Formula - Matching Multiple Conditions

Jan 14, 2009

I would like to have a formula in one cell that finds records on another sheet that meet certain criteria, and produces a sum of the total quantities associated with that record. The attached workbook has more details as to what I am trying to do.

View 2 Replies View Related

Finding Next Value Based On Conditions In Formula?

Jan 6, 2014

Current simplified situation:

Department A
Employee_1
Employee_2
Employee_3
(empty cell)
Department B
Employee_4
Employee_5
Department C
Employee_6
Employee_7
Employee_8
Employee_9
Employee_10

With the VLOOKUP function, I have looked up the row numbers of the departments. Subsequently, I'd like to find the last employee of that department, based on the department's name and/or the department's row number.

A department-typed cell is non-empty and never contains an underscore. An employee-typed cell is non-empty and it always contains an underscore.

The simple and non-sufficing formula is the VLOOKUP of the row number of next department minus one. But with adding, moving and subtracting departments rapidly, this is not an option.

View 4 Replies View Related

FORMULA TO ADD AMOUNT BASED ON TWO Or MORE CONDITIONS

May 17, 2009

i need a formula to add amount based on two or more conditons. From the drop down list on each change i want to do the sum to be displayed in C18; see the attached file for reference. i can do the same thing using pivot tables but i want to the same to be done using the array formulas. Also tell me any other array formulas like this which are useful.

View 5 Replies View Related

Sumif Two Conditions

Mar 7, 2007

Below I have a formula which for some reason or another I cannot get to work.
It is an array formula and it as worked before.

I am not too sure if the reason for the formula not working is because there is a formula in each of the columns that it is looking up.

And I keep getting the result of #N/A.

The formula which I am having problems getting it to work is;

=SUM(IF($D$3:$D$43=$B$57;IF(I$3:I$43="~*~";1;0);0))

View 9 Replies View Related

Sumif (4 Conditions)

Feb 17, 2009

I have two columns with numbers and want to build the sum of them with a condition.
These are stock prices. So prices go up and down and I can go long or short.

I have a column that indicates if I went long (l) or short (s).

If I go long (l), and its a winner, I want to have the sum of Exit Price - Entry Price.
If I go short, and its a winner I want to have the sum of Entry Price - Exit Price.
If I go long (l), and its a loser, I want to have the sum of Entry - Exit.
If I go short (s) and its a loser, I want to have the sum of Exit - Entry.

Overall I just want to make sure that the sum has the right algebraic sign (+ or -), depending on whether it was long or short and whether it was a winner or a loser.

View 9 Replies View Related

Sumif For Several Conditions

May 25, 2007

I need to sum amount if several criterias are met. I have attached an example of the report I need to reference to. If column A=724 and column B=ZZZ I want to sum on the amount in column C next to ZZZ. The problem is that ZZZ is not always in the same cell, or it's not even in the report if it has no amount. Is it possible at all to sum on those complicated criterias,

View 5 Replies View Related

SUMIF Formula With Sum_Range Based On Column Index Number

Jun 22, 2009

Following is a summarized example of my data and what I am trying to accomplish.

[Column A] contains a list of account numbers. [Column B] contains current balances, [column C] contains balances from one month ago, [column D] contains balances from two months ago. Within the same spreadsheet I want the ability to type in the account number in one cell and then the column number in another cell. For example, If I type in the account number 1234 and the column number 3, I would get the balance from [column c]...if I typed in the column number 4, I would get the balance from [column D].

My first thought was to use a simple SUMIF formula that would compare the account number I type with the account numbers found in [column A]. The problem is getting a formula that can translate the number 3 to [column C] or the number 4 to [column D]. Note: the actual spreadsheet I am using extends out to column BI.

This is simuilar to the Column Index Number used in a VLOOKUP formula.

View 9 Replies View Related

SUMIF With Multiple Conditions

Jan 4, 2007

I'm trying to get a sum only if 2 conditions are met.

Column A has dates (ex. 01/02/2007) in a random order. Column B has a location in a text format (ex. London). Column C has a series of values formatted as [h]:mm.

What I'm trying to do is get a sum of the values in column C where the corresponding values in columns A and B = the date and loction I specify. I've tried...

=SUM(IF(('Jan ''07'!A$2:A$750="1/2/2007")*('Jan ''07' E$2:E$750="London"),'Jan ''07'!J$2:J$750))

but it's returning zero values regardless of the criteria being met or not.

View 12 Replies View Related

3 Conditions - SUMIF Or SUMPRODUCT Or...?

Jan 6, 2009

I have 4 columns, A B C and D. They are a mix of formats.

A= Name (text)
B= Date
C= Code (text)
D= Number

I need a formula that gives me the total from column D, provided conditions for columns A, B and C are met. The date condition is month only, so I'm using MONTH(1) for January etc.

I can find a formula if there are only three columns total (using SUMPRODUCT), but not 4.

View 14 Replies View Related

SUMIF - 2 Conditions - With References

Sep 20, 2005

I have the array formula:

=SUM(IF((Sheet1!$Y1:$Y5809="26")*(Sheet1!$AJ1:$AJ5809=CREDIT!$A4),1,0))

It works fine except I want it to reference the cell that the number 26 is in rather than having to have it in quotes, i tried this, but don't get the same answers as this way. The reason being is more conditions may be added in the future which would mean for example the 26 could change to a 34 etc so i rather not have to have someone manually change that number in the formula and just have it refence a cell.

View 9 Replies View Related

Multiple Conditions With A SUMIF

May 31, 2006

My book is telling me that I can't use multiple conditions with a SUMIF
statement but other sources are telling me I can. Either way, it's not
working!

My situation:

Look at data in $V$2:$V$144 (range = "group"). If cells in "group" =
"Broth" then look at $Y$2:$Y$144 (range = "bldg"). If "bldg" = "1" then sum
corresponding cells in $R$2:$R$144 (range = "fcst").

This is one of my attempts - feeble...

=SUM(IF(group="Broths",IF(bldg="1",fcst,0)))

View 9 Replies View Related

Sumif With Multiple Conditions?

Jan 25, 2012

I am trying to use multiple "ifs" and then summing the cells that obey my conditions.

Let me give an example:

Column A - place
NY
Chicago
Los Angeles
San Francisco

Column B - object
gate
keyboard
pencilcase
cellphone

[code]....

I want the ifs and sumifs to:

Check if place = NY
Check if object = keyboard
Check if condition = failure

and sum the prices when all of the above are true.How do I do it??

View 4 Replies View Related

Formula Needed Based On 2 Conditions And Variable Row Reference

Jan 9, 2014

I am an architect and recently I was required to do some extensive calculation relating to water requirements and toilet requirements for a building that i was designing. i created a excel file, with a basic vlookup function to put certain values in the cells that are pre-defined for a particular building typology (mostly created by governmental bodies as guidelines). for example, when i choose a particular type in column E, column F and G fills up automatically. now this table also gives me occupant load based on what is the area i enter in column D.

The problem is that I want to automate the calculation of toilet requirements. Now, each typology will have a different formula to calculate WC/Urinal/washbasin.

1. there will be 17 different formula - one for each typology (as shown in sheet 5)
2. Column j will calculate what is the number of WC required based on 2 criteria - first id what is the typology and then looking what is the number of occupant.

The problem here is for example, if in E9, selected typology as "offices", the formula of offices typology will be used in J9 and occupant value from H9 will be used but if i have E18 also selected as offices typology, the same formula will use occupant value mentioned in H18 instead of using H9.

Hence, excel will first have to look what is the typology selected. based on that, it will load formula - out of that 17 different formula - specific to that typology and finally it will refer to corresponding row for occupant load and will use it in the formula to get the result.

View 3 Replies View Related

Mega Formula To Calculate Results Based On Several Conditions

Aug 25, 2009

I have in column A a list of investment fund names. In columns B to D is respectively for each fund its Market Value, the Rate of Return and the Rank (1, 2, 3 or 4). I am trying to create a formula that will calculate the market value-weighted rate of return for each ranking.

For example, the 3 funds that rank first have market value weights of 10%, 12% and 13%, and rates of return of 1%, -3% and 5%. The total market-value weighted return for the top-ranked funds would therefore be 0.39% (i.e. 0.10*0.01-0.12*0.03+0.13*0.05)

The formula would first need to look in the ranking column to identify those funds with a particular rank (column D), then calculate their weights by dividing their market value by the total market value of all funds (column B), and finally multiplying these weights by the rate of return (column C), before summing the results to say, for example, that the total market-value weighted return for the top-ranked funds is 0.39%

View 5 Replies View Related

Return Formula Value/Text Based On Many Cell Conditions

Oct 16, 2006

This is to manage which departments (approxiamately 30) within a business need which compulsary training (approximately 11 courses)

Spreadsheet currently reads list of new employees and I want to be able to have "YES" or "No" values under the different courses

Is there a formula/function that i can use (like the IF Formula) to complete the following information;

EG: =IF(OR(A3=H2, A3=H5 etc... ), "YES", "NO"

Column H lists all departments

Column A lists deaprtments

A3 representing the 1st Department needing training

View 8 Replies View Related

SUMIF With Multiple Conditions That Are Offset

Feb 8, 2010

I am really stuck here and need help with a formula. I have attached a sheet visuals. I want to add up all the numbers that contain two specific accounts#'s. One account is directly across from the number, where I can use this formula very easily: =SUMIF(Q1:Q288,AF245,Z1:Z294)

The second account is in a different column, but it is not directly across the number. It is five cells below. So basically am having a tuff time applying these two conditions, where one condition does not directly align with the data I want to add.

View 4 Replies View Related

Formula- To Pull Cell Values Similar To A SUMIF Function (SUMIF(range,criteria,sum_range))

Oct 25, 2007

I am trying to pull cell values similar to a SUMIF function (SUMIF(range,criteria,sum_range)). For example, in A1 I use a data list created from data elsewhere on the spreadsheet. In the data I created elsewhere, there are 2 columns being used. The 1st column is the information that is being used to create the list and the second column contains specific values (number or text). In the dropdown menu I select an available value (text or number) . When I have selected that value I would like cell A2 to show what the cell directly to the right of it shows from the data I have elsewhere in the spreadsheet as mentioned. I have tried the SUMIF function however it seems to exclude certain values (number or text) and I am not sure what else to use.

View 9 Replies View Related

SUMIF Multiple Conditions (two Columns Match Criteria Add The Third)

Mar 17, 2009

Im trying to have a formula look at two diferent columns and if they meet the criteria add the third column.

I tried using sumproduct but It wont give me anything but error messages or a zero.

Looks like this
=SUMPRODUCT(A:A="Stewart",(G:G="Fiduciary"),C:C)

Need it to say:
if column A = Stewart and Column B = Fiduciary then add up the amount in Column C

View 9 Replies View Related

Populate A Cell Based On Conditions Of Other Cells W/out Putting A Formula In The Cell

Oct 10, 2009

Is there a way to make a cell populate certain text based on conditions of other cells without putting the formula in the cell you want to populate. So that someone could type other text into the cell if the conditions were not met?

View 14 Replies View Related

How Do I "SUMIF" Multiple Conditions Are True

Jul 23, 2008

I'm trying to sum the values in a column if 2 different conditions (in 2 other columns) are true (so I'm evaluating 3 columns total).

For example, if I had a list of the prices of all the cars available at a dealership (each car listed on a different row), and I wanted to find the total cost of all toyota celicas listed, how would I do this?

Basically, I'm trying to create a formula that says "if the value in the make column = toyota AND the value in the model column = celica, then sum the related values in the price column."

View 9 Replies View Related

SUMIF Formula That Is Collects Values From An IF Formula

Aug 26, 2009

Can anyone tell me why this formula is not working?

=SUMIF($D$6:$AL$6,"=TM Goals",D12:AL12)

The entry under cell T12, which I am hoping this formula will pick up is based on the following formula.

=IF(E12="A",$L$5,"0")

View 12 Replies View Related

Sumif Based On <= Value

Oct 5, 2007

I'm trying to write a statement to incorporate 1 more piece of the puzzle. the formula I have is =SUM(SUMIF(Sheet3!$F:$F,{"F12","F24","F26"},Sheet3!K:K)). In Column F, I have text and Column K, I have numbers. I want to add to the formula if value in K is less than 1, don't add it

View 9 Replies View Related

SUMIF Based On Months In Row

Oct 24, 2013

I'm attempting to sum figures based on the current date. I have a month that's returned from a today function lookup in column B2 (currently 'October').

In F17:Q18, I have the following:
F
April
G
May
H
June
I
July
J
August

[Code] .....

I need to be able to look up today's month (in B2), and sum the row up to that point (so for October, sum Q18:L18). When it ticks into the next month, I want the sum to automatically update to sum to column M

I'm struggling with a SUMIF, my current one sums everything in the row and ignores my "<=B2"

I also tried (MONTH(TODAY()) with corresponding month numbers (Jan 1, Feb 2 etc) in Row 19, but that breaks because Jan-March are 1-3, and it sums them too.

As you can see it's built on a financial year. How to sum the rows up to the current month, and include last year once we're into January-March?

View 9 Replies View Related

SUMIF Based On Month?

May 30, 2014

I'm trying to use the SUMIF function based on a specific month. This month formula has to choose from a range of dates. Currently, the month to report (5) is the only one that works. If I have dates in June and choose 6, it doesn't work.

This is the formula I'm using right now:

=IF(MONTH('Drafting Errors'!C:C)='Error Metrics'!C1,SUMIF('Drafting Errors'!A:A,C5,'Drafting Errors'!N:N),"No data for this month")

View 8 Replies View Related

SUMIF Based On Text

Feb 16, 2010

How can I do SUMIFs based on columns that contain text? Im having some trouble with them.
I just need to check column H for the text "Newham" and then total the corresponding cells in column F

View 9 Replies View Related

SUMIF Based On Two Criteria

Aug 8, 2006

I want a formula to sum all values if two different criteria match. I've attached a sample below. The TaskID and the Time Entry ID are the two data points I'm searching for and the totals column is where my sum statement would be. The numbers are being pulled from another worksheet.

View 7 Replies View Related







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