Solved

How to automatically add/copy or delete a a row from a second worksheet based on a value on another worksheet

Posted on 2012-03-23
6
245 Views
Last Modified: 2012-03-28
Excel 2010, Win 7 Pro

I have a Workbook with 2 Worksheets, 1 of them we use to input data and perform calculations the second we want to create automatically from the first.

Basically the concept is the following

if a Cell, for example B1, of WorkSheet1 has a "Yes" copy that row to the next available row in worksheet 2
Do that in every row  that has a Yes until the end of the Worksheet
If the Yes is changed to No delete it from the second worksheet
If it is changed from No to Yes add it to the second worksheet
Do it automatically if a row is added or deleted on Worksheet 1

Is it possible to do that without writing VBA code?  If so how do I do it?

Thanks
0
Comment
Question by:c7c4c7
  • 3
  • 2
6 Comments
 
LVL 41

Assisted Solution

by:dlmille
dlmille earned 250 total points
ID: 37759643
Yes - but unfortunately, you'd have to do it manually.  Having some helper columns with formulas and potentially using data filters would help that manual process.

Dave
0
 
LVL 2

Accepted Solution

by:
alpha456 earned 250 total points
ID: 37759695
The attached might do what you want. It requires the following
1.  On the first sheet : A column that identifies the Nth Yes by adding a number onto the word yes. I guess this would not be a problem.
2. On the second sheet : Lookup formulae that extend downwards further than the number of Yes's you have on the first sheet.

You can change Yes's to No's and vice versa and add or delete rows on the first sheet and still get the "Yes" data on the second sheet.

Hopefully, you can see what it's doing and decide if it works for you. If it's not clear, let me know and I will explain further.

Kind regards
Example.xlsx
0
 

Author Comment

by:c7c4c7
ID: 37761618
Adding a number is a problem, the customer is going to see it eventually and it could confuse them
0
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.

 
LVL 41

Expert Comment

by:dlmille
ID: 37761675
Is there a particular reason you don't want to use VBA?

Dave
0
 

Author Comment

by:c7c4c7
ID: 37763464
Not really, it would be less work if Excel provided the functionality without writing the code.
0
 

Author Closing Comment

by:c7c4c7
ID: 37778244
Appreciate your help, looks like code time
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Workbook link problems after copying tabs to a new workbook? David Miller (dlmille) Intro Have you either copied sheets to a new workbook, and after having saved and opened that workbook, you find that there are links back to the original sou…
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

758 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

17 Experts available now in Live!

Get 1:1 Help Now