Sumproduct And Unique Fields

Feb 5, 2008

I have a sample table below to illustrate my problem, the numbers in red are what I'm looking for a formula to calculate, probably a sumproduct, although I'm open to any suggestions.

Weight through conduits are to be summed only once if they are repeated in any particular month. (DEF1000 is in building 2 and 5 in March, but its weight should only be summed once) I hope this makes sense.

View 9 Replies


ADVERTISEMENT

CountIfs - Get Count Of All Unique Fields

Dec 17, 2013

Column A Column B
2012 20
2012 30
2013 50
2013 30
2013 50
2014 10

I've got two columns like this. I need to see if a countifs() would handle it for me, or if there's another formula to use.

I need to get a count of all fields in column B that are unique and are 2013 in Column A. In this case the answer would be 2 (in 2013 there was a 30 and a 50, duplicates are skipped).

View 6 Replies View Related

Return Unique Fields Only - But Not A Filter

Sep 6, 2005

>I think my issue is best displayed with an example:
>
>Here's my rows of data:
>
>Column A
>Bob
>Dave
>Dave
>Eric
>Simon
>Simon
>Simon
>Simon
>Tom
>etc....
....

I'll assume this is in Sheet1!A1:A10000.

>Is there a formula that can return the following:
>Bob
>Dave
>Eric
>Simon
>Tom
>etc...
....

View 14 Replies View Related

Pivot Table And Counting Unique Fields

Feb 9, 2008

Found what it think is the correct methodology (Pivot table) for doing this, but I'm struggling to apply it.

I have a very simple excel 2007 document that has one column with multiple rows;

blue
Blue
green
red
red
green
Green
blue
red
Blue
blue
Bleue
Rouge
red
Bleue

I would like the easiest way to count the total of each and sort in highest first,

e.g.

red 4
blue 3
Blue 2
green 2

View 9 Replies View Related

Multiple Criteria And SUMPRODUCT (count The Number Of Rows That Have Values Greater Than 10/01/2008 In Either Of Two Fields)

Jan 23, 2009

I am trying to count the number of rows that have values greater than 10/01/2008 in either of two fields. I tried following formula but instead of giving total number of rows, it returns a random date.

View 2 Replies View Related

Counting Unique Fields Containing Text And Numeric Values

Sep 19, 2012

I have used the advanced filter option in excel 2010 to display all the unique occurences of a list of names (column B) and then used the count function =COUNTIF(A$2:A$21,B2) to count the occurences of each name (column C).

However, excel did not manage to take into account the last 3 entries in column A (mir-23). I assume this is because it is a mixture of text and numeric values. How can I include this information in the grouping and counting?

excel1.png

View 3 Replies View Related

Sumproduct: Determine The Number Of Unique Names In Column

Jan 22, 2010

I have 1500+customer names in column C7 of table. I'm looking for a SUMPRODUCT formula that achieves the following 2 logical goals. First, it needs to determine the number of unique names in column C7. It can't just count the rows because many customers appear multiple times in the range. So, I have been using the following formula and it works great:
=SUMPRODUCT(
((Table[C7]<>"")/COUNTIF(Table[C7],Table[C7]&"")))

Second, I'd like the formula to tell me how many of the unique names in C7 correspond to public companies. Column C8 of my table indicates whether or not a company is public ("Yes") or private ("No"). So, I've been using the following formula and it seems to deliver the right result:

=SUMPRODUCT(
((Table[C7]<>"")/COUNTIF(Table[C7],Table[C7]&""))
*
(COUNTIFS(Table[C7],Table[C7]&"",Table[C8],"Yes")>=1))

But the added COUNTIFS statement seems very unwieldy and indirect to me. Why do I have to examine every instance of a particular company's name when the answer could be determined by looking at any instance of the name -- after all, each company in C7 is either public or private, and has the same corresponding value in C8 (whether "Yes" or "No") everywhere that its name appears in C7!

So that's my first question: is there a clearer, more efficient way to achieve the same result? My second question has to do with toggling the public company test.
What if I create a special cell, say A1, that will always contain either the word "On" or "Off"........

View 4 Replies View Related

Excel 2010 :: Sumproduct Of Unique Values In Multiple Ranges

Jul 31, 2014

I have 3 ranges of data which each have a quantity and a length. I want to create from these ranges a list of unique values with the total quantity required of each value (as shown). Inputs on any column may be blank but where there is a length, there will be an adjacent quantity to the left.

I'm using Excel 2010.

View 9 Replies View Related

Sumproduct (count The Number Of Unique, Or Distinct, Company Names In Column)

Jan 28, 2010

I want to count the number of unique, or distinct, company names in column [C7], subject to two conditions that will exclude certain unique company names from the count.

I should also point out that most company names appear multiple times in column [C7].

a) Count the unique company names in column [C7]...

b) ...including only those companies who have at least one "Yes" in column [C8] somewhere among their records

c) ...and who also have at least one value equal or greater than "1" in column [C15] somewhere among their records

Note that that there is no requirement that the "Yes" and the "1" ever appear in the same record.

View 2 Replies View Related

Convert Column Data Fields To Row Data Fields In Pivot Table

Feb 8, 2014

CountryHourDataTotalData
Austria - A10Sum of SeiA51CountryHourSum of SeiASum of SeiT
Sum of SeiT4.88Austria - A10514.88
1Sum of SeiA561562.83

[Code]....

left side pivot created in vb 6.0 & right side pivot table created manually in excel.

i want to generated pivot table using vb 6.0 same as right side pivot.

Set PRange = ws1.Range("R1:Y" & finalrow)
Set PTCache = wb.PivotCaches.Add(SourceType:=xlDatabase, SourceData:=PRange)
Set PT = PTCache.CreatePivotTable(TableDestination:=ws2.Cells(1, 1),

[Code]....

View 2 Replies View Related

Count All Unique Values (text) + Definition Of UNIQUE :D

Aug 24, 2009

If I have multiple entries with different but repeatable text values in one column - how do I count all unique ones ? Is there a function or does it have to be a pivot table of sth ?

View 14 Replies View Related

Assign Unique ID IF Adjacent Cell Has Unique Value?

Jun 5, 2014

I'm trying to think of a way to do this. I need a unique ID number per company, so I would want it to look something like this:

0001: Apple
0001: Apple
0002: Google
0003: Sony
0003: Sony
0003: Sony
0003: Sony
0004: Ford
0004: Ford
0004: Ford

.....and on and on for about 400+ rows. I think I know how to state the condition. IF B15 =/= B14 then....assign unique ID, else A15 = A14....or something to that effect.

View 1 Replies View Related

# Of Unique Dates Per Unique List Entry

Oct 22, 2009

Each product is represented by a serial number (column A).
The can be sorted on column A from smallest to largest prior to calculating results if that helps.

The repair list contains 1 entry per spare part used, so the same serial number may occur several times.

Furthermore, a product may have been repaired on several instances - so the serial numbers can span several dates (column B).

The solution i am looking for should return the number of unique repair dates per serial number. That way i can see, how many times each product has been repaired. Results can be displayed in an individual column.

Sample list:
Serial........Repair date
207742052008-09-04
207755082008-12-17
207755212008-12-31
207755212009-01-22
207755212009-01-22
207755212009-01-22
207755212009-02-13
207755212009-07-24
207755362009-05-20................................

View 8 Replies View Related

Unique List Would Grab All Unique Entries

Jul 30, 2009

I have a data table that repeats as follows:

CITI
SCB
SCB
SCB
SCB
SCB
SCB
SCB
RBC
RBC
RBC
RBC

From the data above I need to make a new unqie list that would grab all unique entries.
CITI
SCB
RBC

I am trying to use the following guide:

http://blogs.techrepublic.com.com/howdoi/?p=111

Get stuck on "Listing A:

View 9 Replies View Related

Identifying Unique Entries Based On Unique Entries In Another Column?

May 29, 2014

I have a list of data and I want to identify the unique entries for both columns but the second column has to unique to the unique values in the first column.

Example List

Fruit
Color
Apple

[Code]....

View 9 Replies View Related

Remove All But One Non-unique Line Of Data, While Leaving Unique Data Alone

Jun 10, 2007

I am "designing" a time- tracking database. The way it works is that each user (there are multiple users) creates a new day, which is mirrored in the sheet name (i.e. if today is 06/09/07 and my name is Newuser, the sheet name is "NewusER 060907"). Each sheet is filled in, calculated based on in-sheet formulas, etc. At the end of said day, the user can " upload" the daily data from multiple days worth of data into another sheet, that the graphing macro draws from.

The one serious problem I'm having is that users can upload the daily time data for the same day multiple times, to no end. I would like to do one of two things. Either:

a. make it such that once data is uploaded it cannot be uploaded again (probably more difficult), or
b. write a loop to pull out the highest data point up the sheet and delete all other rows for that one specific day's . (probably easier)

example:

Data loaded into the sheet before the macro runs:

Row: Date:
1 06/09/07 *
2 06/10/07 *
3 06/11/07 *
4 06/09/07
5 06/10/07
6 06/12/07 *
7 06/13/07 *
8 06/09/07
9 06/11/07
10 06/14/07 *

* The rows with asterisks are the ones that I would like to have pulled to the second set of data (below)

Data in the sheet after the macro runs:

Row: Date:
1 06/09/07
2 06/10/07
3 06/11/07
4 06/12/07
5 06/13/07
6 06/14/07

Because of the constant changing nature of the information within, I would like to to make this dynamic range selection, I would prefer to avoid using Advanced Filters, if possible.

View 6 Replies View Related

Can't Get Rid Of Values In Sum Fields

Mar 24, 2009

Although I have removed the original numbers in the main area (I12 - AM12), there are still values in the fields I11 - AM11 that just won't go away. These formulas merely sums up the columns below as far as I can see so I can't figure out how come the values 101, 98, 9o etc aren't '0' since there are no values to add anymore..

NB!Not sure if the formulas will be in norwegian or if they change based on language settings but think you will be able to figure them out regardless..
('HVIS'=IF)

View 2 Replies View Related

Matching Name Fields

Oct 23, 2009

I have a list of company names and I need to find the duplicates. Of course pivot table finds the exact matches, but how do I find duplicates when only 1 character is off. Like punctuation or "s" or a mistype of a single character?

Example:
Jo Blo inc
Jo Blo inc.

Jo Blo inc
Jo Blo icn

Joe Blo inc
Jo Blo inc

View 4 Replies View Related

Sum Fields Across Worksheets

Nov 12, 2009

I have a workbook that is used to calculate sales & commissions for our sales reps. The majority of the worksheets are "RepLast, RepFirst". All of these Rep worksheets include an identical format. I need to add another sheet which grabs the total quantity of products A for each rep and sums them on the new sheet. And repeats the process for products B to Z.

Is there a way to do this other than longhand naming each rep and then the field in the worksheet? We are regularly adding new reps (and losing some periodically), so I would prefer to not have to regularly update the longhand formulas (i.e. ='RepName1'!A25+'RepName2'!A25+'RepName3'!A25...etc) as that would seem prone to introduce calculation errors.

View 3 Replies View Related

Autopopulation Of Fields

Aug 25, 2007

I have a rather unique problem with a new workbook I have created and it only affects 2 sheets out of the the entire thing.

The sheet is driven by a name:

Schmoe, Joe
Diddly, Bill

These names are picked from a drop down list. When a name is picked it autofills other fields using the LOOKUP command:

=IF(A3="","",LOOKUP(A3,Roster!A2:A181,Roster!C2:C181))

By now I think this is pretty straight forward and works wonderfully well for the other 50+ sheets. However I have two employee names where the second of the two (Diddly, Bill) takes and autofills the fields with Schmoe's information. The only thing I can randomly pick up is perhaps the employee numbers are too close:
00868

View 9 Replies View Related

Mandatory Fields

Sep 28, 2007

i have created a form hich dumps into a database.

There are some mandatory fields which need to be filled in by the user on the form - how can i flag these up at the end of the form - with a message box which says - "cant complete - feild "" "" "" are missing "

View 9 Replies View Related

How To Add 0.00 In Empty Fields

Feb 26, 2008

I have a spreadsheet that I receive with a column containing some numbers. It arrives in genearl format but as part of a macro I format Column "C" to 2 decimal place numbers.

This works fine but some of the cells are completely empty. I need to have those empty cells populated with "0" which will of course display as 0.00 because of the formatting.

View 9 Replies View Related

How To Repeat Fields In A SUM

Feb 29, 2008

I had a spreadsheet with 45 fields, endind with a SUM in field 47.

I've inserted new fields, exactly 531. The SUM doesn't know that and still thinks that I have 45 fields:

SUM(F2;F5;F8;F11;F14;F17;F20;F23;F26;F29;F32;F35;F38;F41;F44)

How do I add automatically the value 3 to F44, continuing to add the value 3 to 531? So I want:

SUM(F2;F5;F8;F11;F14;F17;F20;F23;F26;F29;F32;F35;F38;F41;F44;F47:F49; F52; ETCETERA)

View 9 Replies View Related

Indirect Fields

Sep 29, 2008

I am trying to figure out a solution and wondering what would work the best. Here is my situation. As an example, I have one big database with fields such as:

Item# Date Qty Price Cost ect...
1 3/4/08 3 $9.00 $7.00
2 9/5/08 5 $8.00 $6.00 ect....

This continues for up to 1000 lines from a database. I have this is a tab called "Database". From the data in the tab "Database", I want to be able to create 4 seperate reports.

The first report might only have the columns "Item #" and "Date".
The second report might only have the columns "Item #" and "Qty".
The 3rd with only "Item #" and "Price"
The 4th with only "Item #" and "Cost"

If I create a new spreadsheet called "Sales" and create the following:

ColA = Item #
ColB = Date

View 10 Replies View Related

SQL Naming Fields

May 14, 2003

I'm in the process of writing some SQL in excel and normally when I want to specify a field name as another name say wx22 as Part Number i just use square brackets eg
"select wx22 as [Part Number]"

View 9 Replies View Related

Delimiting Fields

May 18, 2006

I have a field that needs to be split into a set amount of columns depending on a delimited character. This works fine with all of your standard delimeted characters such as / or ,. The only issue is I have a field that has a delimiter of the square symbol . How would I be able to insert this symbol into a input box. When I try and copy the symbol from excel it does not show in the inputbox. I also tried to copy it from the sybol that can be generated in word and that just pastes as?. I was wanting to know if there is anyway this can be entered into a variable so that I can delimit the data using this symbol. If I have to use a ascii value I don't mind I just cant find a ascii code for it.

View 5 Replies View Related

Fields That Will Update Each Other

Jun 21, 2007

I'm creating a spreadsheet that will have two types of data fields: hex and binary, with pairs of corresponding values for each record in the worksheet. I need to be able to edit the hex values and have the binary values update correspondingly and vice versa, on the same worksheet. I can't figure out how to create such a two-way feedback mechanism.

View 5 Replies View Related

Matching Two Worksheets Using Two Fields

Mar 2, 2013

I have two worksheets. Each have a common value in two cells. An ID and a currency amount. One worksheet also has a payment date. I need a worksheet that combines the two, along with the payment date.

View 3 Replies View Related

Using The Same Header In Multiple Fields

Apr 25, 2014

So, I've created a pivot table and need to use one of my values in both the row and value fields. I haven't seen a way to easily do that so far. Is there something I'm missing or is this not possible with Excel (yet)?

View 3 Replies View Related

Find And Match Fields

May 7, 2014

I have a workbook with two sheets, one used for referance (Column A - Product SKUS, B - Product Description and C - Carton Quantities) - Sheet 1

The other sheet I would like to import incoming shipments. (Column A - Product SKUS, B - Product Description, C - Quantity Ordered and D - No of Cartons) - Sheet 2

What I need to do is find out how to get Excel to find and match up the SKUs in Col A and then dividing Sheet 2's column C by Sheet 1's column C to give the number of incoming cartons of each product in Sheet 2's Column D

View 5 Replies View Related







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