Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bebz
 
Posts: n/a
Default excel spreadsheet

I would like to be able to show number of days in seperate columns. Using
dates as values.
e.g. column 1= # of days between 1 & 31, column 2= # 0f days between 1 & 60.
and so on!
Microsoft Office Excel 2003
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SteveG
 
Posts: n/a
Default excel spreadsheet


You can use the DATEDIF function.

=DATEDIF(A1,AE1,"d")

This is where the two dates that you are using are located in cells A1
& AE1. The "d" tells the formula to calculate days. This includes
weekends an holidays.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php...fo&userid=7571
View this thread: http://www.excelforum.com/showthread...hreadid=496204

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default excel spreadsheet

=SUMPRODUCT(--($B$2:$B$200-$A$2:$A$2000),--($B$2:$B$200-$A$2:$A$200<=30))

=SUMPRODUCT(--($B$2:$B$200-$A$2:$A$20030),--($B$2:$B$200-$A$2:$A$200<=60))

etc.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"bebz" wrote in message
...
I would like to be able to show number of days in seperate columns. Using
dates as values.
e.g. column 1= # of days between 1 & 31, column 2= # 0f days between 1 &

60.
and so on!
Microsoft Office Excel 2003



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default excel spreadsheet

Sorry, to count days use

=SUMPRODUCT(--($B$2:$B$200-$A$2:$A$2000),--($B$2:$B$200-$A$2:$A$200<=30),$B
$2:$B$200-$A$2:$A$200)

and

=SUMPRODUCT(--($B$2:$B$200-$A$2:$A$20030),--($B$2:$B$200-$A$2:$A$200<=60),$
B$2:$B$200-$A$2:$A$200)

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"bebz" wrote in message
...
I would like to be able to show number of days in seperate columns. Using
dates as values.
e.g. column 1= # of days between 1 & 31, column 2= # 0f days between 1 &

60.
and so on!
Microsoft Office Excel 2003



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bebz
 
Posts: n/a
Default excel spreadsheet

Steve G,
This formula woked for the columns and cells that I already had "True".
I have 7 columns; <30, 31-60, 61-90 and so on!
I need each column to show how many days a capa is open?
I hope this explains what I want.

Bebz


"bebz" wrote:

I would like to be able to show number of days in seperate columns. Using
dates as values.
e.g. column 1= # of days between 1 & 31, column 2= # 0f days between 1 & 60.
and so on!
Microsoft Office Excel 2003

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Importing an Excel spreadsheet from the web. Mike Excel Discussion (Misc queries) 0 November 22nd 05 02:50 PM
Delay to startup excel spreadsheet Gee Excel Worksheet Functions 2 August 2nd 05 07:30 PM
copy and paste excel spreadsheet into autocad rickr Excel Discussion (Misc queries) 0 July 15th 05 04:41 PM
Is there a way to insert a formula, password or macro in an excel spreadsheet that will automatically delete the spreadsheet? oil_driller Excel Discussion (Misc queries) 1 February 8th 05 09:34 AM


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