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
Solved

Sort data by given date

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

792 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