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

x
?
Solved

excel move automatically expired dates (row) to second sheet

Posted on 2013-01-24
7
Medium Priority
?
2,254 Views
Last Modified: 2013-05-05
Hi, I'm trying to get rows in my spreadsheet to move to another sheet once the dates expired.   Here is an example row of a date expired.  I want this yanked automatically and place on sheet two.  Can you help?  please...

ALL ABOUT PRESERVATION      12/9/2012      1/18/2013
0
Comment
Question by:snoopaloop
[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
  • 4
  • 3
7 Comments
 
LVL 11

Expert Comment

by:ScriptAddict
ID: 38816483
If you want to get the row to actually move, I think you need to have VBA code involved.

You could create two spreadsheets, and filter them both by  >now() or <now() depending on the sheet.  That might work if now is allowed as a filter.

That could have the effect of making them look like they move.  

-SA
0
 
LVL 11

Expert Comment

by:ScriptAddict
ID: 38816517
Hmmm doesn't look like that will work,  I guess I would use conditional formatting.  

That should be able to color a cell based on the date compared to today, and then just filter the color that has expired instead of based on date.  

If you are using Excel 2010 that should work.  If you have to do it with VBA that is going to be a different approach.
0
 
LVL 1

Author Comment

by:snoopaloop
ID: 38816749
Im not sure what that means can you explain??
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 11

Expert Comment

by:ScriptAddict
ID: 38820068
what version of Excel are you using?
0
 
LVL 1

Author Comment

by:snoopaloop
ID: 38820418
Excel 2010
0
 
LVL 11

Accepted Solution

by:
ScriptAddict earned 2000 total points
ID: 38820782
Ok,

Here is how this solution would work.

1) Take your spreadsheet and copy it to a second spreadsheet.  So you get a second tab.

2) Put Auto Filters on both sheets.

3) Select column C (assuming that's where the date you care about is)

4)Select Home>Conditional Formatting > new rule > Use formula to determine what cells to format.

5) Enter something like this =(C1-TODAY())<=0 as the formula.

6) have the rule apply to C:C assuming C is the date column you are interested in.

7) Select a color (I chose the normal highlight color) for items that match.

8) Save the rule and make sure that your dates are entered as dates and not text by re-keying a single one of them if the rule isn't working right.

9)Turn on the filter on both sheets

10)On the first sheet filter by color on the column you are interested in (highlighted color).  And on the second one filter by color on the column but you select no fill.

This gives the illusion that they are moving, but no VBA coding is required.  You'll need to update the second sheet from the first each time you update the worksheet, or periodically, by copying it and setting the filter on the color or no fill.

However it should be functional with no VBA coding required.

-SA
0
 
LVL 1

Author Comment

by:snoopaloop
ID: 38887112
THere's a fix that the other IT consultant used to resolve it.  I would get that info tomorrow.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
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 the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

664 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