Find And Sum Based On Criteria

Feb 26, 2009

I have a sheet with 3 columns - Line, Product and amount. I have to calculat the amount based on which line it is, and which product.

I. e I want to calculate all the amount in Line 1 except if the product is 3,23,31 (just an example - the range can be longer).

In workbook added i have shown the problem. I have tried the sumproduct formula, but cant get it right!

View 10 Replies


ADVERTISEMENT

Find The Nth Largest Value Based On One Criteria

Mar 9, 2009

I have a data set where I am trying to find the nth largest value based on one criteria? How would one use do this using the large function?

Example:

Dept. Name / Widgets
ABC / 10
ABC / 8
XYZ / 9
ABC 7
ABC / 3
XYZ / 4

If I need the third most widget production of Dept ABC, the formula return 7.

View 6 Replies View Related

Find A Value In A Table Based On Other Criteria

May 30, 2009

I'm trying to find a suitable formula that looks at two cells (J3 and V3) in Sheet 1 (a person's employment grade (e.g. 18) and their performance percentage e.g. 92.5%), finds those values in a table on Sheet 2 and then places the corresponding value from that table in Sheet 1 at cell Z3.

View 2 Replies View Related

Find Max Date Based On Criteria

Mar 20, 2012

I have a table of shipments made to my company broken down by style, color, and delivery date. I need to find the most recent delivery date for each style/color combination.

This is my table
ABCStyleColorDelivery Date1ABCRed1/1/20122ABC
Blue2/15/20123123Red3/12/20124123Blue1/30/20125ABC
Red2/27/20126ABCRed3/1/20127123Blue3/20/2012

and my desired results are as follows:
StyleColorMost Recent DeliveryABCRed3/1/2012ABCBlue2/15/2012123Red3/12/2012123Blue3/20/2012

The style and color columns are already filled in, I just need a formula for the date column.

View 1 Replies View Related

Find Last Sheet Based On Criteria

Dec 16, 2013

I have a workbook with a number of sheets, the first 5 are data sheets populating the other 30 (more will be added in the future).

These worksheets are renamed with a macro when the data is refreshed, allowing the sheets being used to vary week on week

The code i currently have running does a number of things, however i need it to run only for the relevant worksheets

The sheet names are either 4 digits long, or 1 digit if unused.

I need a bit of code that says run my macro for all sheets with a name of 4 characters and ignore the rest.

View 3 Replies View Related

How Do I Use Lookup To Find Data Based On 3 Criteria

Aug 22, 2008

I have a bit of a challenge. You'll have to take a look at the attached files to understand what I am trying to do. I am asking for your advice. I am creating multiple spreadsheets (QPPcompany.xls) that will refer back to a master data(QPPdata.xls) file.

I am trying to figure out how to best set up the data file so that I can do lookups on the data from the referencing files. Here's the challenge. I need to be able to find in the data page the company name in Column A and then how many L's (or C's or P's) they had in a specified month. So for instance I need to be able to find the number 3 in cell E6 and place it in B15 of the referencing file. The required criteria for lookup are Company Name, Month and then L, C or P.

So my question is, is this possible with how my data file is currently set up? I think it may be a problem to have the month/year in row 4 refer to 3 different colums for each month (L, C and P). I don't mind making changes to the data file to make these lookups possible and I think it may be necessary.

View 14 Replies View Related

Find A Value Based On Criteria In Columns And Rows

Dec 5, 2008

I have a workbook in which I have two sheets. One sheet is a report and the other is a data dump. The data dump has headers in in column A starting in cell A6 and headers in row 5 starting in cell B5. There is then data going from B6:J20.

In my report I then I have same setup with headers in column A and row 5. The difference is that the headers are not in the same order as the dump. What formula could I use that would look for the two headers in my report sheet and then match it with the value in the data dump that uses the same two headers?

View 2 Replies View Related

Find Earliest Date Based On Certain Criteria

Jan 25, 2010

Ok so let me set this up. I have 2 columns: .....

View 14 Replies View Related

Find Closest Match Based On Two Criteria

May 12, 2009

I have a sheet of pump test results, placed in rows, where the test rig is set at a specific speeds and flow and it records pressure. At each stage of the test a number of snapshots will be taken (Usually between 3-5 at each stage), so I have 3-5 rows of very similar data. I only need to use the best row from the selection available, so I am hoping to find a formula or code (Don't care which) that can look at the results and select the row of readings where the speed AND the flow are closest to the targetted data.

For example: In cells G6:G8 I have flow result values 0.129, 0.151, 0.156 and in H6:H8 I have speed result values 72.536, 71.82, 72.13. These are actuals. In cell N6 I have the target speed (75) and in O6 I have flow target (0.15), but these could be moved anywhere to suit really. What I was hoping to do, but am struggling big time, was to just flag up the row of readings where these two values are closest to the targets by placing a check mark in column L:L which I have formatted in monotype sorts and would like to place a "4" (Which gives me a check mark) on the 'best' row. From that I can do more with some simple IF statements.

Is this feasible, or am I trying to do something beyond Excels capability, it is certainly beyond mine at the moment. I was looking at the check mark method, but that is not essential, so if anyone has any suggestions on an alternative means of identifying the best row of data, that might make it easier to do, then I am listening.

View 9 Replies View Related

Formula To Find The Sum Of A Set Of Data Based On Specific Criteria

May 20, 2014

automate a data table I set up in excel. I need the formula to look through a bunch of raw data I have, and add quantities in each row, but only from the rows that have the same machine numbers. I attached the document of raw data I've collected, and on a separate tab, an organized table. I would like this table to automatically be updated with the appropriate data, as I enter it as raw data.

View 3 Replies View Related

Find Max Or Highest Time In Column G Based On Criteria?

Mar 20, 2014

Im looking to find the max or highest time in column G based on the criteria (date selected and name) So if the date is the 10/02/2014 in G10 it would look up that date and the name and bring back the time in column H. I have put an example answer in H12.

View 9 Replies View Related

Find Data Based On Horizontal And Vertical Criteria

Mar 21, 2007

I have a spreadsheet that I am trying to create a formula for that will bring back the data found when you compare an X and Y axis. A sample is attached as the data is huge and I figured what ever you all created I could modify.

I need it to bring back the data found when I run my finger down the column till I hit the appropriate row.

View 9 Replies View Related

COUNTIFS On Filtered Table To Find Sum For A Column Based On 2 Criteria

May 23, 2013

I'm trying to use countifs on a filtered table to find the sum for a column based on 2 criteria.

I've used =SUMPRODUCT(SUBTOTAL(3,OFFSET(Sheet3!K7,ROW(Sheet3!K7:Sheet3!K7:K20000)-ROW(Sheet3!K7),0)),--(Sheet3!K7:Sheet3!K20000="Yes"))

for a single criteria which is great, but I also need it to look at column B.

In a non-filtered table it works as:

=COUNTIFS('Sheet3 '!$K:$K,"Yes",'Sheet3 '!$B:$B,B5)

Is there any way to do this?

View 3 Replies View Related

VBA - Advanced Filter / Find Row Items To Remove Based On Multiple Criteria

Jun 28, 2014

I'm working with many rows of data (500,000+) and many columns. To simplify my question, I'm going to provide a simple example using made up numbers and only the columns I'm concerned with.

BillT Doc.ItemQty
F11231012.00
F2123205.00
S1123105.00
RE321202.00
F2321108.00
F2321201.00
RE321203.00
RE999808.00
F27771001.00
RE7771001.00

I am trying to remove the docs that have two Bill types that cancel each other out, where the qtys match and highlight the rows where the qtys don't match. The macro needs to have the positive and negative bill types programatically entered, where for example F1 and F2 are positive and S1 and RE are negative. Keep in mind the data may not necessarily be in order as it is above.

So for example with data above, the rows for doc 777 would be removed completely because the item numbers are the same, the qty is the same, and the bill types oppose each other. Doc 123 and Item 10 lines should be highlighted since their bill types are opposed bu their qtys don't match.

I hope this makes sense. I tired to achieve this using multiple loops and arrays, but ran out of memory when working with the entire set of data. I'm assuming their must be a better way to do this, I'm hoping some of the intelligent individuals here will be able to point in the right direction.

View 8 Replies View Related

Sum Range Based On 1 Criteria Of Column & 2 Criteria Of Another

Mar 4, 2008

i m trying to use the sumproduct formula, and OR but i cannot seem to get this right! =Sumproduct(--(A1:A10="Yes"),--(OR(B1:B10="Yes",B1:B10="Mayby")),C1:C10)

I have also tried Array Formula as follows; {=SUM(IF(A1:A10="Yes",IF(OR(B1:B10="Yes",B1:B10="Mayby"),C1:C10)))}

I have also used UDF to for the sumproduct, but cannot make that work! keep giving me value message

Function
Function Customer(Service as Range, Outcome as String, Service2 as Range, Outcome2 as String)

Customer = Sumproduct(--(Service = Outcome),--(Service2 = Outcome2), Result)

-Didnt get thru this bit to start building on the Function! keep giving me #Value!

View 5 Replies View Related

Auto-Populating Multiple Values Based On Two Criteria Based In Comboboxes

Aug 7, 2013

I'm starting a dashboard, where on the front page I have two combo boxes on the left, and three empty fields to the right. I'd like the three fields to the right to auto-populate table-based values depending on the chosen criteria from BOTH fields (by store and month/date). I've attached a sample of what I've got so far. I've only provided three tables for this example, and I have a table with the same column/row titles for each metric and I have three different metrics I'd like to auto populate: COGs, Sales, and GM% or in the example, metric 1, metric 2, metric 3. No pattern in the table values, just wanted to populate the fields quickly. All fields are organized by store/month-date and I've set up a link to my combo boxes on a calculations tab.

View 2 Replies View Related

Find And Replace With Criteria?

Jan 6, 2014

how to find and replace to prefix and suffix string/text, see this below :

JACK MANHOLD ----------- JACK
SISCA JACK HOLAND ------- JACK
ANDREW JACK ------------- JACK

View 14 Replies View Related

Using Multiple Criteria, Find Value

Nov 6, 2009

I have 3 columns:

A has a sequential number
B has a date
C has a date

I want to find the first, second, and third occurrance when the following comes up in my list: B=date, C=blank.

View 2 Replies View Related

How Can Find A Value Using Two Different Matching Criteria

Feb 9, 2006

Col cCol dFormula
Lease TermCompany #6023%
3637%
4843%
6052%
12620%
247FALSE
368FALSE
48105%
609FALSE

Residual Table

Company #
127
438
569
10

Col b
Lease TermResidual %
1210%20%9%
245%9%6%
364%7%3%
483%5%2%
602%3%1% ......

View 10 Replies View Related

Find The Last Row Which Meets Criteria??

Feb 28, 2009

s/s has 325501 rows. Column C contains names of people (whether present or not -I enclose small attachment to illustrate).
Column J contains scores (if present). I need column N to list the last row number where each column C name scored points (not just when heshe was last present). I think I need macros which I can fill down both columns (??).

View 2 Replies View Related

Find Max Value Subject To Criteria?

Sep 12, 2012

I have a column of names. Most of these data show multiple times. Another column has values. I'd like to find the maximum value for each name.

This solution might correspond to "=MAX" the way that "=SUMIF" corresponds to "=SUM".

Note: the table has over sixteen thousand rows; some solutions may work technically but not be practical.

View 3 Replies View Related

How To Find 4th Value Using Three Criteria Found In Same Row

Jul 26, 2013

I have a spreadsheet that is about 500 rows and 70 columns big. I am trying to make a formula that lets me name three criteria from the same row, and using that find a value in that same row but different column. I am trying to find the the ampage of a motor. I am given the capacity, speed, and RPM's it can handle. However there are multiple rows that have these same values. I want to find the row with the greatest ampage value and take that value. How might I go about doing this?? Ive tried working with Index, Match, Vlookup, and Hlookup and cannot figure out the correct combination of these.

Heres an example. My capacity is Column A, my speed is in column B, and my RPM is in column S. I am trying to find the amps which are located in column AB. My first three values(capacity, speed, and RPM) are all deteremined and there are 6 rows in which all three of these values occur. I want to find the max amps in a row with those three criteria.

View 9 Replies View Related

Find Average With Criteria

Aug 4, 2009

In column A is the staff name, column B is the start date, column C is the end date and column D is the difference.

I need to find the average number days for task completed for each staff for the week. I need a formula that will look for a particular staff name in column A ( which appears many time randomly in column A for each day of the week) and calculate the average days for the total task completed for the week.

View 23 Replies View Related

Find Max Of String According To Criteria

Jun 13, 2007

I want to find out the max of (Property No) which is String and Number together, according the (Location), How it is possible?
for further info see the example...

View 9 Replies View Related

3 Criteria Find & Match

Feb 16, 2008

I have three sets of columns with addresses. I'm looking for a match/index/vlook up formula that can search all three columns and list the matched addresses in another column. Also note that one or two of the columns are formatted differently (although there is enough information to match closely to the other columns where relevant).

View 2 Replies View Related

Find Range Of Cells Using A Criteria

Dec 27, 2008

I have a Range of cells in 1 column..E.g. Below

A
B
B
B
A
A
B
B
A

It continues on to a few 100k. Now I have a criteria which i will use to search for my range of cells.

Criteria e.g.
A
A
B
B

So i want to search for this particular pattern in my Long list of cells and locate the exact location of the pattern i specify. How can i Do this in Excel.

View 6 Replies View Related

Find And Isolate Duplicate Criteria

Apr 6, 2009

I have a worksheet that tracks errors (10 different error types are tracked) that may occur on anywhere from 20 to 200 different jobs. What I need to be able to do is find all the jobs for any given day where a specific error has occurred two or more times for that day. Often a specific error will occured many times on the same job on the same day. What I need to end up with is only one row for each job that shows the Date/Time (m/d/yyy h:nn), JobNumber (number), ErrorNumber (text field) by either hiding or deleting those rows that do not meet the criteria.

View 8 Replies View Related

Find Minimum With Criteria - MINIF

Dec 10, 2009

I have following problem I have some table - 2 columns - in first is text in second is value.

example:
A 10
B 5
C 3
A 15
C 8
D 7
A 9

I need to use formula, which shows me minimal value for choosen text. I tried matrix formula like {=min(if(text table=choosen text; second column;0}, but it's not working

View 5 Replies View Related

Formula To Find The Filter Criteria

Dec 10, 2005

I have a worksheet which has in column A2:A9 a label and in column
B2:B9 a value, like so:

A1="LABEL" B1="VALUE"
A2="LabelGreen" B2=452.47
A3="LabelBlue" B3=-87
A4="LabelRed" B4=9
A5="LabelGreen" B5=-7
A6="LabelBlue" B6=1888.97
A7="LabelRed" B7=144
A8="LabelGreen" B8=-0.02
A9="LabelBlue" B9=87002

I use the autofilter on column A to select only certain labels.

in cell D1 I use the subtotal formula to give me the sum of all
filtered values.
D1=SUBTOTAL(9,B2:B9)

This works fine, for example, if I filter on column A for "LabelGreen",
the formula in D1 calculates 452.47 - 7 - 0.02 = 445.45.

What I am trying to do now and what I have not yet found a solution for
is:

In cell C1 I want to display the criteria I have filtered for.
For example, when I filter column A for "LabelGreen", I want
"LabelGreen" to be displayed in cell C1.

I was thinking something similar to SUBTOTAL might do the trick, for
example:
C1=SUBFIRST(9,A2:A9)

But this only gives me (and I am not surprised) an error "#NAME?"

View 12 Replies View Related

Find Last Row And Score Which Meets Criteria?.

Feb 28, 2009

s/s has 325501 rows.

Column C contains names of people (whether present or not -I enclose small attachment to illustrate).
Column J contains scores (when present).

I need column K to list last row where column C name scored and column L to list last score.

I think I need macros which I can fill down both columns (??).

View 2 Replies View Related







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