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
255 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
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.

 
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

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

Suggested Solutions

Title # Comments Views Activity
Macro 6 49
VBA Array, write each column's start position into an array 17 32
Excel for Mac - How make those Tabs larger? 2 31
ADD New Entries 7 16
Sparklines have been introduced with Excel 2010 and are a useful tool for creating small in-cell charts, used for example in dashboards. Excel 2010 offers three different types of Sparklines: Line, Column and Win/Loss. What it does not offer is a…
Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

911 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