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
265 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
ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

803 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