# Sum A Column When The Quantities Meet Two Criteria

May 28, 2009
I need to sum a column when the quantities meet two criteria. The name in one column, and the date in another column. Probably an easy formula, but new at this and having trouble.

View 4 Replies
ADVERTISEMENT
Mar 13, 2014

How can u use sumifs to meet 2 critera and then sum the one column..

=SUMIFS('[South Pac Load Tracker - MAR14.xlsm]SPECIALS TEAM NZ'!$M$8:$M$100000,'[South Pac Load Tracker - MAR14.xlsm]SPECIALS TEAM NZ'!$C$8:$C$100000,B5,'[South Pac Load Tracker - MAR14.xlsm]SPECIALS TEAM NZ'!$B8:$B100000,$A$2)

That is the formula i used and it worked, yet when i try to use it for other names (where b5 would be) the numbers skew and do whatever they want..

I just want to sum all of the values in M:M which have B5 or "fiona" in columns C:C and also match the date from B:B with A2.

I believe ive done it right and as i say it does work with the first name in b5 but when i pull the formula down it doesnt work anymore...

View 5 Replies
View Related
May 14, 2008

I have a filtered list of data expanded to "all" in each column. One column is "percentile" (25%, 50%, 75%, etc).

Search down the "percentile" column until you encounter 25% as an entry, then sum a number in the same row from a different column with each 25% entry you find.

View 4 Replies
View Related
Dec 31, 2013

I'm developing a spreadsheet for a nonprofit that provides feedback on their major fundraiser/auction. I'm trying to create a formula in a cell that will look at the bidder #'s in column B and add the value of the their purchased items found in column C and return the number of the bidder that has the largest total value of purchases.

This can be done with a pivot table and give a table of all bidders, their total amount paid for items, and the number of items purchased.

View 1 Replies
View Related
Mar 19, 2014

I am trying to conditionally format cells in column I (named range of ETID).

I want the cell to change shading if the cells do NOT meet this criteria:

Whole Number10 digitsstart with '0' or '1'I have this but it isn't working:

=AND(OR(LEFT($i2,1)="0",(LEFT($i2,1),1)="1"),OR(LEN($I2)<>10,($I2)<>""))

View 4 Replies
View Related
Dec 8, 2008

I am trying to use COUNTIF formula to count how many item in a column that meet certain criteria, say between 10 and 20...

=COUNTIF(G1:G100,"AND(>10,<20)")

View 3 Replies
View Related
May 23, 2008

need a formula to calculate the total number of x's in one column (column B, C, E are training types= x) where the corresponding column date falls within a date range. It’s to total each type of training done for each month. I have 3 training type columns and a cell that calculates the total number of trainings for the each month:=COUNTIF(F2:F100,">="&DATE(2008,2,1))-COUNTIF(F3:F200,">="&DATE(2008,2,31)).

So now I just need it broken down by training type per month. How many x's in each column for February as an example.

View 7 Replies
View Related
Dec 6, 2013

I have a table with 3 columns with an unkown number of rows (text, date, date) that is being imported daily.

I want to create a 4th column with dates starting from today and each subsequent row be one day earlier. I want to look at 30 previous days.

I then want to count the number of rows (looking at column 1-3) with the following criteria:

Countif column2<= "date in colum4" AND column3< "date in column4"

View 6 Replies
View Related
Mar 25, 2009

I have a spreadsheet that is set out to look similar to a MS Project plan, with dates across the top, users in column A and Assignments in column B. In the corresponding cell that matches the user, date and assignment they will enter the number of hours they anticipate working on the assignment.

I then have a summary sheet that covers all assignments, week ending dates and users. I want to be able to calculate the hours and copy it into the cell in the summary sheet that matches the Day, User and Assignment. I have tried using SUMIF, but this requires the criteria cells to all be in columns, but with this sheet the dates are in a row.

View 9 Replies
View Related
Oct 6, 2006

I have built the following code which should look through a data sheet and then work out the instances where it meets the following criterias:

= "Client A"

= "First letter of surname is "a"

The code is as follows:

Public rowcn

Sub compare()

Dim rngTemp As Range

Dim intCounter As Integer

loop_col = "Client A"

data_sheet = "Data"

target_sheet = "Summary"

rowcn = 2

Do.............................

View 2 Replies
View Related
Apr 6, 2013

I need to count the number of occurances that meet two criteria i.e.,

Status needs to be UNSOLD

Size needs to be =>10.5 and also <12.5

Dress

Status

Size

1

UNSOLD

9

2

10.5

3

12.5

4

UNSOLD

12

5

15

View 4 Replies
View Related
Apr 7, 2014

Aim - Extract every word after: and before , and put them in the appropriate headings

I have attached my desired results in column B - E. To calculate the answer, the heading of the tile is normally just before the : Meaning the Answer is after the : and before the ,

View 2 Replies
View Related
Nov 22, 2009

On the attached example i would like a formula in F2 which sums all the values where column equals "Smith" and column B equals "Golf European". I'm assuming it would involve the SumIf formula but i'm not sure if this is the best solution when the criteria is in two columns?

View 3 Replies
View Related
Jul 2, 2014

I have a spreadsheet that has employee name and average hours worked.. The employee is listed multiple times because each row represents a pay period with number of hours worked. the last column I used to average the hours worked. So what I need is whenever there is a value greater than 30 in column g, I need to copy the row where column G has a value. It can be copied on the same sheet or on another.

View 9 Replies
View Related
Jun 23, 2009

I am trying to use this function to figure out averages for tests. there can be up to 25 tests in the sheet which is where the "YES" comes in. If the test booklet was used for this class then YES will be placed in the cell in field B2:B26.

Now thes issue I'm having is that the formula is doing the math for the fields C2:C26 if there is a number in them if there is even if it does not say YES in the B2:B26 field.

Here is the formula/function I'm using:

=(COUNTA(C2:C26))/COUNTIF($B$2:$B$26,"YES")

View 6 Replies
View Related
Apr 11, 2008

I have a list of items (TR Sets) from 1 to 96 in the range B4:B99, with values corresponding to each one (Acid Number) in the range C4:C99. I would like to make a separate list that names each TR Set (using numbers 1-96) that has an Acid Number > 0.1 . Is there a formula to do this?

View 13 Replies
View Related
Apr 5, 2012

I want to make a function that gets the range like. "A1:B9" And this function automatically gets the range when given criteria meet.

For example: I have a cell A1 with value 0 and next 0 value in cell A10. I want to put that function in C1. So this function returns me the range like " A1:B9"

View 3 Replies
View Related
Jun 18, 2013

I need a formula that will tell me if EITHER two cells = a text word. I've tried a few things and can't seem to get it to work!!!!

See in the example of my spreadsheet below: If A2 = FALSE or B2 = FALSE then D2 should display "Allowed" if either are TRUE D2 should display "Not Allowed"

Is this possible!?!?! I've tried way to many different formulas and am close to giving up..

A

B

C

D

1

Not Slow

50%

FY

Change

[Code] ........

View 6 Replies
View Related
May 30, 2014

Basically, need to count rows that have 5 columns of data in it. If all 5 columns within a row have something in them greater than one character, that row needs to be counted.

View 1 Replies
View Related
Apr 6, 2007

I want this macro todo is to start at the top of columns A to J

and work down the column and colour any cells that meet the criteria.

Range(“A1”).Select

Do Until ActiveCell = ""

If ActiveCell > 0 Then

Selection.ActiveCell.Interior.ColorIndex = 5

Else

ActiveCell.Offset(1, 0).Select

End If

Loop

End Sub

View 9 Replies
View Related
Oct 27, 2009

I need to extract key cell info from a master list when one of the cells meets a certain criteria.

Example:

Each row of the main sheet represents a Purchase Order with columns A-M each containing text, numeric, or currency values regarding that PO. Column F represents a 4-digit activity code that defines exactly what was purchased. If the activity code for a row is in the 1000 series (1000 -1099) I need to assign info from 3 other columns (say B, E, &G) to a subsequent sheet for tracking.

My limited Excel-o-vision has built this: (sheet 1 represented as FY10)

=IF(AND('FY10!F4>=1000,'FY10'!F4

View 9 Replies
View Related
Jul 3, 2009

I want to sum all cells in column A that have one of several tags in an adjacent cell in column B.

- Some of the rows in column A are not tagged

- There are currently 3 tags that are valid in column B (I, S, R), but this could increase (or reduce) in the future, say to I, S, R, E

- The possible tags are contained in a named range, but don't have to be

- It's not possible to restructure the data because the columns are in a scratch sheet, where a variety of calculations are created on the fly in the column. I've attached an example, which might make it clear

- There are several (up to 10) sheets like this in the workbook with lots of different calculations that are then summarised in to some analysis.

- The overall objective of the workbook is to be able to;

a) include/ exclude individual calcs for any one column

b) include/exclude a country - solved

View 3 Replies
View Related
Jan 4, 2008

In my spreadsheet I have several columns and I have written a formula that has two conditions. If these are met the result is counted. However I want to add another condition. I need to write a formula that displays information relating to the conditions in a cell if the other two conditions are met. For Example, if the formula picks out that a row has the word 'John' and has the a number between 1 and 14 it will copy the inputted data at the beginning of the row.

View 6 Replies
View Related
Jun 13, 2013

I attached a spread. On the data tab, I have 2 criteria that I would like to use to move rows to another sheet. Columns U and W. An example would be that all rows that have a coil in Bay "B" and are allocated would go on the "B Allocated" sheet. I would also like this to automatically update when I delete the data in the data sheet and put new data in.

View 4 Replies
View Related
May 17, 2014

BP Formula.xlsxI'm not sure what formula to use or if Excel can do this. I want to use it to determine number of blood pressures in a certain range. So if I use column A for SBP (systolic BP) and column B for DBP (diastolic BP). I want a formula to tell me if column A is between 140-159 or column B is between 90-99. I can get that part, but what I'm having trouble with is it counting each row twice if both column A and B meet the criteria, whereas I want every row (person) to only be counted once if either column A OR column B meet the criteria. (See attachment)

View 5 Replies
View Related
Dec 22, 2013

I would like to pull all rows and columns from a table and copy them to a separate sheet. I would like to pull the data if a certain value is present in a particular column. Essentially, it is the same effect of filtering the data but I don't want to have to keep filtering and copying specific cells and pasting them into a different sheet if I need to change the raw data.

Example: I would like to copy all ids, store, and partner information IF the partner is "X". I would like to put this information in Sheet A.

Capture.PNG

View 2 Replies
View Related
Feb 14, 2014

I have a table that I would like to search to return all the values that meet 2 criteria entered by the user.

I have 3 columns - Role Name, Skill, and Skill Level - I'd like to be able to enter the skill and skill level and return all the roles that meet the two entered criteria.

At the moment I have an array, but it only returns the first value from the Role Name column that it finds.

=INDEX(A2:A100,MATCH(1,IF(C2:C100=G4,IF(E2:E100=H4,1))),0)

Where the A column is the role name, C is the Skill, and E is the Skill level. In cell G4 the user enters the skill to be search, and in H4 the level required for the skill (a scale of 1-4)

Is it possible for the formula to return all the values in column A that meet the criteria entered in G4 and H4?

View 7 Replies
View Related
Oct 7, 2009

Every other line is the planned production and the others are filled in after as the actual production

I have a sumproduct formula right now that looks if the line is considered planned production and then if there is a number greater than 0 planned on that day. The idea is to tell me the number of Stations scheduled to run that day.

Here is my problem- if a station is running two different products it gets counted twice.

I am trying to find a way that once a station is counted it only gets counted once even though they are on seperate lines.

Attached is an example of what I have with the formula and below that is what I am looking for

View 2 Replies
View Related
Nov 13, 2009

I find this difficult to explain, so have attached an example. I need to total all entries on a calender that are entered after a specific date. EG:

If the given date is 15 Sept 08, I need all values in Sept - Mar to be totalled. I am measuring data on numerous spreadsheets, all others have specific start dates and finish dates, so its a simple a1-b1 to get the number of days, multiplied by costs. This particular spreadsheet is laid out in calender format, hence the problem)

View 5 Replies
View Related
Jul 29, 2009

I'm trying to apply an autofilter to do the ol' "delete visible lines that meet criteria" trick. Unfortunately my vb macro, although applying the string correctly, hides all of the lines...

This is the part of code relevant to filtering (i'm trying to filter on column M which is 13):

View 6 Replies
View Related
Dec 31, 1969

I want to put a formula in a spread sheet that if block f5 is equal to or higher than 20% of block b4 then block d3 * .0 if less than then * by .0078

View 14 Replies
View Related
Sep 20, 2013

counting some room numbers that meet a specific criteria. For example:

Let's say i have room numbers

1233

1234

569

2148

3422

I need to count the room numbers which the last two digits are greater than 40.

So far I have tried to separate the last two by using the Right formula but then when I try to use countif, it doesn't work as I guess that the result of the extraction comes back a a text value

View 3 Replies
View Related
Nov 21, 2006

I have a spreadsheet with 3023 rows and columns A-L. Here's a small sampling of Column A (with heading "sku" included, copied exactly as it appears in the spreadsheet):

A

sku

3102-0400-100000

3102-0400-200000

3102-0500-100000

3102-0500-200000

3102-0600-100000

3102-0600-200000

3102-0700-100000

3102-0700-200000

I need to delete every row in which column A includes the text "200000".

Although the above sampling shows "200000" appears in every other row, that is not the case in all 3023 rows.

View 9 Replies
View Related
May 19, 2014

Column b in sample is conditionally formatted based on it's values. I want to also apply that same formatting to the person's name in the chart in D2:I9. For example, Jeff is in bottom 50% so cell B2 is shaded red with red text. I would like to apply that same red shade and red text to all the cells in my chart that say Jeff. Also, as example, all of the cells in my chart that say Kelsey would be formatted with green shade/green text and so on...

View 1 Replies
View Related
Nov 24, 2008

I have a spreadsheet which contains data for crime incidents occurring in a month. I have created a worksheet which uses "IF" statements to pull in data that occurred within the last 24 hours only. I would like to create a report that can be printed which has a crime category and lists all the incidents for that category below that occurred during the day. The issue I am having is that all "IF" and "LOOKUP" statements are line for line and I want to be able to skip blanks or where it is not the category in the title.

View 4 Replies
View Related
Jan 7, 2010

I have been working with personal record data in multiple workbooks, using sumif, index, vlookup etc to show various required info.

What I now need to do is take all the records of people aged between 16-18 and list this in a new worksheet.

I can get all the records I need in a pivot table but it needs to be something I can add columns to in order to gather further info.

View 7 Replies
View Related
Jun 28, 2014

I have a workbook with many (25) worksheets which all have the same structure, column headings, etc. but vary as to the number of rows. I would like to search all worksheets in workbook and copy to worksheet "120" only those rows where column C is "120" and column E is "1-00053-".

Ideally, input boxes would be used to enter these criteria so that it can be used for different scenarios in which these values will vary.

View 1 Replies
View Related
Jul 19, 2006

I need to add nonblank cells (cells have text) in a column that equal the

criteria of another cell.

So I want to add the cells in Column C that have text but also equal the date in Column A (which is equal to the date in Cell A1).

I have tried the follwoing:

=SUM(IF(A2:A19=A1,IF(C3:C19="x",1,0)))

=COUNT(IF((A2:A19=A1),C2:C19))

=IF((A2:A19)=A1,COUNTIF(C2:C19,"x"))

View 14 Replies
View Related
Dec 18, 2011

I need to formula to count the number of cells that meet the criteria below,

Find the letters 'AT' in some part of the cell and a blank cell next to it...

Doing a different formula for each, doesn't bring out the correct figure.

View 3 Replies
View Related
Mar 8, 2012

I have a row that contains a different time (hh:mm) in each column where each column represents a different date which is display in row 3. If there is no time the cell is populated with "N/A"

I want to count how many cells for a specified Month/year are not equal to "N/A". I have been able get each selction criteria to work but when I try merging numeric and non-numeric queries I lose it.

The following formula was able to give me the count of cells "N/A"

=COUNTIF('Master Data'!$UA59:$ALZ59, ">0")

and this gave me a count by Month/Year

=SUMPRODUCT(--(YEAR('Master Data'!$UA3:$ALZ3)=2012),--(MONTH('Master Data'!$UA3:$ALZ3)=1))

When I tried creating one COUNTIF I was unable to get it without an error as I needed the YEAR/MONTH functions.

View 7 Replies
View Related