“Vlookup” Or “Sumif” With Multiple Criteria ?????

Feb 1, 2010

I would like to take a precise value from one table which corresponds to two different criteria. See the example attached with this message.

View 3 Replies


ADVERTISEMENT

Multiple Criteria SUMIF Using Column As Negative Criteria?

Mar 24, 2014

I've attached a sample workbook to show what I am trying to do. I would like the formula to say "if Sheet2!A:A is "MON" and if Sheet2!R:R matches Sheet3!A:A, and if Sheet2!I:I doesn't match any of the values from Sheet1L:L, then I'd like the sum of Sheet2!F:F. It seems pretty simple but I've tried a million different variations of SUMIFS, SUMIF, IF, AND, etc. and I can't figure it out.

View 1 Replies View Related

How To Sumif Multiple Criteria

Nov 27, 2011

I want a sumif where:

=sumif(f2:f500,

if column f has a 7 in it and if column e is greater than 5

View 3 Replies View Related

Sumif - Multiple Criteria

Nov 12, 2008

Column A |Column B |Column C
Store_Name| Dates |Revenue_Generated

I want to sum the revenue generated in every row where:
Store_Name = "x"
Dates >= Date1
Dates

View 9 Replies View Related

Matching Multiple Criteria In SUMIF?

Jan 30, 2014

I'm trying to create an overview which shows a breakdown of the total minutes for each task on each given day.

I need to get a formula to work in the grey area which sums the total minutes (column C) based on matching two criteras of task (column A) and day (column b).

View 5 Replies View Related

SUMIF Multiple Criteria In 2003

Dec 15, 2009

I am using Excel 2003 and need help with sumif with 2 criteria. Please see attached worksheet.

I am trying to find total costs for repective projects if they happend in 2009 only, else leave blank.

In attached worksheet, see column c, row 17...thats what the result should be.

Find All Instances of:

Project A that happend in 2009 and from range c2..c7
Project B that happend in 2009 and from range c2..c7

etc.

and show their sum in c17,c18, etc.

View 10 Replies View Related

Sumif Formula Multiple Criteria

Jan 27, 2010

Can anyone tell me what is wrong with the formula on page 1 cell F56? it is not adding the 666 gallons at the end of column F for 426 - cc. Any ideas?

View 11 Replies View Related

SUMIF - Multiple Criteria Using Concatenate

Feb 15, 2010

Im tryng to do a SUMIF formula that has several criteria as answer but using the concatenate formula, but it doesnt seem to come back with the answer - im using AND/OR formula aswell, but have a feeling im doing it wrong.

It does work when i use the single concatenate, but not when i try a do more than one

View 4 Replies View Related

SUMIF With Multiple Criteria In 2003

Mar 4, 2009

I'm trying to return a value from a data dump based on 2 seperate criteria, 1 being the name of a person and the other being the name of an activity. Is there any way of using an array and the SUMIF function to do this?

View 4 Replies View Related

SUMIF - Using Multiple Criteria (10 To 20 Values)

Jun 12, 2003

Sumif formula. I need to somehow put a loop on the criteria or something...

The formula is sumif(range, criteria, sum range). The problem I am having is that I have about 20 criteria to select, and sumif is designed for one criteria. I know that I can type the exact same formaula in and have something like this...

=SUMIF(D25:D107,Variables!A6,F25:F108) + SUMIF(D25:D107,Variables!A7,F25:F108) + SUMIF(D25:D107,Variables!A8,F25:F108) + SUMIF(D25:D107,Variables!A9,F25:F108)+ SUMIF(D26:D107,Variables!A10,F26:F108)+ SUMIF(D26:D107,Variables!A11,F26:F108)

This is OK for a few variables but some formulas have multiple criteria in excess of 15-20. the other thing is that the criteria list will grow over time as more variable are added, and instead of changing the formulas throughout the spreadsheet, I would like to have a big range that I can slowly fill up as I go along

The ideal situation would be if I could put a range in ( ie A6:A30) and then when I get a new criteria I just add it to this range. This will make administration eaaseier by giving me one location to update data.

I will show you an example.. I want to calculate the amount of petrol I use based on three criteria - BP, Shell, Caltex ( the criteria being petrol stations that come up on my bill).

Column
A/ B / C/ D
Row / description / Amount/Variables
1 / Shell Petrol / $10/Shell
2 / Cat Food/$13/BP
3 / BP Store/$24 / Caltex
4 / Dog Food/$23
5/Shell Petrol / $98
6/Caltex Petrol/$31
7/BP stuff/$30
8/Shell Store/$70

What I have been doing is this...

=sumif(B1:B8,D1,c1:c8) + sumif(B1:B8,D2,c1:c8) + sumif(B1:B8,D3,c1:c8)

If I could somehow get the formula to choose the whole column D as the criteria range and get the 'sum if' to somehow loop so it goes down the d column and does the same calculation, but just changes the criteria variable each time, then instead of changing the formula, I could just add to the D column each time I had a new criteria I wanted to check.

I looked into DSUM and Pivot Tables. DSUM seems to work well with numbers, not variables and Pivot tables did my head in, especially seeing I know that there is a way to do this in a formula based way..

View 9 Replies View Related

Sumif With Multiple Range And Criteria

Oct 10, 2007

I am trying to do a sumif function where it only sums when a different criteria is met in several different columns.

eg

sumif b:b shows portsmouth d:d shows calais f:f shows night then sum range g:g

View 9 Replies View Related

Sumif Multiple Criteria: Sum Spend In Certain Categories

Sep 1, 2009

I have a column which lists total spend by vendor. I am using the sumif formulae to sum spend in certain categories, for example spend greater than £500,000. I would like to use two criteria, for example greater than £300,00 but less than £499,999. I am also using countif to get the number of vendors in each range of spend. How do I adapt my current code of "=SUMIF(D2:D1463,">300000",D2:D1463)" to look at greater than £300,000 but less than £499,999. I'm sure this is simple but like most things only simple if you know how.

View 2 Replies View Related

SUMIF Or SUMPRODUCT For Multiple Criteria And A Negative?

Nov 12, 2011

I have an array that contains order numbers, tracking numbers and shipment costs. I want to get the total value of the shipment cost per order. the problem is, there are some duplicate shipments (ie same tracking number) and I don't want to include those. I can't delete the duplicate entries from the database for reasons I won't go into here.

so I tired to use a formula like =SUMIFS(C:C,A:A,A1,B:B,B1)
A B C
11462046 CJ225083125US 10.51
11462051 CJ225082247US 17.04
11462046 CJ225083125US 10.51
11462046 CJ225083564US 22.40

the formula doesn't work (won't even let me enter it) but if it did, it should give a result of 32.91. it would add C1 and C4 (but not C3 because even though A3=A1, B# also equals B1 and that is what I don't want to add.

I think maybe a sumproduct formula is what is needed but the negative criteria is throwing me for a loop.

View 9 Replies View Related

SUMIF Statement With Multiple Criteria In Same Column

Jan 26, 2004

I'm trying to create a SUMIF statement that that has an embedded OR statement within, and am unable to make it work.

Basically I want to say if "column Q" equals one of 2 criteria ("cat" or "dog") then sum the corresponding number in "column P" I've tried the following statement, but it is just resulting in a zero:

=SUMIF(Q9:Q32792,OR("cat","dog"),P9:P32792)

I've seen support on statements with multiple criteria in DIFFERENT columns, but not if searching for multiple criteria in the SAME column.

View 5 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

Excel 2010 :: SUMIF With Multiple Criteria - How To Add INDIRECT To Formula

Aug 11, 2013

Excel - 2010

I have the following formula:

=SUMIFS(FEB!TRANS_Cost,FEB!TRANS_Cat1,CAT_Main3,FEB!TRANS_Cat2,"Computer Items",FEB!TRANS_Status,"Paid")

TRANS_Cost = B:B on FEB tab
TRANS_Cat1 = C:C on FEB tab
TRANS_Cat2 = D:D on FEB tab
CAT_Main3 = "Everyday_Expenses"
TRANS_Status = E:E

In short the formula adds the total cost of anything 'tagged' as Everyday_expenses, computer items, paid. I want to adapt it so that it takes the value from a defined cell such as Month, so that data can be pulled by month.

View 2 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

Vlookup With Multiple Criteria?

Jan 31, 2014

I know this is an oft repeated title, I can't get the syntax correct.

In the attached file (only 41 rows) I've tried the following:

in Col AJ4:AJ83303 (I did not attach the whole sheet, formula reflects bottom row of data)

=IF(AI6>0,1(X6=$AJ$1,1(VLOOKUP(P6,$AR$21:$AS$41,2))
returns #VALUE! (for col X as text????)

=INDEX($AR$21:$AS$41,MATCH(1,AI4:AI83303>0)*(X4:X83303=$AJ$1),0)
returns #REF!

COL AI IS NET AMOUNT
AJ1 IS "NR" TO MATCH IN COL X

In all cells in Col AJ I want the amount in col 2 of the index to be added to the net amount in Col AI.

Criteria 1 Where net amount is >0 on any cell in Col AJ

Criteria 2 Where Col X = N1 (which has NR entered)

Col P is where the lookup value for the Index is, how do I reference that in the index formula?

View 7 Replies View Related

Using Vlookup On Multiple Criteria?

Feb 13, 2014

I have a requirement where I need to look up a resource hierarchy with the region and the product line and then decide the value from the mapping table.

May be I can explain more clear with the workbook example attached.

If a user belongs to Dev & QA * hierarchy, check the region, and correspondingly check the product line, on meeting all these select the value from the mapping table to fetch the expense value from Approval process column of mapping sheet.

View 5 Replies View Related

Vlookup Formula With Multiple Criteria

May 12, 2014

I am trying to modify an existing nested vlookup formula to include one more condition. I attached the excel data file. There are two tabs:

Tab #1 - Performance
Column B (Email Send Date): can be a repetitive date, something like
Row 2. 4/25/2014
Row 3. 4/25/2014
Row 4. 4/25/2014
Row 5. 4/25/2014
Row 6. 5/2/2014
Row 7. 5/2/2014
Row 8. 5/2/2014
Row 9. 5/9/2014
Row 10. 5/9/2014
Row 11. 5/9/2014

Column F (Product ID): can be same product for different Email Send Date. For instance, Row 2 & Row 9 have the same product ID - 128 and Row 5 & Row 10 have same product ID - 131.

Row 2. 128
Row 3. 129
Row 4. 130
Row 5. 131
Row 6. 567
Row 7. 897
Row 8. 987
Row 9. 128
Row 10. 131
Row 11. 234

Column R: Units Sold - need to retrieve the units sold value from Column D - Units Sold in UnitsSoldOnlineVlookup tab.

The formula needs to lookup the Units Sold from a table in a different tab, named UnitsSoldOnlineVlookup. This table contains the following columns:

Tab #2 - UnitsSoldOnlineVlookup
Column A - Email Send Date
Column B - Product Description
Column C - Product ID
Column D - Units Sold

Before Product IDs were different for each Email Send Date and I successfully used this formula:

=IF(ISERROR(VLOOKUP(F2,UnitsSoldOnlineVlookup!$C$2:$D$31000,2,FALSE)),0,
VLOOKUP(F2,UnitsSoldOnlineVlookup!$C$2:$D$31000,2,FALSE))

Now I need to embed one more condition to this formula - lookup Units Sold for the Product ID as well as the email date:

lookup Units Sold for a Product ID for a corresponding Email Send Date in UnitsSoldOnlineVlookup table and return Units Sold into the corresponding cell in the Performance tab.

I thought to use MATCH function in addition to IF and ISERROR functions but I it doesn't work - I know it is wrong.

=IF(MATCH(B2,UnitsSoldOnlineVlookup!$A$2:$D$31000,0),
ISERROR(VLOOKUP(F2,UnitsSoldOnlineVlookup!$C$2:$D$31000,2,FALSE)),0,
VLOOKUP(F2,UnitsSoldOnlineVlookup!$C$2:$D$31000,2,FALSE))

View 7 Replies View Related

Vlookup With Multiple Criteria In Same Column

Mar 25, 2010

I have a single page of consolidated data that I need to pull from. The data is formatted like the following

Column A Column B
Category
Subcategory 1 Data
Subcategory 2 Data
Subcategory 3 Data
Subcategory 4 Data

All in the same column. I need a formula that will look for a certain category and then a certain subcategory and then provide the number to the right. The Categories and subcategories are in Column A and the data I want pulled over is in Column B

View 4 Replies View Related

Vlookup With Unique Multiple Criteria

Apr 14, 2009

Im just going to start with the tables that will help show what i am trying to do...

TABLE 1
File #Dateid
215?
211?
27?
26?

TABLE 2
File #StartStopid
29131
214162
2183

Ok so say i have these two tables...i want to be able to look at the file # of line 1 in table 1, go to table 2 and return the id where the date from table 1 is between the start and stop in table 2. ie...in that example it should return id "2".

View 6 Replies View Related

Multiple Criteria Vlookup In Vba Userform

Jul 7, 2009

I have a problem with vlookup, some of the items in the lookup array are not unique and vlookup gets confused with multiple matches, however if I can use a combination of 1st and second columns as the criterion then it would result in a unique match.
Problem is I don't know how to acheive this in vba (but I can with the worksheet formulas). (attached is a sample worksheet)

View 5 Replies View Related

VLOOKUP Multiple Criteria (Dates)

Jan 22, 2009

In column I, there is a list of dates - month and day only

In column J there is a list of dates, month,day, and year.

--I----------------J
1/14----------1/14/2009
1/14----------1/15/2009
1/14----------1/16/2009
1/15----------1/17/2009


in column K, I am trying to setup a Vlookup statement that states if the month and day in column I = the month and day in column J then return the value in column J.

I have the following formula, but it just returns N/A.

View 6 Replies View Related

VLOOKUP Based On Multiple Criteria?

Oct 1, 2011

I'm trying to create an Excel based dashboard for my company. One part of the dashboard is a Top 20 Accounts based on territory, region, or district. Each of these three areas has source data in a seperate table. I need the top 20 vlookup to pull from the territory table if I enter a territory name in cell B20, pull from the region table if I enter a region name, and so forth. There are 10 different regions, 2 different districts, and 51 different territories.

I'm thinking that the answer somehow involves an IF statement. e.g. If cell B20 equals a region name, then perform the vlookup on the region table. If it contains a district name, pull from the district table. Otherwise pull from the territory table. I'm also thinking I may want to list all of the territories, regions, and districts in their own seperate column so the formula can say something like "If cell B20 is found in column M, pull from the territory table, if it's in column N, pull from the region table.

View 3 Replies View Related

VLookup With Multiple Criteria And Calculations?

Mar 30, 2012

I have one spreadsheet that contains employee overtime info per pay period which is bi-weekly, another spread that has their monthly production numbers. So...

Employee OT PayEndDate
John Smith 5 01/13/12
John Smith 7 01/27/12
Jack Jones 8 01/13/12
Jack Jones 9 01/27/12
John Smith 6 02/10/12
John Smith 3 02/24/12
Jack Jones 8 02/10/12
Jack Jones 10 02/24/12
And so on

On the other sheet
Employee Production Month
Jonh Smith 53 Jan
Jack Jones 75 Jan
John Smith 45 Feb
Jack Jones 80 Feb
And so on,

What I need to do is see the overtime hours per month, and the production numbers for the same month. Something like...

Employee OT Production Month
Jonh Smith 12 53 Jan
Jack Jones 17 75 Jan
John Smith 9 45 Feb
Jack Jones 18 80 Feb

I have a pivot table the sums up the OT by PayEnd Date but need to change PayEndDate to month, which I know how to do, but then add in the production any thoughts on how I could do this?

View 5 Replies View Related

VLOOKUP Or HLOOKUP With Multiple Criteria

Jul 17, 2012

I am looking to pull out an outcome based on the user inputting two criteria, below is an example:

A
B
C
D
E
F
G
H
I
J

[code].....

So if the user inputted P1 into cell H2 and inputted 9 in I2, J2 would show Pass, but if they inputted P5 into cell H2 and inputted 9 in I2, J2 would show Fail.

View 5 Replies View Related

Vlookup Multiple Criteria On Two Lists

May 5, 2007

I have a workbook with two sheets

sheet1(Invoices) is the master and sheet2 (GR) contains information that i need to put onto sheet1.

I need a formula that will allow me to lookup sheet2 based on the criteria from 3 columns on sheet1... (PO no, Part No, Qty)

At the moment I am using 3 different vlookups to achieve what I need

If there are records on sheet2 which matches sheet1 then I would like to have the word MATCH if there is a match and CHECK if there is not?

View 9 Replies View Related

Index / Match Or VLookup For Multiple Criteria

Jun 9, 2014

Getting a formula that will generate the corresponding rating attached to a row value and columns header as per below example:

EnglishSS1 EnglishSS2 EnglishSS3 Rating
10 20 30 3
20 30 40 2
30 40 50 1

Where my variables would be based on whether a person is under EnglishSS1 and getting a score of <=10, the resulting rating would be 3. I know this is doable by doing a vlookup with a range lookup value of false. However I have roughly 70 column headers and it will be a bit taxing to combine an If and Vlookup statement to address it.

I have attached a sample sheet for reference : Book1.xlsx‎

View 2 Replies View Related

Vlookup Using Multiple Criteria To Check Values

Jan 15, 2014

Have spent ages on this to no avail. Need the attached sheet to verfiy the values in the "Reconciliation" are correct when referencing the "Prices" sheet. I need column F (Reconciliation sheet) to lookup the "Code" in column B in the "Prices" sheet and then further look up the "Payment Frequency" (column D in the Reconciliation sheet) in the "Prices" sheet to verify that the price is correct.

Due to slight decimal point issues, if the value has a greater than 0.02 difference then display "ERROR" otherwise 0.

View 6 Replies View Related







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