Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JDB JDB is offline
external usenet poster
 
Posts: 42
Default Moving data automatically on the same sheet

Hi,

I have a workbook that tracks sickness absence. One of the columns is a
return to work date (either actual or anticipated). Is it possible that when
the return work column (column N) has a date in it that the row gets moved to
the top of the sheet so eventually all those with return to work dates will
be grouped together?

Regards,

JDB
  #2   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Moving data automatically on the same sheet

One simple formulas play which will autosort it in chrono order in an
adjacent range

Assume you have 3 cols of source data in cols A to C, data from row2 down,
where col C is the key col which contains the RTW dates (assumed to be real
dates)

In E2: =IF(C2="","",C2+ROW()/10^10)
Leave E1 blank

In F2:
=IF(ROWS($1:1)COUNT($E:$E),"",INDEX(A:A,MATCH(SMA LL($E:$E,ROWS($1:1)),$E:$E,0)))
Copy F2 to H2. Select E2:H2, copy down to cover the max expected extent of
source data, say down to H100. Minimize/hide away col E. Format col H as
dates. Cols F to H will return the desired autosort of the source cols A to C
in chrono order by RTW dates.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"JDB" wrote:
I have a workbook that tracks sickness absence. One of the columns is a
return to work date (either actual or anticipated). Is it possible that when
the return work column (column N) has a date in it that the row gets moved to
the top of the sheet so eventually all those with return to work dates will
be grouped together?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
moving data from one sheet to another David Excel Discussion (Misc queries) 3 February 1st 07 04:58 PM
moving filtered data between worksheets automatically dweezy Excel Worksheet Functions 3 October 4th 06 03:10 PM
Moving data from one sheet to another automatically holyman Excel Discussion (Misc queries) 2 July 4th 06 02:44 PM
Moving data from one sheet to another- How to? mbqc Excel Worksheet Functions 2 May 8th 06 06:05 AM
moving formula resupts to another sheet automatically jv Excel Worksheet Functions 1 February 27th 05 01:40 PM


All times are GMT +1. The time now is 12:32 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"