CountIF With 2 Names And Return Amount Of Matching Times

Nov 26, 2012

I'm trying to do a countif that matches 2 names and returns the amount of times the 2 name matches is in the list. Ihave first names in column a and the surnames in column B.

And there are lots like so

John
Greenwood

Bill
Griffiths

Melanie
Griffiths

View 3 Replies


ADVERTISEMENT

Using COUNTIF To Return Matching Array Values With A CONDITION

May 9, 2014

I'm having a difficult time returning COUNTIF values for a positive match between 2 columns THAT meet a certain condition. Basically I want to iterate through column A sheet 1 (ONLY for values where column B is paid) and return a count for every instance there is a match of value A sheet 1 in column A sheet 2. In other words, I'm looking to find the number of ids marked as paid from Column A sheet 1 that exist in Column A sheet 2. I don't wish to return the actual ids, just the total count.

I've tried the following but I know there's an error in iterating through Column A the way I have it:

=COUNTIFS(Sheet1!$ColA:$ColA,Sheet2!$ColA:$ColA,Sheet1!$ColB:$ColB,"paid")

Sheet1:
ColA
ColB

123
paid

[Code] .....

Sheet2:
ColA
ColB

23
NY

[Code] .....

View 7 Replies View Related

COUNTIF Or SUMIF: Changing Amount

Oct 29, 2008

I have a data range with 3 columns - A -employee number, B -charging number, and C -charge amount. "A" shows multiple times and must be associated with value from "B". I am looking for totals of "C" for any combination of "A" and "B".
Ex.

A B C
1 101 6
1 201 7
1 101 4
2 301 6
2 101 1
2 201 4
3 201 5
3 401 7 etc.


I am looking for totals (from column C) for A and totals for A with defined B. e. g.:

1 for all 101
1 for all 201
1 total
2 for 201 etc..

View 2 Replies View Related

Copying Cell X Amount Of Times?

Feb 29, 2012

To put this simply, I have a spreadsheet that has 2 columns on it with multiple names and numbers on it. We'll say ABC and 123 as the example name and number. When I type in ABC and 123, I have it where it appears on the next page.

The question is that if I want to duplicate it onto the next page, how do I do it? In other words, I want to create a 3rd column with which to add a number of times I want the numbers and letters to appear. For example, I write| ABC | 123 | 5 | and ABC appears on the next page at a certain start point and is copied 5 times in certain cells. The same happens for 123 at its own start point.

View 3 Replies View Related

Returning A Value If The Dates/times In Two Cells Are Between X Amount Of Hours

May 18, 2009

I have a spreadsheet used for calculating information based on the dates specific shifts are requested/cancelled by our clients. I have a formula for working out if a date & time of cancellation is less than 48hrs notice of the shift starting. This is because we have cancellation fees based on this.

What I have is this formula: =IF(A16="","",IF(INT(A16)-INT(G16)<2,1,"")) that returns a 1 if that shift is cancelled within 48hrs notice. This works fine but I have to now change the notice periods to the following:

72hrs+ - return 1
48hrs-72hrs - return 2
13.5hrs-48hrs - return 3
0-13.5hrs - return 4

edit this formula to take this into account? I figure it's using multiple IF's and changing the <2 into something else like the number of hours but I'm not sure of the exact syntax.

View 4 Replies View Related

Count Amount Of Times / Show Up In Column And Sum It At The Bottom

Apr 29, 2012

I am trying to count the amount of times 4, 5, and "11-5" show up in a column and sum it at the bottom. I tried

=sum(if(c4:c41="4"+c4:c41="5"+c4:c41="11-5",1,0)

As an array and keep getting N/A. So im not sure where my problem is.

View 6 Replies View Related

Matching And Renumbering Massive Amount Of Data

Apr 12, 2013

I have two excel files. One file has the three digit code of more than 5400 airports of the World where as in the other file I have the different airlines with departure airport - arrival airport. Now instead of the three digit code, I want to simply number them from 1 to 5400. And then I want to match this information of the airport number with the arrival and departure airports, so that in this file I don't get airport digit but the airport numbers as I defined in my previous file. I am illustrating it below.

File 1:
Airport IDAAA
AAC
AAE
AAF
AAG
AAL
AAM
AAN
AAQ
AAR
AAT
AAX

File 2:
AirlineDeparture AirportArrival Airport
US AAA AAX
US AAA AAG
US AAN AAR
QT AAQ AAM
and so on...

now what I want is like this:

File 1:
Airport ID
AAA 1
AAC 2
AAE 3
AAF 4
AAG 5
AAL 6
AAM 7
AAN 8
AAQ 9
AAR 10
AAT 11
AAX 12

File 2:
AirlineDeparture AirportArrival Airport
US 1 12
US 1 5
US 8 10
QT 9 7

I hope it is understandable now, all I want is to change the airport codes into numbers and then match the airport numbers with the departure arrival so that instead of codes I have the defined airport numbers. Is it possible?

View 5 Replies View Related

Countif Using Times

Jun 1, 2009

I have a long list of transactions, each has a time of the transaction. I am trying to do a count of transactions per each hour accross the day.

View 9 Replies View Related

CountIf Falls Between Times

Dec 27, 2013

Formula for the attached worksheet.

In the table of cells A3:G12 there is a list of staff I have working that day and the hours that they are working, which I enter manually.

The table A14:G89 is a list of matches that my staff will be monitoring which I paste in from a downloaded list. Column G is blank when I paste is filled in by the table on the right which is what I want to achieve at then end.

Once I have entered the times that people are working that day then scroll over to the right and look to fill in the column headed 'Monitoring'.

What I want is the 'Schedule Table' at the top of the worksheet. What I want to do here is place a formual in these cells to display how many matches a member of staff is monitoring concurrently at any given 15 minute interval. I've filled in down to the 11.05 kick-off to show what I want it to display but obviously I want to find a formula to replace this manual intervention.

Monitoring Scheduler.xls‎

View 11 Replies View Related

Countif For Non Matching Cells

Aug 13, 2006

How do I write a nested COUNTIF formula ( assigning a value of 1 for each cell) for a range of cells that does NOT contain "", "OFF", or "REQ OFF" ?

For example:

A row of 20 cells (A1:A20), 5 are blank (""), 3 contain the text "OFF", 4 contain the text "REQ OFF", and the rest contain anything other than the three values just mentioned.

I need a sum number for all the cells in that row that contain any other value. In this example, the output value should be 8. Out of 20 cells in the row, a total of 12 cells had either "", OFF, REQ OFF, and the remaining 8 had some other value that did not equal those.

Some sort of COUNTIF(AND(... Can't seem to figure this one out.

View 9 Replies View Related

Matching A Value That Appears Multiple Times

Apr 26, 2006

I have 2 columns with data in them, basically representing a gaussian distribution. Column A has the "X-axis" values and so is uniformly ascending with no duplicates. Column B has the "Y-axis" values and increases up to a maximum and then decreases again (this is data from an instrument and so its not completely smooth but is close). An example is below.

0 4
1 8
2 16
3 27
4 50
5 27
6 16
7 8
8 4

What I would like to do is get the 2 Column A values where the corresponding column B value is half of the max (in the case above, 25 is not available so the closest is 27). I am trying to calculate the difference between these values, so in the example, I would have 5-3. Is there a way to do this?

View 11 Replies View Related

COUNTIF Counting Names

Jul 26, 2009

I am trying to use a countif formula to count how many students a teacher has. Here is the formula COUNTIF(fceteacher!C:C,E2) I am using a dropdown list to count how many students the teacher has.

View 4 Replies View Related

Countif Formula: Count The Number Of Times The Value J3 Appears In E2:E400

Sep 21, 2007

What formula will count the number of times the value J3 appears in E2:E400. BTW...the a-g is formatted as a table. excel 07

View 3 Replies View Related

Count How Many Times Names Appear

Oct 28, 2008

Every day I pull a report showing a list of agents that committed an infraction. I want to be able to count how many times each agent committed an infraction. How do I do that? I tried Frequency and it did not work, or am I missing something?

View 5 Replies View Related

Countif (extract The Number Of Times A Name Appears On A Certain Range Of Cells On A Worksheet)

Jul 30, 2008

I am trying to extract the number of times a name appears on a certain range of cells on a worksheet, now I can get this to work, but I am sure there is a better way I just cant get it to work!

=SUM(COUNTIF(sales1!$B$8:$F$11,A18),COUNTIF(sales2!$B$8:$F$11,A18),COUNTIF(sales!$A$8:$B$11,A18))

I have only used 3 pf the worksheets, but in time there could be up to 30.

View 4 Replies View Related

Match Names To Fastest Times

Feb 6, 2010

I thought i had worked it out, but for some reason the names aren't updating when i add a new time, and the same names appear when i add the same code for a different track. I was using this code {=INDEX(A2:A32,SMALL(IF(C2:C32<>0,ROW(C2:C32)),1),1)} as you can seen in cell A34, then added a 2 onto it for the second fastest time eg.....{=INDEX(A2:A32,SMALL(IF(C2:C32<>0,ROW(C2:C32)),2),1)}, but doesn't seem to update when adding a new fastest time in. Am i using the wrong code to match the names with the fastest times?

View 4 Replies View Related

Matching Names From Different Columns

Aug 18, 2014

I have two columns listing about 400 and 500 names respectively.

First Column has names in alphabetical order and the second column is random.

One column has names in this format: Last name, First name and the other column lists the names as first name and then last name without the comma .

I am trying to see if the list of names in one column exists in the other.

Is there a way to see this without changing the format of the names in each column? If so do I have to erase the comma?

Name Lists (1).xlsx

View 3 Replies View Related

Matching First Name In Range Of Names

May 1, 2009

I'm trying to find a way to check if the first and last name that are the content of cell A are anywhere in cell B and beyond. I've included an example: http://tinypic.com/view.php?pic=28cpkr9&s=5. In the example A1 must match B1, C1 and C2.

View 5 Replies View Related

Matching Names In Different Columns

Mar 24, 2008

I have a list of names in a column and another list of names in another column. The columns are named patient and user. Is there a way to right a formula that would highlight a name match when a name matched in the two columns in the same row?

View 9 Replies View Related

Matching Names In Different Formats

Sep 21, 2005

I have 2 reports that I want to merge which are exported from different applications. The problem is that the names appear in a different format and I can't work out how to match them up. The fact that not everyone appears on every report I have solved by using lookup as in the attached workbook. What I need to do is use a formula that will recognise the two different name formats and match them up. i.e. Campion, Ben P. and Ben Campion. See attachment.

View 6 Replies View Related

COUNTIF Formula: Gives A Total Of How Many Names Are In That Range

Jan 5, 2009

I have certain cells in column A2:A22 that have names of people. I want a formula in Cell A23 that gives me a total of how many names are in that range. I know this is simple, but how do I put my criteria that if a cell is not blank to count it?

View 4 Replies View Related

Count Number Of Times Names Appear In Column?

Jan 6, 2014

I have a list of names all in one column, separated by row...

Example...

John Doe
John Doe
Jane Doe
Jane Doe
Jane Doe
James Jones
James Jones

I want to count how many times each name appears. Like this:

John Doe | 2
Jane Doe | 3
James Jones | 2

This is a very large list of names and I prefer not to have to type each single name into a formula because there are hundreds of separate names.

View 4 Replies View Related

Repeat List Of Names X Number Of Times?

Jan 10, 2014

I'd like to be able to repeat a list of names X number of times.

Example: Repeat count = 3

Name1
Name2
Name3
Name4

becomes

Name1
Name2
Name3
Name4
Name1
Name2
Name3
Name4
Name1
Name2
Name3
Name4

View 4 Replies View Related

Countif Formula: Added The Correct Amount In The Correct Cells

Feb 15, 2010

I'm trying to create a formula that will added the correct amount in the correct cells, I have create a dunny sheet in trying to achieve this. If Cell B8:B11 = ABS or Dum that any points won should be added to Cell L8:L11 right now its adding it into K8:K11. If Cell B8:B11 = is Blank any player points should be added to cells K8:K11. I'm using this formula throughout cells K8:K28 =IF(J8>J25,1,IF(AND(J8<>0,J8=J25),0.5,0)) Any thing in red is incorrect anything in blue is what I'm trying to achieve.

View 4 Replies View Related

Matching Names With Numbers (total)

Sep 1, 2009

In Cell A1 I have a name (John Doe). In cell A2 I want the formula which will be a number total. In Cells A4:A20 I have a list of names with John being in several of them. In Cells J4:J20 I have numbers. There is data in between the name and numbers that I don't need.

So, I want A2 to search A4:A20 and everytime it sees John Doe to add the numbers that are 9 cells over (J4:J20). This is basically to show how many mistakes John has made (total). I tried =Sumproduct((A4:A20=A1), (J4:J20,1,0)). I know I am missing something or not on the right track.

View 2 Replies View Related

Matching Names To Values Using Two Columns?

Jul 17, 2014

I have a worksheet that has a compilation of reports, each of which has multiple columns that aren't necessarily organized in an Excel-friendly way. However, the first column contains a list of "name" headings (titled "Name") and the second adjacent column always lists the actual name right beside it. Similarly, each person has a value heading in the first column (titled "The Value") and the actual value in the second column. What I would like to be able to do is have Excel search for the Name heading, paste the value in the adjacent column (the actual name) in a cell in a new worksheet, then search for "The Value" and do the same thing in the column adjacent to the one where the actual name was copied. The catch is I need Excel to do this and then search again for "Name", skip it, and start again with the first part of the procedure until all names and their associated values are matched. how to do something like this in VBA?

View 6 Replies View Related

Matching Names Then Delivering Value In Another Cell

Sep 3, 2012

I'm working on a project that has 2 sheets. the 2nd sheet has the raw data and the first sheet will be the sorted data.

To deliver the raw data on sheet 2 to sheet 1, I need the different names on sheet 1 to match to its corrosponding name on sheet 2 then deliver the value in another cell. I don't need the zero values but on some occosions the zeros and numerical values will be switched so i will need a formula that will deliver the numerical value to sheet 1 after it checks which cell contains the numerical value between columns B and C. there will always be a zero and a numerical value in either column B or C for each.

It will look like this. (assume 3 rows A, B and C and each value and name is in its own cell).

Sheet 1
Name
$

Interest

Cash

Dividends

[Code] ........

View 9 Replies View Related

Count Unique Names Only Not The Number Of Times It Appears?

Apr 4, 2013

I've got a set of data that I update once a month and the number of team members per team changes all the time. I'm trying to write a formula that basically says, if the date matches AND the manager name matches, count the number of team members.

In the attached sample if A2 and B4 are found in the data set, count the number of SalesReps they have. So I'm looking at Sarah for February 2013, she has two sales reps that sold something, but Katherine appears twice, so I'm not looking for a result of 3, the correct answer is 2. How do I write the formula?

A2 will look to the data range of A14:A23 and SarahK will look to I14:I23, but I want to count H14:23.

View 9 Replies View Related

Number Of Times A Letter Occurs In List Of Names

Dec 28, 2013

I have a list of names for my wedding and am making place cards out of scrabble pieces and need to know how many times each individual letter appears in the 150names to know how many of each letter to buy

View 5 Replies View Related

Matching Names On Different Worksheets With Function To Add Abbreviations

Jan 12, 2010

writing a macro script. I want to find matching names on two diffferent worksheets. More specifically I need the ability to match if I apply a abbreviation(s) to worksheet one in order to get matches in worksheet two.

e.g Company = Co. or
Insurance = Ins

Please see my attached excel document for an example.

I have over 27000 lines so doing this manually will take forever!

Ideally I would like this to be a macro script that I can edit to add as many different abbreviations as required. The attached document will make my task a lot clear.

Unfortunately I don't have any starting code as I am not an excel/visual basic programmer, But i hope somebody will be able to help me out here.

The reason I need to do it this way is because I have been given a file from a partner company that uses different abbreviations to the ones we use in my company. I want to see if the companies in the list I have been given already exist in out company database, therefore we need a suitable matching procedure.

View 10 Replies View Related







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