Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sort data by given date

Posted on 2011-09-28
3
Medium Priority
?
245 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
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

971 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