Sum Cells From Table By Criteria

Aug 1, 2007

I am trying to create a worksheet where a user would enter a value (in example "Class"), then specify the "Wks of Safety Stock" required ("Wks of Safety Stock"). This would be dynamic in that every week the data would change based on the current week. Part of the issue is that most of the time the weeks of safety stock is fractional, expressed in decimal format (I've used 2.6 in the example). I know I can use index Match to get the starting point of my data, but what would be the best way to sum to the right the appropriate number of weeks?

View 9 Replies


ADVERTISEMENT

Compare Two Cells In A Row With Criteria. Count Rows That Match Criteria

Sep 22, 2009

Here is what I have. 4 Worksheets. The first worksheet is a summary page. I have 350 personnel that are broken down into three different groups. So each group has it's own sheet. Here is what I need to accomplish. Results need to be posted on the summary sheet.

I need to compare cells B2 & D3 for each row on a worksheet and display the number of times they match on a worksheet. For example how many times does EP & EP match on a certain row. I need to compare cells B2 & D3 for each row on a worksheeet and display the number of times they don't match on a worksheet. For example how many times does EP & MP occur. I've attached an example for reference

View 5 Replies View Related

Macro To Create A Statistics Table From Another Data Table (containing Merged Cells)

Apr 14, 2009

I would like to have a macro to automatically generate a statistics table (on the "statistics" tab) with the 5 following fields:
Fragment names / # samples / # of failed samples / % of success / # of variations in the fragment (SNP). At the bottom of this table, I would like to have a cell with the average % of success for all fragments. The data to generate these statistics are on the "gene name" tab (please note that this name will change every time I will work on a new gene). To make things easier, I think the macro should be run from this tab.

1. The Fragment names are displayed in row #5. I use one column per variation per fragment. If one fragment has 3 variations, there will be three columns and I will merge together the fragment name cells. The fact that some cells are merged can be a problem when copy-paste to the stats table (as I would like to get rid of the merging).

2. # of samples corresponds to the number of cells in blue in column A. The number of samples can change from one report to another but is always constant in the same report.

3. # of failed sequences. In the table, I type "Failed Sequence" (if the analysis has failed) and "Missing Sequence" (if the analysis has not been done). When a sample is failed or missing, it is for the who fragment, no matter how many variation there is in the fragment, so I usually merge the cells of all variations for this failed sample.

4. % of success: this is quite easy #sample/#of failed+missing sequence for this fragment

5. # of variation is equal to the number of variations for this fragment (can be 0, 1, 2, etc.). When there is no variation in a fragment, I put '-- in all cells of the corresponding fragment on the "gene name" tab. Fragment 3 on my file is an example of 0 variation.

View 3 Replies View Related

2 Criteria Lookup In A Table

Aug 17, 2013

I have an engineering spec table. Down 12 columns I have height in metres of a post and across the rows I have square metres with 5, 10, 15, 20 and 25 being the sizes.

The engineering spec of the post type is in the table. There are some duplication of post types so post heights of 1m, 2.1m, 2.4m, 2.7m, 3m, 3.3m and 3.6m are the same, then they change. Its a similar thing in the other column headers for 10sq.m 15sq.m etc.

I need a formula so that if the post height of 3m was chosen and the sq.metres was 15 then it would tell me the post type from the table. Or if the post height was 4.8m and sq.metres was 25 it would tell me.

The post type is an engineering code of numbers and letters with no spaces.

View 5 Replies View Related

Populating Cells On A Table Using Data From Another Table

Jul 21, 2013

I have a table thats acting as a database analysing player data and I have a second table in a report sheet based on the database table. In my report table I have a drop down with the player names at the top and I want the data cells underneath to populate based on that particular players data from the database.

View 1 Replies View Related

Lookup Table Using Multiple Criteria

May 17, 2013

I have attached a demo spreadsheet to define the problem.

I wish to populate column K (Risk Rating) with data retrieved from the table, based on the corresponding information from Columns I & J.

e.g. I5 + J5 = Short term illness or injury + Unlikely. This corresponds to cell E9 (11) in the table so required response in K5 would be 11.

Help Book1.xlsx

View 1 Replies View Related

Assign Score To Value By Looking Up Criteria In Table?

Aug 19, 2014

I'm trying to find a way to return a value (score) based on the results in a table. I've been trying to use index and matches but am starting to think this will not be the answer for this one.

In the example attached, I have a section called report. For each project, there are criterias which need to be scored based on the values in the lookup table.

For example, project 1 has a result of 200 for criteria 1. On the lookup table 200 in criteria 1 would receive a score of 2. This result is then populated in column L as the score of this criteria.

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

Extract A Value Using 4 Criteria Inside A Table?

Sep 16, 2012

I'm working on a spreadsheet to anticipate the corrosion rates on multiple equipments, based on 4 criterias. At the moment, we type them down one by one and we search for the corresponding value inside the table we have.

Temperature

CS (carbon steel)
%Sulfur
TAN
[< 50-100]
[>100 - 150]
[>150 - 200]
[>200 - 250]

[code]....

These values aren't the real ones, but it looks like that. So, if I have a piece of equipment made of CS, I look at the specific table for CS (There are about 7 different groups of materials). I consider the %Sulfur, TAN# and the specific temperature. You also have to consider that this table is repeated with different outputs for higher level of %sulfur (>0.6, up to about 3%)

EX - Material = CS, %Sulfur = 0.4, TAN# = 0.7, Temp = 152, my value will be 9 (the bold numbers are the outputs). There is no linear relation or any sort of mathematical way to obtain the output, you have to look at the table.

In my mind, this part of my spreadsheet should look just like that :

Material
%Sulfur
TAN#
Temperature
CORR RATE

W
X
Y
Z
= Output

The excel part now, I tried working with IF() to specify a table to use as the TRUE value, trying to group multiple IF statement into one, but searching values inside multiple ranges is very tedious and I cannot cover all the possibilities... Then I tried working with INDEX() and MATCH() but again, these are not exact values, they are ranges, making the work even harder. Building an output with multiple criterias that are simple and exact is easy, I just can't seem to work it out with ranges.

View 9 Replies View Related

Exact Criteria In 2-variable Table

Jun 26, 2009

This is probably so simple for an Excel wiz, but I've drawn a blank.
I have a 2-axis table, with the formula =DCOUNTA(Data,"Function",B15:C16) in the top left intersect cell. Data range is the table of info, which has location and function column. Location has values UK and Ukraine.............yes, you've guessed it, the UK row of the table returns both UK and Ukraine numbers.
The criteria range B15:c16 has Function and Location as headings and blanks underneath. The data table references B16 and c16 as the row and column variables.
How can you modify the criteria or table formula not to use starting-with criteria but exact matches ? (probably have to use another formula besides an array version of dcounta, right ?)

View 9 Replies View Related

Statical Report Of Table By Criteria

Feb 28, 2008

I have a 5 column LIST that will have new rows added daily. Column A= Date (mm/dd/yy), B=id (s or u), C= ArriveTime (hh:mm), D=DepartTime (hh:mm). E is Delay time (D-C). Arrival and Departure times will vary from 5 AM - 9 PM but will always be on the same day. I would like a count of all s with delay of 0-6 min, 7-12 min, 13-18 min, 19-24 min and 25+ minutes. Also count all u with same delays. I should get 10 results (1 of each) using the following data. Would also like the mean, median, mode, min & max for all C (Arrival), D (Depart) and E (Delay) times.

1/1/08 s 08:00 08:01 1
1/1/08 s 08:00 08:07 7
1/1/08 s 08:00 08:13 13
1/1/08 s 08:00 08:19 19
1/1/08 s 08:00 08:25 25
1/1/08 u 08:30 08:31 1
1/1/08 u 08:30 08:37 7
1/1/08 u 08:30 08:43 13
1/1/08 u 08:30 08:49 19
1/1/08 u 08:30 08:55 25

View 2 Replies View Related

Lookup Table Using Horizontal And Vertical Criteria?

Mar 6, 2014

comp1.PNG

Attached is a screenshot. Basically I need to know that if PersonA has say 13.74 CPH and $776 DPH - what the incentive would be ($575)...

View 3 Replies View Related

Extracting Data From A Table According To Specific Criteria

Oct 24, 2009

I'm using Excel 2007 and I'm looking for a way to extract certain records/rows from a table and to have that data copied to another area of the spreadsheet. I actually want to extract Invoice amounts according to a specific account number so that I eventually end up with all the invoices for a particular client on another tab so that they can be printed out as a kind of client statement.

I know there are ways to filter and then copy the records/rows to another tab but I want it to be automated as far as possible. What I really want to do is to "pull" the records into a new tab by using some kind of formula in the cells where I want the data rather than having to copy it there. I know how to sum data for this kind of thing but what I'm really struggling on here is being able to "Display all the records in a seperate area" first before I eventually add formulas to sum.

I don't mind the records being coppied if the process is automated but don't really want to get into macros as writing macros isn't my strong point.

I've tried using "VLOOKUP" but it will only return values for the first data item it finds (Account number in my case), whereas I really need it to continue to return values for the data item it finds if there are multiple instances of it!

View 14 Replies View Related

Returning All Rows From Table That Match Certain Criteria

Nov 10, 2009

I need to retrieve information from multiple rows in a table based on certain criteria (date compared to today's date, existence of "no" in a column).

View 6 Replies View Related

Search Table With Multiple Criteria And Return Row

Nov 10, 2009

I have been working on a variation of this for a long time and I cannot get it to work.

I am trying to depending on the textbox selection get the proper ROW from DEALLIST to show up.

View 2 Replies View Related

Linking Pivot Table Filter Criteria

Jan 15, 2010

Hi All, I have 2 pivot tables (PivotTable1 and PivotTable2) which both source from the same pool of date.

The difference between the two are that I have a different report filter criteria.

For one the heading is "day", for the other it is "night". Each colum of data has the same entry range (names of staff) and I want to be able to link the two tables so for instance -

If i select "Paul" from the (day) report filter on PivotTable1, I want the (night) report filter on PivotTable2 to also change to "Paul".

View 8 Replies View Related

Pivot Table Criteria Based On Cell Value?

Jan 27, 2014

filter my pivot table using a cell value, rather than manually selecting from the dropdown.

The report filter title is Rnd H, and values start from 0 through to 2, at .1 intervals (so 0.1, 0.2, 0.3, 0.4 etc).

Rather than select "0.3" manually from the dropdown, can the pivot table do this if "0.3" was written in cell A1 for instance?

View 5 Replies View Related

Match Criteria: Compare Against Data In A Table

Dec 16, 2009

I have a sheet (name “master”) that I need to compare against data in a table. For each row, I am looking at two columns of information that I need to compare against the data table. The columns are (1) “State of Sale” and (2) “Associate ID”. I need to determine if the associate is allowed to make sales in the state that is identified, which requires looking at the data sheet.

This steps I need to take are as follows:

1 – grab the associate ID and determine if it is in the data sheet. If the ID is not in the sheet, then “No record found”. Else, go to next step

2 – if the ID was found in the data sheet, then the next step is to grab the “State of Sale” and compare against the data table. Go to the row of ID in question, and then go to the column of the State code in question. If there is an “x” in the intersecting cell, then sale is “ok”. If there is not an “x”, then “sales violation”.

View 2 Replies View Related

Formula To Lookup Two Criteria With Pivot Table

Jan 19, 2012

I have a report to fill that looks like this:

Table 1:
HEMANITOBAMANITOBA SK12

I want to fill it up with data from this pivot table:

HEIntervalManitobaManitoba SK11-10522-8423-8224-6125-5826-6427-6828-5929-53210-47211-53212-63221-7522-8023-7924-7825-7726-7627-7728-8229-86210-86211-86212-722

So basically what I want to do is for example from Table 1: If I want to find the what goes in cell in B2 (1, Manitoba) then I want to go to the pivot table find 1 which is in the first column(HE), there are 12 intervals to each HE(as seen in column 12), I want to take the average of all the HE with 1 corresponding to Manitoba (the values in Column 3) and to be put into B2 in Table 1.

View 2 Replies View Related

Populating Table With Data Using Multiple Criteria?

May 6, 2013

I am attempting to populate multiple rows in one column with data from another table. I need to get the correct street address using multiple values, i.e. first name, last name and city, as some of the names double up.

Is there a way to do this? I have pasted below an example of what I need done as reference.

Last Name
First Name
Address

[Code]....

View 4 Replies View Related

Move Rows In A Table Based Upon Certain Criteria

Jan 3, 2014

I have four sheets with the same size tables and just need rows to be able to be moved back and forth based on input from a certain cell and just added to the next available blank cell in the desired table. Adding the code from the webpage below works very well but only puts into the worksheet and not into the actual table. Is there any way making it actually input the row into the table itself?

Creating Macro that automatically moves row to another spreadsheet?

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 5 Then
If UCase(Target.Value) = "COMPLETE" Then
Target.EntireRow.Copy Destination:=Sheets("Archive"). _
Range("A" & Rows.Count).End(xlUp).Offset(1)
Target.EntireRow.Delete
End If
End If
End Sub

View 1 Replies View Related

Selecting Criteria From Poorly Formatted Table?

Mar 7, 2014

Basically I have been presented with a table (which can't change) and isn't well formatted shown at bottom of page.

Ideally I want to like extract and cross analyise some of the elements in the table to load into a database. Due to the formatting I cannot find a way of doing this which identifies and picks out the relevant bits.

For example; how would I gather a way of identifying what the districts is, what the road type is (i.e motorway), whether it's rural or urban, and the totals for a number cross referenced factors (i.e total road lengths for Dacorum) based on the existing formatting?

I have tried indexing, vlookups, index, pivot tables, index match match ...all to varying degrees of success. Whilst these function to a degree if the table orders were to be formatted differently in the future these methods cease to work and I would have to check this manually.

Therefore if you can alert me to any possible way of picking factors based on criteria and then returning the results.

Example table (it has a number of headings and in a variety of positions within the page)...

Motorway and Trunk Roads
Principal Roads (De-Trunked)
(Route Length)

[Code]......

View 5 Replies View Related

Pivot Table - Keep Only Rows Matching Criteria

Jul 21, 2014

adv bar

a11 b3
a2 b3
a3 b5
a4 b6
a5 b8

I have a pivot like the one above. I want to keep only the rows if "bar' falls within a range. So in a certain range (say d2:d7) I set the criteria for "bar". Is there a way to tell the table to keep only the rows, if the "bar" value can be found in d2:d7?

View 2 Replies View Related

Extracting Data From A Table - Multiple Criteria

Jul 31, 2008

I have a data table that has the following structure


Team manager Warrington 10 12 14 16
Team manager Liverpool 8 10 11 12
Commercial Manager Warrington 25 28 32 33



I need to extract the data out into a flexbible summary table where i can choose the job title, location and year.

I can use the following index / match formula to extract the salary that matches the job title and location.

(INDEX('Emp In'!$c$5:$c$130,MATCH(1,('Emp In'!$A$5:$A$130=$B3)*('Emp In'!$b$5:$b$130=$C3),0) - Where b3 = job title, C3 = location, Column C = Salaries year 1

However I cannot add the flexibility to choose a year as this formula fixes the index on a chosen column (yr 1 column C is this instance)

View 9 Replies View Related

Randomly Select Value Meeting Criteria From Table

Jan 17, 2007

I have a table detailing products and product options showing the options possible for each product. Each row has an option class and value(in separate columns):Color Red,Color Orange,Color Blue,Style A Style B and so on. Each product is in column.

Valid options for a product are indicated with a 1, invalid options with a 0. See attached sample file.

For instance, if the product in question is Alpha, then available colors are red and blue.

For a given product I need to return a randomly generated valid option. As I want to be able to drop in additional products and options, I want to return a value without resorting to manually generating a column containing only the valid options. The real data set amounts to dozens of options types and hundreds of parts for which I want to generate test data.

View 6 Replies View Related

Fill In Table Based On Multiple Criteria

Jul 11, 2007

I would like to fill in a table based on a small database
this table then creates a graph.

But I need to look at 3 criteria before I can fill in the table
namely: customer - weeknumber - weekday

based on these items the time should be filled in accordingly.

Can this be done with regular formula or should I try VBA ?

please have a look at my file the data should go from sheet input to sheet ACL
based on the above mentioned criteria

View 4 Replies View Related

Create Unique Table Based On Criteria

Aug 31, 2007

Our reservation system exports a spreasheet daily which contains hundreds of records relating to bookings. The worksheet has an ID column which is not unique, but is sorted alphabetically. I need to write some code to delete all records below the first 'set' of records relating to the first ID value found. i.e. i want to end up with only the set of records relating to the first ID found. So the basic logic would be to look at the value of the field in the ID column of the first record and then iterate down the rows until it came to a different value and then delete all rows below that. Its simple in concept, but im stuck on how to write this.

View 9 Replies View Related

Populate Data In Table Based On Dropdown Criteria?

Jul 7, 2014

I've been trying to get a table to populate based on a couple of criteria. However, I've not come-up with the solution yet.

I have my dropdown selections in cells C2 & C3. The objective is to populate the table below the dropdown with data from the sheet named (very unimaginatively) 'Data'. Currently you see the selection AA-11 & Mar-14 in the Contract ID & Month cells. If I change this, the table below should auto-populate.

I've attempted using Vlookup, Index-Match. But it does not give me the desired result.

Also, the number of Products can change each month (although the file shows 4 for each month & each Account).

View 4 Replies View Related

Sumproduct Double Criteria: Put Total Qty Into The Defect Table

Apr 22, 2009

I use sumproduct to put total qty into the Defect Table. But it take a long time for excel to run the counting process. Problem: From master data sheet, I want to plot the qty into the defect table follow by date occurring and by section

View 2 Replies View Related

Pivot Table (enter A Certain Criteria That Would Be Contained In The Text)

Nov 8, 2009

I've got two columns with data. The first is text, and the second is numbers. So I want to be able to enter a certain criteria that would be contained in the text, and have excel return a list of the rows of text that contain that criteria and that have the highest 3 values in the corresponding column. I can use multiple cells to do this if need be (i.e. one cell for the text with the highest value, one for the second highest value, and a third for the next highest value).

View 4 Replies View Related







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