Solved

Filter and Create a Column of Data

Posted on 2014-09-04
4
90 Views
Last Modified: 2014-09-08
I have a workbook that has data in several columns. I want to create a new column that consists of the values in one colum,n when another column meets a certain criteria. As an example, given the list below, it contains 2 columns. I want to create another column that has a formula that will contain a list of venhicles that are blue. Thus, it would contain '2012 Caravan' in row 1 and '2011 Chrysler 300' in row 2. I want the rows contiguous rather than having something in row 1 and another value in row 4:

'2012 Caravan'   'blue'
'2008 Mustang'  'red'
'2010 Corvette'  'yellow'
'2011 Chrysler 300'  'blue'

I am using Excel 2010.
0
Comment
Question by:dbbishop
  • 2
  • 2
4 Comments
 
LVL 21

Expert Comment

by:Randy Poole
ID: 40303779
Any reason your just not using a filter then trying to use macros and formulas?
0
 
LVL 15

Author Comment

by:dbbishop
ID: 40303915
Because I'm not. I want user to see ALL data, and also specific data in a separate column.
0
 
LVL 21

Accepted Solution

by:
Randy Poole earned 500 total points
ID: 40304005
Give this a try.  Just click on a color in column B to run the routine
Lookup.xlsm
0
 
LVL 15

Author Closing Comment

by:dbbishop
ID: 40309961
Thanks. Works great.
0

Featured Post

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
stuck in average-1 12 65
HOW CAN I TRANSFER AN COLUMN DATA TO ROW FOR ANALYSIS 7 23
Index Match Formula VBA 6 21
Countdown Timer in Excel 6 14
How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
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 in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

828 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