Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sort data by given date

Posted on 2011-09-28
3
Medium Priority
?
243 Views
Last Modified: 2012-05-12
I would like a button that once pushed it delets all data on that row that is not between the dates chosen in cell G1 and G2 eg:
Rows 4, 11 & 12 would be deleted in this case. Column B4 down is the range

       A                    B               C             D             E             F                       G          
1                                                                                                           14/08/2011
2                                                                                                           16/08/2011
3
4     1      13/08/2011 12:38      1      0      1      0
5     5      14/08/2011 12:46      1      0      1      0
6     5      15/08/2011 12:46      1      0      1      0
7     5      15/08/2011 12:49      1      0      1      0
8     1      16/08/2011 12:49      1      0      1      0
9     5      16/08/2011 12:49      1      0      1      0
10    8      16/08/2011 12:27      1      0      1      0
11    1      17/08/2011 12:27      1      0      1      0
12    5      17/08/2011 12:27      1      0      1      0
0
Comment
Question by:RobJanine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Author Comment

by:RobJanine
ID: 36812854
Sorry, also once above complete then sorted into days and number in column A, and remove columns C,D,E & F   eg: (EG with more data than above)

4     5      14/08/2011 12:46    
5     5      14/08/2011 17.48
6     5      15/08/2011 12:52    
7     5      15/08/2011 18:49  
8     5      16/08/2011 10:49  
9     5      16/08/2011 17:27  
10   7      15/08/2011 09.25
11   7      15/08/2011 14.32
12   7      16/08/2011 08.25
13   7      16/08/2011 15.32
14   7      17/08/2011 09.06
15   7      17/08/2011 14.54
16   9      15/08/2011 09.12
17   9      15/08/2011 14.45

I hope this makes sence.....

Cheers

Rob
0
 
LVL 8

Accepted Solution

by:
wchh earned 2000 total points
ID: 36813030
try the attachment...
delete-rows.xlsm
0
 

Author Closing Comment

by:RobJanine
ID: 36813174
Thanks so much....perfect!

watch out because I will have more questions while building this excel sheet tomorrow.

Thanks again

Rob
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

715 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