Formula To Calculate Duplicate Items With Criteria
Jan 17, 2007
I have a long list of work items based on a 7 digit number. The work item is referenced by a code named DS or WU.Example as below and the work item# has duplication throughout the list.(work item # repeated)
Work Item DS/WU
1234567 DS
1234568 WU
1234569 DS
1234562 DS
1234567 WU
I need to create a formula that counts how many duplications of work items, by the number of DS or WU. Based on the above example, the formula should arrive at the results below
Work Item #of Duplication DS WU
1234567 2 1 1
View 10 Replies
ADVERTISEMENT
Jan 16, 2007
I have a long list of work items that is referenced by a unique 7 digit number. I need to create a formula to identify the specific work items that is being duplicated in the list and generate that number. Example is as follows
Work Item#
1234567
1234568
1234567
1234569
1234568
Based on the above list, I need to create a formula that generates all work items that is being duplicated.In the example above, the formula should generate the following work items:
1234567
1234568
View 7 Replies
View Related
Dec 4, 2012
Attached excel sheet below. Suggest a formula to get the count of items that fall in a specific data range ?
Count of items that specify a range criteria.xlsβ
View 4 Replies
View Related
Apr 20, 2007
I have a spreadsheet that has staff id in one column and the work items number that they have done in a daily basis in another column.
The actual list is very long. I need to summarize in another column how many work items that they have completed in a daily basis.
I have attached a sample spreadsheet as an example. I would need to summarize in column H based on the staff ID. Some work items are shared by two staff but it will have to be counted as one work item completed for each staff. If work item B123466 is completed both by staff M56 and M54, then it will be counted as one for each.Currently, I am doing this manually with the filter function which is very tedious and often has mistakes. I would like to formularize this task.
View 6 Replies
View Related
Aug 30, 2006
I only want the formula to operate when there are values to calculate and then ONLY refer back to the last calculation. If there are gaps between the calculations I would like those to remain blank. Is that possible?
I have attached an example of what I am trying to do.
View 3 Replies
View Related
Aug 7, 2007
attached is an example of a timesheet we use.
now after lengthy discussions the comany say its not 'in their interest' to use acess so i'm stuck with excel on this one.
I need to sum a column on many critiera, which i feel maybe a job for the trusty old =SUMPRODUCT. But thing is i need to sum a column based on a date range, Rate, Day.
I have manually typed in the number i think it should produce but as far as formulas go
1st off need to calcualte date range, which is situated on the top of the spreadsheet.
2nd some how tell the formula that Normal overtime is either classed as rate 1 Saturdays classed as 1.5 and sundays and bank holidays classed as 2.
View 3 Replies
View Related
Jan 19, 2010
if there is a way to find duplicate items in a list and return a value, if a duplicate exists.
Basically I have 19 buildings each with a separate bill of quantities. I'm looking to compare and compile a comprehensive list. So that duplicate items in different buildings can be compared side by side.
I have attached a sample of what I am trying to do.
View 11 Replies
View Related
May 31, 2012
I have two columns with aproximately 80,000 rows each lets say column A and D.
Column A has numbers and it is the most recent data extracted from a program. Column D has also numeric records most of which are also in column A.
I need a macro that will take each number in column D and compare it to column A when the macro finds that the number in D exists in column A it shoudl move the number on the same row on column B (right next to it)
If the number does not exist on on columna a It should start a list on column C.
View 5 Replies
View Related
Jul 24, 2007
I am a tax auditor, and I am working with excel and I have two lists. One is a complete list of items, both taxable and non-taxable, the other is a list of just non-taxable. I highlighted the non-taxable sales and copied and pasted them under the main list, and I want to delete all the non-taxable items. Basically, the only duplicates in my list are non-taxable, and I need to delete ALL of them.
View 9 Replies
View Related
May 16, 2006
I have 2 huge lists. One is " the Master list" which I have to extract items that are not already listed on the second list . I don't want to remove duplicate entries,I want to remove the duplicates completely. in both lists, so that I only have items that are not in the second list...
like this..
List 1:
# $ % & * ! @
List 2:
# & @
so I want to end up with:
$ % * !
View 8 Replies
View Related
Mar 11, 2009
I have a report with ~44,000 line items. From this report, I need assistance generating a report that lists all unique line items. I am having problems trying to identify which line items are duplicates as I need to compare 4 different cells in each line to other lines to determine if it is a duplicate item (compare data from columns A, B, E, F)
For example, raw data may be as follows:
Column A
Column B
.Column E
.....Column F
10/13/2008
.11111111
.71879W561000
.888.88
10/13/2008
.22222222
.239103302000
..222.22
10/13/2008
.11111111
.71879W561000
.888.88
10/13/2008
.33333333
.353496508000
..333.33
10/13/2008
.44444444
.239103302000
..444.44
10/13/2008
.11111111
.71879W561000
.888.88
10/13/2008
11111111
.353496508000
..888.88............................
Note from above, there are two occurrences of a duplicate item. As a result, the output table would only list this item once.
I have attached a sample of the spreadsheet with dummy data on one tab and the desired output on another tab. Note that all the data is broken up into blocks of data that is separated by data that is only in the first column of the row.
View 5 Replies
View Related
Mar 18, 2012
I have a spreadsheet with data, such as the information below.
1001010600282214857901250,814.6173,606.81100110060028221495790
12436.9562.241004010600282215534026466,362.9789,980.59
10041006002822156340264116.4174.63100701060028221625436557
,084.6780,562.6210070606002822163543651,031.621,528.40
What I am trying to accomplish is adding the values in column E that have a matching value in Column D and placing the total value of that calculation in column F in the cell that holds the last value for the matching value in column D
This what I would like the data to look like.
1001010600282214857901250,814.6173,606.81100110060028221495790
12436.951,251.51562.241004010600282215534026466,362.9789,980.59
10041006002822156340264116.466,479.37174.63100701060028221625436557,
084.6780,562.6210070606002822163543651,031.6258,116.291,528.40
As you can see I have added the values in coulmn E that have a matching (Value) in cloumn D and the result is placed in the cell next to were the matching value in column D is last seen before another value begins.
In my case there are sometimes hundreds of value 1, 10 of value 2 and 15 of value 3. Currently I have to pick the cell I want to place the total in, click the AutoSum button and select the matching values in Column D then hit enter to get my result.
View 6 Replies
View Related
Nov 3, 2012
47.00% Defense
Defense
83.00% Defense
answer here
54.00% Attack
26.00% Attack
19.00% Defense
I am looking for a formula that will calculate all the Defense in column A if Defense is in B1 and calculates all the attack in column A if Attack is in B1
View 5 Replies
View Related
Oct 27, 2011
I am trying to automate the creation of 3 pivot tables. At first I was having a problem with deselecting all items in the drop-down except one, then I found the code to fix it.
I replaced this code:
ActiveSheet.PivotTables("PivotTable15").PivotFields( _
"Beta")
.PivotItems("Escalated").Visible = False
.PivotItems("Hang Up").Visible = False
.PivotItems("New Hire Requests").Visible = False
.PivotItems("No Trouble Found").Visible = False
.PivotItems("Priority Exchange").Visible = False
[code].....
This fixed the problem, but there are still two other pivot tables that need to be created after this first one. I scrolled down through the code and deleted the other code blocks for the selection of the PivotItems and replaced it with the code above, but then when I ran it I got the "Compile Error: Duplicate Declaration in current scope".
I read more through the forum and realize that it's because VBA is dimensioning it twice, and I read that you're supposed to Dimension at the beginning of your program, but how do I implement this into my coding?
I can't dimension literally at the start of the code, there is some formatting that needs to take place first. (Basically I paste in a bunch of data into Sheet1 of my workbook, center it, space it out, then insert a pivot table into the pre-existing Sheet2 based on that data, filtered on the blank entries in Column N. Then I need to create ANOTHER pivot table based on that same data in Sheet1, but filtered on the blank entries in Column O. Then I center the words in the Pivot tables' headers in Sheet2, and finally I need to create one last pivot table on pre-existing Sheet3 based on the data on Sheet1, filtered for 2 specific entry types in Column N.)
View 2 Replies
View Related
Feb 27, 2007
I have a matrix w/ alpha characters in a 10x10 grid. I want to see how many times each letter shows up and then rank them asceding.
What is the function to do this? I looked at Frequency and Count, but do not think either will do the required work.
View 9 Replies
View Related
Nov 24, 2013
My company has a catalog of ~6000 unique SKUs that we sell online. Currently we do not have a way to quickly determine how much a given item has sold month over month, and the rate of that change.
I have an excel workbook full of our last year's worth of sales data. I have organized it by placing each month of data in its own worksheet. I would like to be able to create a search box that will allow us to enter in a product ID, and have excel then create a graph with each month's of sales for that particular item. Is that clear?
View 11 Replies
View Related
Jul 9, 2014
I have a list of words in the column A, and then columns E:SA where are numbers. I need to set up a piece of code/VBA that will index(write) all the words from the column A that have a number 1 on the same row in the column E for example (I need to do this for each column - E:SA).
I know it's hard to understand, I'll give you an example:
Column E has in E16 number 1. So the program will index the text(value) of the cell A16
and so on ... for every column E:SA
I need to index the values in the 1748th cell(and higher) of each column (E:SA)
View 8 Replies
View Related
Nov 29, 2005
I've been using the following formula from the xldynamic website detailing
sumproduct usage as a base for retrieving uniqe instances in a data series.
I've been trying to modify the formula to allow me to utilize one additional
criteria.
Original formula:
=SUMPRODUCT((A1:A20<>"")/COUNTIF(A1:A20,A1:A20&""))
Here is my formula:
=SUMPRODUCT((($O$7:$O$2710<>"")*($M$7:$M$2710="1986"))/COUNTIF($O$7:$O$2710,$O$7:$O$2710&""))
I'm trying to say how many unique instances are there for column O, where
column m = "1986?"
View 10 Replies
View Related
Aug 29, 2007
I have created a listbox 'listbox1' and I wish to add some data to it based upon a customer number appearing in cell "D30"
In my spreadsheet, I have another hidden sheet called 'log', and, based upon matches of the customer number in column A (there could be multiple matches) I want to display all of the matching data in my listbox. Please could someone help me out with some code?
The columns I would want to bring into my listbox would be columns A,C,K and L
View 9 Replies
View Related
Sep 8, 2006
In column A, it contains the monthly salary data of each employee, then in column B, it contains the classification level data, Like Grade A, Grade B and Grade C. In this exercise, it want to find out the statistic as follows:
1. How many employee's monthly salary is below 10K and their classification level is Grade A, B or C
2. How many employee's monthly salary is above 10K and their classification level is Grade A, B or C
So any formulars can do that in instead of using the sorting method?
View 3 Replies
View Related
Jan 3, 2007
I need to have excel dynamically rank items based on two criterias (category and sales).
For Example:
I have a list of items with its category in column A, column B has the sales information. I need to rank the items by category and sales, the data is not sorted and I cannot use a macros/VB.
View 9 Replies
View Related
Aug 12, 2009
A B C D
1 Yes Red Green
2 Yes Blue Black
1 No Blue Black
2 No Blue Green
2 Yes Red Black
I am interested in finding the number of unique entries under column A where column B = Yes; Column C = Red OR Column D = Black (answer is 2)
View 9 Replies
View Related
May 18, 2007
Need code that takes names of people from one excel sheet and selects the names in a pivot table field in another excel sheet. Basically I need to know the code that selects pivot items in a pivot field (say name of the pivot field is 'EmpName' and the pivot items are the names of the employees). As of now I check the name in one excel sheet then manually select the name from the 'Emp Name pivot field in the pivot table. There are many names and manually selkecting one by one is very time consuming hence I am trying to automate this.
View 5 Replies
View Related
May 15, 2014
I am trying to create a list of all instances where contents in A3 is found in C5:C12 and return the values in D5:D12 without any spaces. Right now I can do it in two steps but I'd like to clean it up and do it with only one formula.
View 7 Replies
View Related
Jan 14, 2009
I have no problems figuring out SUMIF or SUMPRODUCT with multiple criteria, but I'm trying to help someone with an issue that the second criteria is actually not all-inclusive.
Column B - Lots of numbers, the SUM range
Column C - Yes and No flags. Y or N
C1 = maximum number of matching items to include.
So, =SUMPRODUCT((C2:C100="Y")*(B2:B100)) sums up ALL the Yes rows, but the guy wants to restrict it to the last X matches, and put that X factor in C1. So if C1=5, only the last 5 Y matches are included.
View 9 Replies
View Related
Aug 30, 2009
=LOOKUP($C1,$A1:$A1,$B1:$B1)
Though i wanted to rid the Na error from it when C is blank
I seen a few ways, And wanted to try the method of using Countif becouse it can be used withen the same cell without using extra cells like another method i seen "=IF(ISNA(A1),0,A1)"
what i know of countif
This function counts the number of items which match criteria set by the user.
=IF(COUNTIF($A1,"")),LOOKUP($C1,$A1:$A1,$B1:$B1),"")
so how the heck can the countif function be used to rid the NA of a lookup. i just cant see a relationship between counting a lookup.
View 5 Replies
View Related
Jun 25, 2008
I've read the how to for finding the nth occurrence using index/match but the example given does not really help solve my issue. The file I've attached is a condensed version of the actual file, which has more columns but I deleted all but the necessary ones for clarity. What I am trying to accomplish:
On sheet1 there are three columns, Business, Amount, and Closing Date.
Not all the business names have a closing date and the spreadsheet is sorted alphabetically by business name, so sorting by closing date, and using the method used in the topic " find the nth occurrence in excel", is not an option.
On sheet2, I would like to see ALL the business names that have a closing date in the respective month, as opposed to just the first. Then to the right of the business names I have the sum of all the amounts in that month, but I figured out how to get that one already.
View 2 Replies
View Related
Jun 21, 2013
I need a formula that will tell me what Tracking # in the spreadsheet has multiple dispositions and what those disposition are. I need the formula to use column and cell coordinates and not using word searches.
example
Tracking # Req.# Disposition
1490069 045 snakes
1015907 047 candy bars
1488026 044 chickens
1015907 047 sand paper
1015907 001 fruitcups
1490129 046 cupcakes
1484817 043 Cats and dogs
View 2 Replies
View Related
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
Oct 31, 2006
I would like to create a lookup facility that will allow me fill in data automatically as the example shows below.
The following is a brief of the data i have.
RD Database EX Code Ex Name RD Name
Central LondonCL Jerome De Chassey
Midlands CM Paul Hendron
London N/EAEA Mark Whitley
Midlands EM ABX Abbots Paul Hendron
London W/NHCEM BJA Blisworth Kim Mears
As you can see their is duplicate data as well as blank data, but i would like a field where the user types the following:
Database Ex Code (e.g.)
EM ABX or
CM
and this will automatically fill the EX Name and RD Name fields.
View 7 Replies
View Related