# Counting Strings Across Columns

Jan 9, 2014
I need to get the count of a string from multiple columns. The problem is that string1 exists in column A and String2 can exist in one of eight columns. See the example below.

What I want to do is use two search criteria. I want to find the number of times I have Type=A and if the row has a case Beta. In the example above I should get an answer of 2. (From rows 3 and 9)

I tried countifs but I cant seem to get it working properly.

Attachment 288701

View 3 Replies
ADVERTISEMENT
Jul 31, 2009

I don't know what's wrong with this it's not working..

=COUNTIF(SEARCH("radio",A2:A20),"")

i just want to count all the cells from a2 to a20 that has a word "radio" from that cells. Since a2 until a20 have different words like tv power, radio blaster (this should be consider because there's a radio word on it) and so on.

if i use only =COUNTIF(A2:A20,"radio") the word should be exact "radio" and it wont consider the word "radio blaster".

View 3 Replies
View Related
Jan 27, 2010

I want to count the number of consecutive text entries in the one column. Skip a certain entry eg: NA, then count the next string of the same entry. eg:

Apples

Apples

Apples

Apples

NA

NA

NA

Apples

Apples

Apples

NA

So the output that I am after will be counting the number of Apples in a row 4 & 3 but skipping NA.

View 9 Replies
View Related
Oct 3, 2007

I have a list of around 50000 names. I need to count how many are unique.

View 9 Replies
View Related
Jan 14, 2014

I'm looking for the easiest way to count the number of occurrences within a cell range.

The formula that I'm currently using is:

=COUNTIF(D$5:D$8,"a*")

This counts the number of cells that start with 'a' and returns the sum. It seems to work fine, but when I try to make it look for more values in the range it gives me an error. For example;

When I want to find multiple values in the range and count them all, I use this formula:

=COUNTIF(D$5:D$8,OR("a*","b*","c*"))

View 9 Replies
View Related
Dec 7, 2011

How would I go about counting the number of times TA shows within strings of text in a range within a sheet. Example: TA,MH in cell A2, CB,TA in cell C40, ES,TA in cell Q19. Result would be 3. Ideally, I'd like the formula to reference a cell that has TA as the look up data such as in A1 I'd have TA.

View 4 Replies
View Related
Mar 2, 2009

I'm new to this, and trying to get a spreadsheet organised for my nba fantasy team. To save time, (and me having to enter the positions of 300ish people individually) I'm trying to pull out their positions into seperate colums.

The data I am trying to pull is from these:

Jarrett Jack, Ind PG

Gerald Wallace, Cha SF, PF

=IF(FIND("PG",$B2),"PG","")

That is the formula I am trying to use, it finds the PG for some, but when it doesn't it gives me this "#VALUE!" in the cells, instead of a blank as I have tried to input.

Now, there are 5 combinations that I am trying to pull out: PG, SG, SF, PF and C.

There are multiple combinations that need to be pulled out, and placed into my 3 cells allocated (EG - 1 for Pg, 1 for SG, 1 for SF).

I have also found a flaw that takes the C from Cha (being the team) instead of from the position. Can I search for a individual C? I've tried to google these things, but I can't find an answer.

View 11 Replies
View Related
Feb 27, 2014

I am working on a report but I need to split of text cells that contain text and numbers. I had worked in some formulas and I got stuck again when I drag down the formulas. In the attached file, you will see two tables. The one in the left is my current job. In the table of the right is how the table must look like.

The table is complete and will give you the whole idea.

Basically, I need to split the cell into three categories that are "Family", "Model" and "Phase". In example:

Cell Family Model Phase

CCA CCA

DC50X DC50X

DCX3300CRDDCX3300CRD

DPC2434 DPC2434

DCT-1700DCT1700

DCT-1800DCT1800

DCT-1800P3DCT1800P3

DCT-1800P4DCT1800P4

Attached File : Family Model.xlsx

View 4 Replies
View Related
May 4, 2009

I have a spreadsheet that gathers information from multiple cells and strings the data into a long string - each piece of data broken by a comma in the string.

In another spreadsheet, I copy this data string into column A on sheet 1 - starting on row 2 and down.

On sheet 2 - and this is where I need help - I would like to have a macro that will take each data string on Sheet 1 column A and parse it out into multiple columns but the same row on Sheet 2.

ColumnA Row2 Sheet1 -> changing to many columns on Sheet2 but still on the same row.

The data string always represents the same number of data components - its just a matter of breaking it out and placing each data piece into its own column.

View 11 Replies
View Related
May 10, 2012

I have two columns. In the first column, there is in every cell some text. In the second column, there are some blank cells. It looks like this

textCOL1 textCOL2

text1COL1

text2COL1 text2COL2

text3COL1 text3COL2

text4COL1

text5COL1

text6COL1 text6COL2

How do I remove the rows which have text only in the first column?

The output should be:

textCOL1 textCOL2

text2COL1 text2COL2

text3COL1 text3COL2

text6COL1 text6COL2

View 4 Replies
View Related
Oct 13, 2008

I'm trying to compare values in 2 separate columns to see how many times the same value appears in both columns. Ideally I would be able to insert a range function to compare the values in the column "ID 1" against the values in column "ID 2" and return the count of times that a value appears in both columns. For example 2122, 1112 and 1718 appear in both columns and I would like the formula to return a count of 3.

ID 1ID 2

12342122

45671112

89101718

11122678

13144544

15162324

17189987

19201215

21221928

1976

2576

2345

4678

In my actual project I'm comparing 2 columns in the same worksheet. The column are column B with data in cells B2:B10266 against column C with data in cells C2:C18560.

View 4 Replies
View Related
Mar 13, 2014

As enclosed in my workbook,I want to separate the numbers between two strings of which one is in the left hand side and other is in mid.The data is in Column D.The simple way to understand is that,

Total Amount = Amount X Exchange Rate

Total Amount is in Column B, where as "Amount X Exchange Rate" is in combined form in column D.Yes, this I want to separate i.e Amount separately column and Exchange Rate in separate column.I have shown one expected result in column E,F.There are certain characters like ],= which you have to not to take any amount after ] or =.The currency is somewhere,$/$$/INR/IRS,etc.

View 4 Replies
View Related
Feb 10, 2014

I have a field that contains rows of data, each made up of a Number followed by Text. The length of the numbers differ - sometimes 4 digits, sometimes 5 or 6. Similarly, the text differs by word-count. An example is

2546 Nags Head

75698 Dog & Duck

634 Crown

I want a way of dividing the numbers from the text (numbers in one column and text in another).

Standard 'Text to Columns' won't work: I can't use 'Fixed Width' due to the number-length varying, and I can't use 'Delimited' and [space] as it will then split all the text up word-for-word (concatenating them back will take ages as my list is 480 rows long).

View 5 Replies
View Related
Dec 20, 2012

I need to do a vlookup that takes a string from one cell and then tries to find that string (embedded in a larger string) in the table array

Essentially I imagine this involves the FIND function at some point.

Attached is an incredibly simplified example of what I'm looking for.

View 9 Replies
View Related
Dec 16, 2013

I have an excel worksheet with about 10K rows of data in column A.

I have also another list of data, about 200 rows of data, in column G.

I need to color each cell in column A that contains, anywere in the string, any of the data strings in column G.

Example:

in column A

row 1: info@duende.com

row 2: rasko@silvester.com

row 3: supportonline@fabius.com

row 4: myhelp@friday.com

in column G:

row 1: help

row 2: info

row 3: support

I need rows 1, 3 and 4 in column A to be colored.

View 9 Replies
View Related
Apr 29, 2014

I have a spreadsheet with 3 sheets, the first sheet is to be an overview of the entire workbook used to keep track of training,

The last sheet (Called Raw_Data) contains various coloumns, the two I am interested in is the training course and the name, as someone completes a course I record what the course was, who did it and date/time of start/finish,

What I would like to do it to count on the front sheet how many times someone has completed a course

Operational Overview

Joe Blogs

Work Pratices

Joe Blogs

Incident Handling Processes

Joe Blogs

Training

Paul Smith

Incident Handling Processes

Joe Blogs

From the above table Job blogs should flag in a cell for Incident Handling Processes twice, Is this something that can be done via a formula as I am trying to avoid VBA.

View 1 Replies
View Related
May 29, 2006

This is a very simple thing that i can't seem to figure out or find the right code in search.

How do i count the number of columns in an excel worksheet?

- No selection should be made

- If it helps, the worksheet only shows the columns and rows with data, if there are no data there are no columns, something about the Page break view...

View 9 Replies
View Related
Jun 27, 2014

I am trying to count how many times a certain value appears in a column. For example how mnay times A81001 appears in column A and compare with column B. I suppose it's Count function?

column A column B

A81001A81001

A81001A81001

A81002A81002

A81002A81002

A81002A81002

A81002A81002

A81002A81002

A81003A81003

A81003A81003

A81003A81004

A81004A81004

A81004A81004

A81004A81004

A81004A81005

View 12 Replies
View Related
Mar 17, 2009

In my table I have a column called Series and Column called Games.

Now when a user makes an entry the do the following

Enter the Date of a game

then a Series # (I wish I could make this auto increment because a series number can never be used more than once.)

then a game number starting with 1 and never going past 3.

Then Bet Team, Home or Away and Vs Team.

Now let it be know if the column called w/L = Win then that Series is over for ever and there will be no more games played.

If there W/L = Loss then I must create a new row for that SERIES with the next game number.

What I was hoping to do is

If I write in the following going in order

Date ---4-11-09

Series # ---- 6

It should auto populate

Game to the next game #

Bet Team

H/A

Vs Team

I also want it to update my record

C3 is my series Wins

D3 is my series Losses

I do not know how to populate that.

A Series Win = during a series game 1-3 where W/L = Win

A Series Loss = a series 1-3 where there are no wins. A series does not count as a loss until you loose game #3.

View 10 Replies
View Related
Jul 25, 2012

I have two columns that represent constituents from a stock indices from two different years. I would like to find out what stocks appear in both years.

View 1 Replies
View Related
Oct 19, 2012

I want to have the number of used columns in a worksheet. The information will be used to understand what range the data is in. So for the rows I am using nRows = Application.WorksheetFunction.CountA(myRange). I am hoping to have something similar for the columns.

View 6 Replies
View Related
Sep 10, 2013

How can I count all the cell text from different columns?

I have a sheet..that has the well known columns from A to EM, but let's say A to Z (A,B,C,etc).

I want to count all the cells that have text inside from columns: A,C,E,G,I (so, from 2 to 2). But the counting to be for all these A,C,E,G,I, etc columns, and to be put in a cell which gives this total number as info for user.

How can I do this?

View 9 Replies
View Related
May 16, 2014

I Have a column in excel that contains different words like true false single double wide. I need to count in total how many say true and false.

True

False

Single

Double

Wide

True

True

The answer i need is 4

View 2 Replies
View Related
Dec 11, 2013

I was trying to see the values only if the same value arrived more than three times in the given range.

Ex:

ABCDEFGHIJ

1AAAABAA

2

in the given range A1:J1, I would like to count 'A' only if it repeats more than or equal to 3 times. For row 1 I should get count as 4.

View 1 Replies
View Related
Oct 17, 2013

So, in general I do have two columns F and G taken from the other xls.

Age is obviously difference between today and open date

Open date is open date.

I made a table like:

Age and due date.png

In this case, I have 3 rows where there is no open date extracted, therefore is no age. The counter stops on them and shows 529 in total instead of 532 or shows the age as far more than 365 days. How can I count the blank cells, but only in the range of the list I do have, not the all blanks I have from the beginning till the end of the column, so I could (for similar in this case) have 3 blanks cells counted?

Sometimes is also stuck in the middle of counting (when blanks are inside there) and the total number is even smaller. What function can I use to count these 3 (or less, more inn the future) as BLANK to have the total numbers realistic?

View 6 Replies
View Related
Nov 23, 2011

=SUM(IF(FREQUENCY(IF(B2:B20="Temp",MATCH(A2:A20,A2:A20,0)),ROW(A2:A20)-ROW(A2)+1),1))

The works when referencing two columns. I need a total count of unique across three columns.

Sample Data

A | B |C

Jason | Temp | 1

Jason | Temp | 1

Jason | Final | 1

Kim | Temp | 1

Mary | Temp | 2

My summary table has the unique values of C in first column and the unique values of B as headers. I want the unique counts as the data.

Temp | Final

1 | 2 | 1

2 | 1 | 0

View 5 Replies
View Related
Sep 30, 2013

If I have two columns of data, and I want to count the numbers of times a certain letter appears in column A and another certain value appears in column B, I use the following formula:

=sumproduct((AA="yes")*(BB:="X"))

What formula would I use to count the number of times "yes" appears in column A, AND EITHER "X", "Y", or "Z" appear in column B?

Would this still be a SUMPRODUCT formula, or would a cOUNTIF formula be used?

How about counting the times certain letters appear in THREE columns?

View 2 Replies
View Related
Jul 25, 2008

I am using Excel 2007 on Windows XP. I have written up a questionnaire that allows the user to simply check boxes in the cells. My problem is coming up with a formula to count the number of boxes have been checked. I tried several count formulas without any luck. I think one of the problems is that when I highlight the cells with these check boxes it doesn't actually show in data in the fx line.

View 9 Replies
View Related
Apr 22, 2005

I have an Excel document that I want to count the number of rows that meet a text value in two columns.

Column B has a value of either "Open" or "Closed".

Column C has a value of either "High", "Med", or "Low".

I want to count the number of rows that are "Open" "High", "Open" "Med", and "Open" "Low".

I've been studying a number of different formulas, but I can't seem to get my head wrapped around this functionality.

View 9 Replies
View Related
Feb 28, 2013

how to Chk the text string in particular cell, compare it with a super set column and get the full from of the text string from another corresponsing column and the output will be corresponsing full form of the chked text string?

View 6 Replies
View Related