#1   Report Post  
Posted to microsoft.public.excel.misc
nba nba is offline
external usenet poster
 
Posts: 11
Default dates inbetween

I have data in the following columns:
a b c d e f

trans date name unit start end duration
01/06/09 John Smith g1 1/10/09 10/10/09 10
01/07/09 John Smith c1 1/10/09 8/10/09 8
15/09/09 John Smith r2 1/10/09 15/10/09 15
01/04/09 Mary Jane c4 1/11/09 20/11/09 20
21/05/09 Mary Jane g4 1/11/09 22/11/09 22
01/10/09 Fred Mac r2 1/12/09 02/12/09 2
01/10/09 John Smith g1 1/12/09 5/12/09 5
01/11/09 John Smith r2 1/12/09 5/12/09 5

I wish to create a gantt view of the bookings with a single row for each
unit (column c) showing the start, end and dates inbetween formatted the same
as a gantt chart.

I can get the start and end dates working but I am stuck on the inbetween
dates. eg: a booking starting 1/12/09 ends on 5/12/09 but includes the dates
2/12, 3/12 & 4/12.

Can you help.
  #2   Report Post  
Posted to microsoft.public.excel.misc
LXG LXG is offline
external usenet poster
 
Posts: 6
Default dates inbetween

if you can add a column...try this
=NETWORKDAYS(first date,last date,0)+K12

where 0 is the holidays
and K12 is additional days (in your example it would be 3) where 3 could be
a countA, or countif from another cell...this returned a 7 for me.

Please click yes if this helped.

"nba" wrote:

I have data in the following columns:
a b c d e f

trans date name unit start end duration
01/06/09 John Smith g1 1/10/09 10/10/09 10
01/07/09 John Smith c1 1/10/09 8/10/09 8
15/09/09 John Smith r2 1/10/09 15/10/09 15
01/04/09 Mary Jane c4 1/11/09 20/11/09 20
21/05/09 Mary Jane g4 1/11/09 22/11/09 22
01/10/09 Fred Mac r2 1/12/09 02/12/09 2
01/10/09 John Smith g1 1/12/09 5/12/09 5
01/11/09 John Smith r2 1/12/09 5/12/09 5

I wish to create a gantt view of the bookings with a single row for each
unit (column c) showing the start, end and dates inbetween formatted the same
as a gantt chart.

I can get the start and end dates working but I am stuck on the inbetween
dates. eg: a booking starting 1/12/09 ends on 5/12/09 but includes the dates
2/12, 3/12 & 4/12.

Can you help.

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default dates inbetween

Excel 2007 Tables
Gantt chart, multiple start/end
http://www.mediafire.com/file/5lm2h4...10_09_09b.xlsx

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default dates inbetween

Excel 2007 PivotTable
Same as above but less formulas.
http://www.mediafire.com/file/yg3zzu...10_09_09c.xlsx
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
subtracting with blank rows inbetween? STLMO Excel Worksheet Functions 3 June 26th 08 06:18 AM
Counting Inbetween Spaces Peter[_8_] Excel Discussion (Misc queries) 11 December 14th 07 08:31 AM
NEED TO SHOW EACH DAY INBETWEEN TWO DATES, help please lost soul Excel Worksheet Functions 2 September 13th 06 02:23 PM
How can I add rows inbetween? dhjacha Excel Worksheet Functions 6 January 10th 06 07:06 PM
How do I enter a row inbetween two rows? Acesmith Excel Discussion (Misc queries) 2 December 1st 04 01:17 PM


All times are GMT +1. The time now is 06:34 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"