Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Hello, I'm trying to create a formula that will allow me to check the intervals in between dates. For instance I have A1:1000 = Jan B1:1000 = Feb ..... L1:1000 = Dec Contained in *most*of these cells I have data Is it possible for me to count the number of days/months in between each period. Say I have data in Dec, Nov, Oct but not in Sep, Aug, but again in July, June, etc..... Is this to be done with a countif statement? I have the following but it doesn't return what I'm looking for =COUNTIF(O5,\"=\"&J5-30)-COUNTIF(O5,\"\"&J5) Many many thanks -- Max_power ------------------------------------------------------------------------ Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255 View this thread: http://www.excelforum.com/showthread...hreadid=535551 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Sorry but I don't get it... If 12 columns correspond to months, then where are the days; surely not the rows since there are 1000! Are you saying that in each column you can have 1000 date entries; for example: *Say column 2, row 5 has: 02/03/06 and column 4, row 5 has 04/16/06. Are you asking for the days spanned formatted as the number of months and remainder (i.e., days). *Do you have an actual example of your data available??? -- protonLeah ------------------------------------------------------------------------ protonLeah's Profile: http://www.excelforum.com/member.php...o&userid=32097 View this thread: http://www.excelforum.com/showthread...hreadid=535551 |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Thanks for the response. Lets say I have months jan:Dec which are A:L respectively I'll have data in most of the rows from A to L I just want to have formula whereby I pick say the last month and find when the last occurance of data was entered ie what month. So if I pick December as the starting point, if nothing was entered in the cell corresponding to Nov, or Oct but it does in September it will return 3 ie 3 months have passed since data has been entered. Many thanks for any help on the matter Max -- Max_power ------------------------------------------------------------------------ Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255 View this thread: http://www.excelforum.com/showthread...hreadid=535551 |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi Max
One way Insert 2 rows above your data, so that Jan to Dec is in row 3. In cell A2 enter =COUNTA(A4:A1004) In cell A1 enter =COLUMN()*(A20) copy A1:A2 through B1:L1 Now, if there is any data at all in the columns, the column number will appear in row 1, otherwise it will be zero. To find the number of months prior to December that data has been entered, then In cell M1 enter =12-Max(A1:K1) -- Regards Roger Govier "Max_power" wrote in message ... Thanks for the response. Lets say I have months jan:Dec which are A:L respectively I'll have data in most of the rows from A to L I just want to have formula whereby I pick say the last month and find when the last occurance of data was entered ie what month. So if I pick December as the starting point, if nothing was entered in the cell corresponding to Nov, or Oct but it does in September it will return 3 ie 3 months have passed since data has been entered. Many thanks for any help on the matter Max -- Max_power ------------------------------------------------------------------------ Max_power's Profile: http://www.excelforum.com/member.php...o&userid=32255 View this thread: http://www.excelforum.com/showthread...hreadid=535551 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
Trending Formula Results by Date | Excel Worksheet Functions | |||
Year-to-date year to date formula | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Need help troubleshooting an array formula XLXP on Win2K | Excel Worksheet Functions |