Solved

Search and filter macro

Posted on 2014-12-01
2
52 Views
Last Modified: 2014-12-02
Attached is a spend sheet. Column C contains a list of product descriptions. A number of the product descriptions end in "DIRECT DELIVERY" (or some variation of at least). What seems to be consistent is that the letter's "DIR" will always feature in the different variations.

I want to be able to identify all of the cells that feature "DIR" in them and then add a number "1" in a column next to it so these rows can then be filtered separately from the rest of the data.

Is this at all possible?

*See attached*

Rob
A-B-C-analysis.xlsx
0
Comment
Question by:robmarr700
2 Comments
 
LVL 25

Accepted Solution

by:
ProfessorJimJam earned 400 total points
Comment Utility
create new column next to C then put this formula =IF(ISNUMBER(SEARCH("DIR",C2)), 1,0)

if you want it to be case sensitive for "DIR" then use =IF(ISNUMBER(FIND("DIR",C2)), 1,0)

these will put 1 if found and if not then 0
0
 
LVL 31

Assisted Solution

by:Rob Henson
Rob Henson earned 100 total points
Comment Utility
Why not just filter on column C with:

Contains:    "Dir"

Thanks
Rob H
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now