Solved

Filter and Create a Column of Data

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

707 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

18 Experts available now in Live!

Get 1:1 Help Now