Categorizing Items Based On Certain Keywords In Text?

Jun 9, 2011

I am looking to label an excel list of engineering drawings with 3 separate categories.

The categories are decided by key words in any of three columns:

-Drawing Title

I have attached a file that explains in detail and gives a mock sample of drawings.

View 3 Replies


Changing Cell Text Color WITHOUT Using Conditional Formatting Based On Finding Keywords

May 29, 2012

I have a spreadsheet that uses VB macros to calculate sums of cells based on the font color of the numbers inside. It used to be fairly easy going through each cell and "classifying" them by color, so that my macros can go ahead and sum the numbers in each respective color's cell... but now I have a huge amount of numbers and would like to automate the process somewhat. Here's an example using the A and B columns:

flight $400
hotel $150
hotel $130
meal $20
meal $15
flight $350

I tried using conditional formatting to automatically change the color of the adjacent cells based on the presence of a keyword such as "flight" or "hotel", but this change is only cosmetic, and doesn't actually change the font color (it is still the default black, hence why my color-summing macros won't work!).

I'm including a sample macro for what I use to color-sum my cells, but what I am looking to automate the color-coding process based on looking for keywords as explained above in my example. Here is one of the working color-summing macros (for red, in this case) if you'd like to use it as a reference:

Function SumRed(SelectedCells As Range)
' Adds the values of the cells where the font colour is red(3).
Dim Cell As Object
Dim x As Double

[Code] ...........

View 9 Replies View Related

Categorizing Data Based On Color Then Split Into Columns?

May 15, 2013

I have one column of data which I need to split into two. Those values that are bold need to migrate to column B. Have some difficulty in phrasing the question properly.


Desired output:
0 10
2 0
0 0
2 0
0 4

* note a few formatting issues here:
1. instead of bold and not bold, they are in green or in purple
2. 0 stands for an empty cell in my data set (I tried to fill the empty cells with zeros, but they somehow inherit the colors, i.e. some zeros are green and some zeros are purple; guess that wouldn't be a problem since the desired output they'll all be zeros anyway?)

View 5 Replies View Related

Highlight Keywords In Text Strings

Oct 24, 2007

I perform a =Find(word,range) for certain keywords in text strings. Is there an easy way to have excel highlight the words within the string so i can easily identify its location? The text string might contain more than one keyword.

View 9 Replies View Related

Find Keywords Within Cell Text Of Another Column?

Nov 8, 2013

I'm evaluating the effectiveness of a keyword list we use to identify certain, high priorit,y medical situations from a string of text.

So, I have a column on a sheet of data (EIS Report!"B:B") in this case, and a seperate column on another sheet with keywords (Keywords!"A2:A47").

I use the formula ={OR(NOT(ISERROR(FIND(keywords!$A$2:$A$47,$B2))))} to identify if any of the keywords exist in the string.
This works well but I would like to improve my work in two ways:

1 - Identfiy, in another column on the EIS report sheet, which keyword it is that's been found within the string,
2 - On the keyword sheet, add another column of words, which if found within the string, would act as an exclusion.For example, I might use "STAB" as a keyword to look for "Male stabbed" etc, however might want to exclude "STABBING" to stop the solution triggering on "STABBING PAINS IN ABDO"

How might i adjust my formula?

View 9 Replies View Related

Extract Data From Worksheets Based On Keywords

Nov 15, 2009

I have a workbook with data extracted from our ERP (transaction sheet), and a list of cards (card list sheet) which ties the relevant cards to companies and vehicle.

I would like a macro to extract all transactions in the "transaction" sheet into a new file (see "unit" sheet), with the relevant company name, report dates, vehicle number, card no, date, time, polling point name, volume, unit rate. The "Amount" column will be the volume X unit rate.

Vehicle numbers can only extracted from "card list" sheet, and not found in the "transaction" sheet.

these are the details I need:
- all company's transactions details (not sorted in the "transaction" sheet) should be extracted into new individual company's excel file
- headings I need are shown in the "Usage" sheet (company name, vehicle number, etc)
- depending on the number of transactions, there should be a " subtotal" row below the last transaction (as shown) of each vehicle
- with all vehicles extracted from each company, a grand total will be added
- filename should be created with company name

View 9 Replies View Related

Identify Specific Keywords (plural) In A Column Of Text

Nov 3, 2009

So i'm try to automate a process that I currently do using filters.

Here is the problem:

I have a list of text in a column (usually 700 or so entries).

I need to remove any entries that contain 1 of 42 keywords.

So I need a fast way to search each cell for each one of the 42 key words and flag the cell for deletion if contains anyone of the 42.

1 This field has keyword1
2 This field has keyword2
3 This field doesn't have any of the 42 keywords

somewhere else I would have a list of keywords in a column.

View 9 Replies View Related

Count Number Of Keywords (range) Found In Text String

Aug 23, 2013

I am trying to count the number of specific words contained in a specific cell. If my data were static, and the list of keywords was short, there are many solutions such as using multiple instances of the length function as proposed by @shg here.

Suppose I have the following sheet: (column C is what I am trying to achieve)



That is, C2 will tell that B2 contained 3 of the keywords (1X beautiful, 2X happy) and so on.

View 9 Replies View Related

Categorizing And Sorting Data

Jul 3, 2009

Every week I export a payroll report from my payroll provider (sample attached). The report is sorted by employee name. I need this report to be categorized by department and show a subtotal for each department. The payroll provider does not provide a means to put departments in the system.

I'd like to find a way to automate this as much as possible. The final report has to have a column that reflects each employee's department and the report must be sorted by dept with a subtotal for each dept. I tried to do this using a second worksheet that lists each employee and the dept they work in and linking it to the payroll summary using =IF; that obviously did not work.

Does anyone have any suggestions as to how this can be accomplished? The process would need to be repeated for many clients each week, so I'd like to keep it as simple as possible.

View 7 Replies View Related

Categorizing Number Of Seats Into Buckets

Oct 19, 2011

I want to categorize the # of seats into buckets (1-5, 6-10, 11-20, 21-50, 51-100, 101-250, 251-500 and 500+).

So if the number of seats is 19, than the bucket would be 11-20.

Is there an easier equation than IF(OR?

View 3 Replies View Related

Categorizing Column Values Using Multiple Criteria?

Aug 1, 2014

I am working with an aging report where data is formatted in column. In the last column I would like to assign a value based on criteria from the adjacent columns (ex: If balance > $10,000 then value = "Hold").

My idea was that I would asign variable to the column, start a for next loop, and insert the criteria in an if then else loop. Is this the best way to go about it, should I be using case select, and how do best assign the variable to column so that I can loop down the entire report.

Here's an example of what I'm working with



View 2 Replies View Related

Excel 2007 :: Categorizing By Multiple Columns And Rank?

Jun 13, 2013

I'm currently working on a process to recategorise products for a distribution company to give a category based on successful sales transactions.

Product Code
Month 1
Month 2


This isnt the actual data in case you're wondering I'm doing this with 32k lines.

So, what I want to have is categories based on sales transactions, labelled with letters. So, cat A is sales in three consecutive and top X when total of three month consecutive sales, cat B being above X number of transactions in three months not already categorised by cat A. There is a Cat C, and various others which I can do myself, but i dont know how to make the category A work.

I'm using Excel 2007.

View 4 Replies View Related

Index Items Based On Criteria?

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

Return A Value Based On 2 Items From List

Jan 19, 2009

In Excel 2007, I need to be able to return a value (definition of something) based on what is selected in 2 other cells.

(See Attached)
If in cell C2 I select "competency 1" and in Cell C3 I select "Expert", I need to be able to return the definition for someone that is an Expert in Competency 1 in cell D2.

Then, if in cell C5 I select "competency 2" and in Cell C6 I select "Leading", I need to be able to return the definition for someone that is Leading in Competency 2 in cell D5. And I'll be doing this about 10 times on each sheet.

All the tables with info are in another worksheet. I can do a vlookup if I'm just using one thing to match, but how do I match 2 things to return the definition?

View 2 Replies View Related

Grouping Of Items Based On Same Parts

Oct 21, 2013

I am working with a large data set containing information about certain items

The items are structured so that they all have seven main sections. Within each main section their is a variable number of parts, that the items are made of.

The items uses only one part from each main section. So all items consists of seven (identical) main sections and seven parts.

I am looking to group items togheter which are precisely identical. I mean the items that uses the same part in all the main sections.

Is there an Excel/math wizard out there? I have all the data, but I can't make Excel do this task for me..

View 8 Replies View Related

Add Items To Listbox Based On Criteria

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

COLOR Items, Text & Cell(s), Unresponsive

Jan 18, 2010

I should much appreciate your help on this strange new problem which is twofold:

1. Clicking either color item (for text or for cell) brings no change in designated cell(s)

2. When colors appear on Print Preview they do not on the Printout.

It occurs on Dell Vista Ultimate SP2. Am on IE8; Ctrl Panel list also shows !E7.

It does not occur on HP XP SP3 desktop although no discernable differences in spreadsheet.

On laptop I am unable to use either COLOR icons -- for text or for cells. No trouble heretofore which makes it so frustrating.

Ordinarily, following usual usage, all is well. For unknown reasons, now neither has any effect.

Explored for cause/cure without finding anything more than instructions already well known.

Did see note saying High Contrast might make colors ineffective, so searched out that.

Found how to turn on/off, and easily turned off High Contrast. Made no difference.

View 12 Replies View Related

Counting Unique Items(values Or Text)

Aug 3, 2006

I want to count unique items in a list with an array formula, like the items is in 3 columns A,B,C are from row 2 to 101. Now i use an array to filter out some rows in the columns of B,C & then count unique items in Column A.

column A has "30 diffrent names repeated from A2 to A101"
column B has numbers 0 to 100
column c has value either 0 or 1

now i use an formula TO filter out rows in column B & c
formula =count(IF((B2:B101>0)*(C2:C101<>1),1))) using ctrl+shift+enter

now what should i suffix or prefix to this formula to count unique values in column A.

View 11 Replies View Related

Sum Quantity And Price Across Sheet Based On Items

Jun 18, 2013

I have an issue when I use the sumproduct formula, it only sum the quantity and price orderly which is not matched

I have attache the file for example : Sale monthly.xlsx

View 9 Replies View Related

Dynamically Rank Items Based On Two Criteria’s

Jan 3, 2007

I need to have excel dynamically rank items based on two criteria’s (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

Summing Multiple Items Based On A String In A Cell?

Jan 24, 2014

I have columns (1-7) containing values of time these columns are labelled G,R,A,S,D,B,T by 850 rows (which are locations/jobs)

The next set of columns (1-7 determins what week the work takes place) so you will get a G in a cell or GR etc.

I would like a formula to work out the sum of the time columns by the code in the corresponding cell - I am stuck!

Seantc example.xlsx

View 7 Replies View Related

Remove Duplicates And Populate Items Based On Dropdown?

Feb 10, 2014

I have an excel sheet with data where I have column A index number, B company name, c empty, d data , e with item.

[Code] ......

What I trying to do is I made a dropdown for company list and i select comp1 then i want to populate items list with out duplicates .

View 2 Replies View Related

Index All Items In Column Based On Multiple Criteria?

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

Exclude Items In Dropdown Based On User Data

Jul 10, 2013

I'm trying to set up a diet/training spreadsheet so that when a client enters foods and exercises they don't want/can't do, those foods and exercises are made unavailable in dropdown menus (on my programming sheet) so that I can't inadvertently put them into their plans. I have a webform they fill out, which automatically puts the data into a spreadsheet and I know how to pull data from there into the clients' workbooks...

View 2 Replies View Related

Create Column Of Data Based On Unique Items

Dec 19, 2006

I am trying to seperate singlr column information into seperate column based on the name in the Data 1 column.

Data1 Data2 Result 1 Result 2 Result 3

View 3 Replies View Related

SUMIF Or SUMIFS To Find Text And Date Between From Items In A Table

Feb 19, 2014

Figuring out a SUMIF or SUMIFS formula which will clean up some weekly data. I am envisioning a SUMIF formula which looks at the client name in column A in a table and then it will search through the long list of data for all entries for that specific client on another sheet in column "A", for instance. It needs to take into consideration only the encounters which happened between the dates in the table for that client listed in column B & C. The sum will be the column next to the column with each client's name which has a procedure date in between the date criteria's from the table. I have attached an example to better illustrate.

SUMIF Example.xlsx

View 5 Replies View Related

Count Multiple Text Items Inside A Given Date Range

Sep 15, 2008

I have data in 2 columns.

2008-01-01 00:00:00 CRIMINAL EVENT
2008-01-04 00:34:48 OTHER
2008-02-04 00:23:59 SUSPICIOUS INCIDENT
2008-01-31 23:59:59 ENEMY ACTION
2008-01-08 00:45:43 FRIENDLY ACTION
2008-01-09-00:45:33 RAID

I need a formula or macro that will count all the times "Criminal Event", "Other", "Suspicious Incident", and "Enemy Action" occured in January. Also if possible I need to not specify column ranges, such as A2:A7, but instead it needs to find the last cell containing data in Columns A and B, and use that as the end point. For example it would search A2:Last Cell Containing Data

View 9 Replies View Related

Searching A Column For Keywords?

Jul 10, 2014

I am trying to NEXT my way through a column of comments and highlight the cells containing the key words. Below is what I have put together, but I know it is NOT working correctly....

[Code] .......

View 8 Replies View Related

How To Determine If Cell Contains Keywords

Nov 9, 2012

I have a column (Column B) that contains some free text and I have another column (column K, rows 3 to 12) that contains a series of keywords.

What I would like to be able to do is if column B contains one of the keywords in column K then that keyword is placed in column C.

There will only ever be one keyword per row.

View 2 Replies View Related

Extra Spaces Before Keywords

Apr 23, 2009

I am calling a procedure from a commandbar button using on action.

With oButton
.Caption = "&Progress Report"
.OnAction = 'this bit please
.BeginGroup = True
.FaceId = 576
End With

Private Sub ProcessingRequest(ByVal shtRequest As String)

End Sub

View 9 Replies View Related

Copyrights 2005-15, All rights reserved