Solved

Filter and Create a Column of Data

Posted on 2014-09-04
4
88 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
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.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

867 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

22 Experts available now in Live!

Get 1:1 Help Now