Solved

Sort data by given date

Posted on 2011-09-28
3
236 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 500 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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
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…

762 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

23 Experts available now in Live!

Get 1:1 Help Now