Formula To List The First And The Last Day Of Each Month
Jul 6, 2007
is there a formula to list the first and the last day of each month and for every year?.
example:
if i put in cell A1: 01/09/06 ----->01/September/2006
the result should be:
A2: 30/09/06 ------> 30/September/2006
A3: 01/10/06
A4: 31/10/06
A5: 01/11/06
A6: 30/11/06
A7: 01/12/06
A8: 31/12/06
A9: 01/01/07
A10: 31/01/07
A11: 01/02/07
A12: 28/02/07
.
.
.
and so on
how to do that with a formula?
View 9 Replies
ADVERTISEMENT
Dec 23, 2008
I m trying to write a formula for my financial model. If anyone can take a stab at a solution. I'm trying to write a formula that will equally distribute revenue either over the next 1 month, 2 month or 3 month period depending on size of the deal.
Details:
Sales will fit in 1 of 3 categories. Less than 25k; between 25k & 100k; greater than 100k.
- if under $25K, recognize in next month (month N+ 1)
- $25K-100K, recognize in two equal parts in months N + 1 and N + 2
- over $100K, recognize in three equal parts over 3 months
N + 1, N + 2, N + 3 ...
View 4 Replies
View Related
Dec 30, 2009
I'm having difficulty creating an array formula. In a multi-column sheet, I am looking at a column with classes and a column with a date (in the format 7-Oct-09). I need to list the number of a specific class for a particular month (any day). I have tried the following which gives only the number of classes:
=COUNTIF(A4:A2500,"AA")+COUNTIF(H4:H2500,"10/??/09") and
=SUM((A4:A2500="AA")*(H4:H2500="??-Oct-??")) which gives me 0. Maybe an array formula is not the way to do this.
View 9 Replies
View Related
Feb 13, 2010
This is for a report and on "Summary Worksheet" I want to post "Current Payment" totals IF the invoices from "Tab 3" equal the "month" in G6. Say the report is for January - if there are invoices on Tab 3 -worksheet with a January date I want to post all invoice amounts on Summary worksheet under current payment.
View 4 Replies
View Related
Mar 20, 2009
I have log data in two columns:
Column A: Date/time (at 30 minute intervals)
Column B: Numeric data
On the last row of each month, I’m trying to perform a SumProduct on the two columns and display that result in column C.
The end of the range is determined by the month in the current row.
I’m having difficulty finding the beginning of the range, though. I need to account for both the normal dynamic calendar days & the fact that I may get data starting mid-day and mid-month.
I have this formula, but I’m not sure how to make the first array dynamic or if this is even correct approach.
Manual
=IF(OR(MONTH(A1009)=A4)*(A$4:A$65536
View 9 Replies
View Related
Mar 5, 2007
I am trying to create a formula that compares month over month data. If the prior month is 0 I get an error. I am having trouble with incorporating ISERR into the formula to eliminate the error.
=IF((C26-B26)/B26
View 9 Replies
View Related
Aug 19, 2008
I want to be able to enter in a month and pull just the trainings for that month.
View 9 Replies
View Related
Aug 20, 2013
Basically, I'm doing a recorded macro for work where I take an export and manipulate the data to show differences between sales from last year and this year. Also comparing this months projected sales to avg of last 6 months and also against last years this month.
The problem I'm running into is in automating the this month sales for mid-month exports. I can do it individually but I can't find a formula that will do it. Data is in one cell per month, so ex. 130 sales this month so far. I need to have it convert that to projected sales for total month based on what day it currently is.
View 1 Replies
View Related
Jul 1, 2010
I receive an extract from our Financial System monthly which list all the balances for each date of the month (both workings day and week-end(Sat. and Sun.)).
I would like to create a macro which will extract only working date (Mon.- Fri) and the balances in the columns.
View 6 Replies
View Related
Aug 1, 2014
I am looking for a formula that counts from each particular month
The main List has the following
Column C has all dates
Column D has hours worked
Column E has engineers name
The Second List is broke down into months and hours
Column I Has month ie I4=Jan 14, I5 = Feb 14 etc
Column J I need to have a total taken from column D from the month in column I
View 8 Replies
View Related
Jan 23, 2008
I 've created a userform to search an excel database (that is populated by another userform) that contains a date field. This field is formatted as mmm/yyyy so I can search it by month.
All was well until out of nothing my sub can't find specific months.
It finds the related data for january, march, june, july and november, but not any of the other months.
In order to try and debug it I've used the exact same data in the other fields of the db changing only the date field to the desired month.
If I use excel's own Find, everything works as it should, the months are found just fine.
View 9 Replies
View Related
Oct 6, 2008
We have prepared a budget workbook for our community group. It contains 12 worksheets, one for each month, and an "alerts" worksheet which flags key expenditure issues.
On the "Alerts" worksheet we have a drop down list, naming each month. By selecting the month, key expenditure statements on the same sheet are populated. For example, "Your YTD Child Care Program is exceeding your Budget Allocation by:___"
The blank field is calculated on the respective monthly worksheet. I know that IF statements can have a maximum of seven nested functions. Will LOOKUP be a better solution or is there another option?
View 2 Replies
View Related
Feb 18, 2009
What I'm after is a sheet that self generates the day of the week in column A and the day of the month in column B. I have a month long sheet where daily entries get made in the DOW row, the day of the month is a reference. I have a macro to generate a new sheet for the next month and would like to auto populate the DOW and DOM. This typically gets done on the second day of the month (data from the first day is entered on the second)
View 4 Replies
View Related
Feb 22, 2012
I need to list the days of each month on separate spreadsheets...and need to to do this each year...
I was wondering if in cell A1 I type the first day of the month then is there a formula I can use to put the rest in without having to manually put them all in?
View 6 Replies
View Related
Oct 4, 2006
Is there a formula or code that returns the dates in the month in the current month before today? For example, today is 4th october 2006. so I would like it to return a column of values that include 1/10/2006, 2/10/2006, 3/10/2006, 4/10/2006.
View 2 Replies
View Related
Nov 20, 2007
I have a spreadsheet which in the first column has dates for every day of the year(for many years), and figures in the second column. I want to extract the data relating only to the month end dates. What is the best way to go about this?
The month end date may also only be the last working day of the month rather than the actual month end date
View 5 Replies
View Related
Jan 29, 2010
I'm after a formula this time ... i've searched the board and can't find what i need.
a cell shows 2009 December
and i'd like a formula to covert this to 31st December 2009 .... i.e. for any cell i'd like to know last day of month... and month and year ..
View 9 Replies
View Related
May 11, 2013
I am trying to count dates from a list using sum product (I found the formula via google) I have plugged it into my spreadsheet but it does not seem to be calculating correctly.
I have attached the spreadsheet too : sumproduct_Error.xlsx
=SUMPRODUCT(YEAR(Tbl_finish[Finish]=2008)*(MONTH(Tbl_finish[Finish]=1)))
I am expecting a count of all the dates in January 2008 with the formula above.
View 5 Replies
View Related
Jan 29, 2013
My problem is , I have a date range 21-Feb-2013 till 07-Mar-2013 (Col C2, Col D2 respectively) which is holiday list for a person.
I am trying to pull out the number of working days for that person in the month of Feb which should exclude weekends.
To get the total no. of working days for the month of Feb, I have used the below formula.
=NETWORKDAYS(DATE(YEAR(C2),MONTH(C2),1),EOMONTH(C2,0))
This gives me a value of 20 which is correct.
Now I need to find no. of days which fall under the month of FEB from the date range 21-Feb-2013 till 07-Mar-2013 (Col C2, Col D2) which are working days. so that I can subtract that from no. of working days for that month (FEB) to get the no. of working days which the person has actually worked.
View 3 Replies
View Related
Jan 11, 2008
I'm trying to achieve is to write a macro that can search a column of dates then open new worksheets according to the months that are present in the column of dates. So, for example, if the column has dates ranging from January to June, I need the macro to open 6 new worksheets and label them January, February, March, April, May and June.
View 6 Replies
View Related
May 14, 2014
I want a table to display data based on which month i select from a drop-down list, the data is of course extracted from a different table. For example, in my final table( highlighted in yellow), i want to display the revenues, cost of goods sold..etc of April in this table when i choose April from the drop-down list, the data of the entire year is located in another table that i plan to hide, as we only need to review one month.
View 1 Replies
View Related
Jul 30, 2014
I need to create a report on each friday as well as on every last workday of a month. I have to display both weekly and monthly data on the same graphs and I always arranged the week ends and month ends myself, but this is taking a lot of time.
So I need a chronological list of of week numbers and month names based on the date of Friday of a week or last workday of a month.
Input:
A1 - either month name ("MMM", Jul, Aug, Sep) or week number (1-52)
A2 - year number (2014)
Output:
For example, for 30 in A1 and 2014 in A2 it should look like this:
BD
BE
BF
BG
BH
BI
BJ
BK
BL
BM
1
May
23
24
25
26
Jun
27
28
29
30
And this should strech back all the way back to B1 in which I need to have 31.
Note if a month ends on last workday of a month the week number should come first and month name second.
View 1 Replies
View Related
Jan 9, 2009
I am calculating items that refer time service to days...The formula i am using now is
IF (ISBLANK (T2), TODAY (), T2) -IF (ISBLANK (I2), MAX(H2,S2), S2)
However i'm wondering what i can replace TODAY with to obtain a static date such as 12/31/08.
This formula/data is part of a macro that will be run by novice users each month end. So each month I want the measurable date to change. for example on Feb 1 I want the Macro to give me a date of 1/31/08, the following month 2/28/09.
Is there a way to correct the formula? or use a reference table?
View 9 Replies
View Related
Oct 8, 2008
after HOURS of trial and error. I was able to figure this out and get a formula written that would do what I needed. I'm trying to write a macro or formula that will sum the following
View 2 Replies
View Related
Apr 22, 2009
I need some help with formula to display a value based upon a certain date. I have a spreadsheet used within a hospital that records the date of a patients death, the calendar year for the spreadsheet begins April 08 and the year is split quarterly as shown below
April08, May08, June08 = Quarter1 (Q1)
July08, Aug08, Sept08 = Quarter2 (Q2)
Oct08, Nov08, Dec08 = Quarter3 (Q3)
Jan09, Feb09, Mar09 = Quarter4 (Q4)
I want a formula to calculate the value for the "Quarter" column from the patients date of death in the "Date of Death" column eg 02/05/08 = Q1.
Can anyone help me with this?
View 9 Replies
View Related
Jan 21, 2010
In the Total column, I would like to determine what the total would be as from the start date till the current date
Columns "C:I" has the dates and the Monthly applicable rates associated.
(in this example, they are annual dates, but it may be that rates change in between a year as well)
In the first set of details (Mr A), the start date is 01/10/2005
Since Mr A only begins 01/10/2005, the rates from 01/07/2004 - 30/06/2005 ($9) would not apply.
However the rates from 01/07/2005 - 30/06/2006 ($8) would be applicable for Mr A for the period 01/10/2005 - 30/06/2006 (ie.9 months) ....
View 13 Replies
View Related
Feb 11, 2009
i have a report that needs to be filled out with total purchases daily that keeps a running total. So each day i have a column with a new figure. Looks like this:
Date Purcahses Total
30/01/09 10 10
31/01/09 10 20
01/02/09 10 30
02/02/09 10 40
etc
On the 20th of each month, i want to create a macro that wipes out the historical data prior to 1st of that month. i.e. on Feb 20, i want to lose all the january rows.
View 2 Replies
View Related
Jun 19, 2007
I'm making a basic spreadsheet that has to calculate monthly due dates for 'reviews' based on an initial start date.
im using:
=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1))
.... i know thats probably dead simple to you guys!
which works fine.. except when it comes to times when the start date is for example 31 january, so the sequence goes:
31 jan....... 03 March.... 31 march
and my problem is i need 1 review in each calendar month, so i need to tell that 03 March to be 28 Feb instead.
View 9 Replies
View Related
Feb 19, 2008
I have a month number in H2 (1-12). I want a formula that will give me the previous month number. So, if h2 = 1. I need my formula cell to equal 12.
View 9 Replies
View Related
Mar 12, 2008
what is the equivalent command to WEEKNUM if I want to properly calculate Week # of Month?
For example (Sunday being the first day of the week):
January 5th 2008 = Week 1 of January
January 6th 2008 = Week 2 of January
February 2nd 2008 = Week 1 of February
February 3rd 2008 = Week 2 of February
WEEKNUM perfectly calculates this, but it is applicable for the whole year.
View 9 Replies
View Related