Hi. I have a pretty difficult question, at least to me. I am used to Excel and using Formulas, but when it comes to VBA, I am a noob.
Here is what I have been trying to accomplish to no avail.
I have an Excel workbook with two sheets. Once is called "Source", the other is called "Display". The "Source" tab has a bunch of manual entries - in particular column A has numberical data (1-100), column B has website URL's ( and column C has a dropdown value of either "yes", "no" or a blank.
What I want to do is create an array if you will of all rows that have "Yes" in Column C. The tricky part is that I want them copied over to the "Display" tab one by one (in order of selection) but on evey other row. Here is an example of the "Source" tab:
So the jist here is that row B1,B3,B4,B5,B6 and B10 are all qualified to be copied over to the "Display" tab. Now here is how I want the data to be placed:
Every other row should have the data sequentially from the "Source" tab. I tried to do this in formulas and using conditional formatting, but they didn't work, and according to what I tried, the only way to do this is using VBA.
I appreciate help with this, an example would be ideal as I have wasted so much time and effort trying out different methods and I need to get this to work - I am dealing with tons on data and this would cut some hours by automating it.
Thanks!
Web site design, internet marketing, SEO and business solutions company.
Here is what I have been trying to accomplish to no avail.
I have an Excel workbook with two sheets. Once is called "Source", the other is called "Display". The "Source" tab has a bunch of manual entries - in particular column A has numberical data (1-100), column B has website URL's ( and column C has a dropdown value of either "yes", "no" or a blank.
What I want to do is create an array if you will of all rows that have "Yes" in Column C. The tricky part is that I want them copied over to the "Display" tab one by one (in order of selection) but on evey other row. Here is an example of the "Source" tab:
Code:
Column A Column B Column C
1 [URL unfurl="true"]http://www.test1.com[/URL] Yes
2 [URL unfurl="true"]http://www.test2.com[/URL]
3 [URL unfurl="true"]http://www.test3.com[/URL] Yes
4 [URL unfurl="true"]http://www.test4.com[/URL] Yes
5 [URL unfurl="true"]http://www.test5.com[/URL] Yes
6 [URL unfurl="true"]http://www.test6.com[/URL] Yes
7 [URL unfurl="true"]http://www.test7.com[/URL]
8 [URL unfurl="true"]http://www.test8.com[/URL]
9 [URL unfurl="true"]http://www.test9.com[/URL]
10 [URL unfurl="true"]http://www.test10.com[/URL] Yes
So the jist here is that row B1,B3,B4,B5,B6 and B10 are all qualified to be copied over to the "Display" tab. Now here is how I want the data to be placed:
Code:
Column A Column B
1 [URL unfurl="true"]http://www.test1.com[/URL]
2 SKIPPED ROW
3 [URL unfurl="true"]http://www.test3.com[/URL]
4 SKIPPED ROW
5 [URL unfurl="true"]http://www.test4.com[/URL]
6 SKIPPED ROW
7 [URL unfurl="true"]http://www.test5.com[/URL]
8 SKIPPED ROW
9 [URL unfurl="true"]http://www.test6.com[/URL]
10 SKIPPED ROW
11 [URL unfurl="true"]http://www.test10.com[/URL]
12 SKIPPED ROW
Every other row should have the data sequentially from the "Source" tab. I tried to do this in formulas and using conditional formatting, but they didn't work, and according to what I tried, the only way to do this is using VBA.
I appreciate help with this, an example would be ideal as I have wasted so much time and effort trying out different methods and I need to get this to work - I am dealing with tons on data and this would cut some hours by automating it.
Thanks!
Web site design, internet marketing, SEO and business solutions company.