Excel 2003 :: Getting Formula Which Will Return Each Date Of Month
Sep 10, 2013I have a cell (A1) which contains the month. A2 contains the year. I need a formula which will return each date of the month.
View 7 RepliesI have a cell (A1) which contains the month. A2 contains the year. I need a formula which will return each date of the month.
View 7 Repliesset a formula to auto calculate the staggered rent for the month. When I change the date, it will tell me for this month I should charge according to the rates for the year.
Rent for the month
Start Date Year 1 Year 2 Year 3 01/07/14 Explanation
01/08/13 10 20 30 10 < 1 yr = 10
01/07/13 40 50 60 50 enter 2nd yr = 50
16/07/13 70 80 90 76.29 (15/31*70)+(16/31*80)
16/07/13 10 20 30 15.16 (15/31*10)+(16/31*20)
formula or vba using Excel 2003.
get the current month name in a Cell A1 and Next month name in Cell B1. what formula should I used? This will be a part of the macro that I'm creating.
The macro will be use every 11th to the last day of the month so I want the formula to be dynamic enough to work in each day the macro will be use.
Expected result using the current Date Today
A1 B1
February March
Cell B1 contains a date, then B2 contains a formula that says:
=IF(A1>TODAY(),A1,A2)
A1 contains a green tick and A2 contains a red cross.
What I am trying to add is that if B1 contains no date then B2 needs to be blank.
I tried using =IF((A1="",0),(A1>TODAY(),A1,A2) to get it to show a 0 if there was no data but this doesn't work.
I am using Excel 2003.
The following formula works perfectly in Excel 2003:
=SUMPRODUCT((A2:A10="A")*(b2:b10="B")*(c2:c10="C"))
However, I've got a fourth column that contains either a date or a blank cells; I want to limit the formula to only include certain dates in the sum. i.e:
=SUMPRODUCT((A2:A1000="A")*(b2:b10="B")*(c2:c10="C")*(d2:d10>="01/04/2014"))
Rather than an error it's just retuning an incorrect number.
Having a hard time putting this one together..Trying to do: Create a formula that counts how many cells in Column L, that fall within a date range and also have a specific category of "text" (Column E). What I've tried:=COUNTIF($L$4:$L$166,"
View 5 Replies View RelatedI am looking for a formula that will select a date in the month based on certain criteria. Found the choose function but not sure if I can really get that to work. I basically have a list of clients, with zip codes, restricted days of the week - and would like the system to group them by zip code and select the best day of the month to schedule an inspection but not pick he restricted day. The goal being have zip codes scheduled together - but on a day other than garbage day. Is this even doable?
View 2 Replies View RelatedExcel 2003.
Trying to show the first day in a month.
B4 shows 8-Jan-13
A2 has formula =MONTH($B$4) which returns 1-Jan-00
Both cells are formatted as dd-mmm-yy. So why is A2 showing the year as 00?
I need an Excel 2003 compatible solution for this. Formulae only, no Macros or VBA in this case. The limitation set by the organisation we report to.
On sheet LGFC I have clients with their attendance hours, notes and the relevant dates.
01/07/2013
01/07/2013
08/07/2013
08/07/2013
15/07/2013
15/07/2013
Ref No
Name Carer
Name Client
Active
[code]....
To really test if this works you need to extend this over more than one month. My sheet goes on for a full financial year and of course with rows of clients. I now need to report per month. However, next financial year the month column locations may vary.
We need to report per month.I am able to sum up the month's total hours for all clients (E3 to J26) with the following formula (which ignores text). Data!$G3 gives the relevant month in date format (1/7/2013).
=SUM(IF(ISNUMBER(LGFC!1:1),IF(LGFC!1:1-DAY(LGFC!1:1)+1=Data!$G3,LGFC!3:26)))
array formula: Ctrl Shift Enter
This results (example data) in 10 hours. (if I had a client 2 with zero hours, and a client 3 with another 10 hours it would result in 20 hours)
Now my next step would be to report any notes. So I want to find all the text in that month and concatenate it into one cell. I started with this formula, but that doesn't work and gives a FALSE.
Doesn't work!
=CONCATENATE(IF(ISNUMBER(LGFC!1:1),IF(LGFC!1:1-DAY(LGFC!1:1)+1=Data!G3,LGFC!3:26)))
array formula: Ctrl Shift Enter
Doesn't work!
Ideally I would not just want everything jumbled into one concatenation, but even that would be acceptable. (It is unlikely that there would be more than 255 cells with notes.)
Based on the above example the ideal result would look like:
1 Mrs Test, unwell, left early, Sick
But I would accept just the notes unwell, left early, Sick
It needs to ignore blank cells. With multiple clients it would ideally look like:
1 Mrs Test, unwell, left early, Sick
2 Mr Best, in hospital, visiting family, Sick
or
1 Mrs Test, unwell, left early, Sick / 2 Mr Best, in hospital, visiting family, Sick If we want to include the Ref No and Client Name it probably needs another if statement. "If there is text to concatenate that month/row than include Ref No and Client Name."
I have the following code, which I used to search Column A for a date and then copy the adjacent cell next to the date and paste it to sheet2.
However what I want to do now is be able to enter just the month or the year and the code will find the cells that contain the same year or month that I entered. I know to find a string value in a cell I can use InStr() however I don't know how to implement this into the code that I have, As depending on the month that I select I want the code to put the value in a certain cell.
Here is the code that I have so far
Code:
Sub SearchMacro()
DateSearch.Show
Dim LR As Long, i As Long
With Sheets("Sheet1")
LR = .Range("A" & Rows.Count).End(xlUp).Row
[Code] ......
How I can do this by edited the current code or any code for that matter.
I am trying to create a Chart from a Pivot Table. I want the Chart to show my projects and present each months amounts side-by-side comparing (Plan, Actual, Forecast) data each month for the calendar year.
I am trying to figure out how to generate the pivot table showing multiple projects so that the data is grouped by month comparing (Plan, Actual, Forecast) data. Projects are listed down the Rows while months Jan-Dec are along the columns. Each month has 3 columns because the second row contains header for the data sets of Plan, Actual & Forecast. (see sample below) When I try to create a Pivot Table, It shows multiple month fields (Jan, Jan2, Jan3, Feb, Feb2, Feb3) instead of a single month.
{Using Excel 2003}
NameOwnerJan JanJanFebFebFeb
PlanActualsForecastPlanActualsForecast
Project 1Region 1 126.1 119.6 119.6
Project 2Region 2 18.0 0.9 0.9 8.2 8.2
Project 3Region 2 80.0 2.6 2.6
Project 4Region 3
Project 5Region 3 60.0
Project 6Region 4 55.8 55.8 55.8
Project 7Region 4 19.4
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
I have a rolling 12 month (each day in column) tab in Excel 2010 that references variances by ID number in column A, and the column headers are each day for 366 days (2011). I would like to create a tab that shows the past 10 day's variances by ID number. I haven't been able to write a formula that will look at the date headers and the row ID number to return the figure for that day. Here is a sample of the 12 month rolling and the 10 days at a glance that I want to populate.
Rolling 12 Months
IDName12/25/201212/26/201212/27/201212/28/201212/29/2012and so on
1234Employee Name - - - - (11.07)
1235Employee Name - - - 0.20 -
1236Employee Name - - - - -
1237Employee Name - - - - (1.00)
[Code] .........
I need an IF formula, that states if a date is more than a month after the date in the cell then it is timely and if it isn't then it is not timely. For example the date in A1 is 12/11/05, if the cell is A2 is 13/12/05 (or any date after that) then A3 should read Not Timely, if A2 is 12/12/05 (or any date before that, including a date before the date in A1) then A3 should read Timely. Is there any way to do this?? At the moment I am having to go through manually and put in either Timely or Not Timely.
View 2 Replies View RelatedIf I make a sale between the 1st of each month through the 1th of each month I will be paid on the 31st of that month. If I make a sale on the 16th of each month through to the last day of each month I will be paid on the 15th of the next month. I need this formula to work for every month.
cell e has date of sale
cell h has the returned value of the formula above
I need to return the date of the third day of the month following the date in cell a1:
So, If A1= 06/01/12
A2 should = 07/03/12
Is there a end of "week" function which shows only the date the friday? says ..if today is 9/13/2007, the cell will show 9/7/2007...
View 3 Replies View RelatedI'm after a formula(s) which will give the start date and end date of a month using the month name. For instance, if cell A1 contained OCTOBER 07 the formula result for the start of the month would be 01/10/07 and the formula for the end of the month would be 31/10/07. I have plyed around with the EOMONTH function but this only workd when an actual date is entered.
View 8 Replies View RelatedIn Excel 2003, I remember being able to tab across a row of cell entering data and when I got to the end, I'd hit enter and it would take me to the beginning of the next row. But in 2007, I can't...is there something I need to do in Excel Options or is this function gone?
View 1 Replies View Related I have tried Index/Match but nothing so far. Basically, I have this table:
Sheet2KLMN3Employee1Client Assistance/Request31/3/2012 14:57:344Employee1Client Assistance/Request31/3/2012 14:58:075Employee2Client Assistance/Request11/3/2012 14:59:456Employee3Client Assistance/Request11/3/2012 17:08:297Employee1Client Assistance/Request61/3/2012 17:10:16Excel 2003
So now, I want E19 of the table below to bring back column N of sheet 1, but only the last instance in which those Employee 1 and Client Assistance/Request met. In this example N7 of Sheet 2.
Sheet1BCDE18Client Assistance/RequestDate19Employee 10020Employee200Excel 2003
Using Excel 2003,
Column A Column B C1 Column D
10062 01-01-2012 3:00 PM 01-02-2012
10062 01-02-2012 6:00 PM 10055
10062 01-02-2012 9:00 PM 10062
10062 01-03-2012 4:30 PM
10055 01-02-2012 1:45 PM
10055 01-02-2012 3:15 PM
10055 01-04-2012 8:30 PM
I am looking for a formula to place in C2 that will macth the number in column D with the number in column A and return the LAST date/time from column B that matches the day from cell C1.
If correct, C2 would return 01-02-2012 3:15 PM (Last date/time for 10055 on 1-2-2012)
C3 would return 01-02-2012 9:00 PM (Last date/time for 10062 on 1-2-2012)
Upon trying to use the Month function (to return the month integer from a date), in excell 2007, I get the
"Expected variable or procedure, not module
followed by (if I drill down into the help file)
There is no variable or procedure by this name in the current scope, but there is a module by this name"
error message
Do I assume there is a way around this (or if I have to do something to 'activate' the month function)
Is there any way to defined our own fiscal month. I have a fiscal year where the start & end date is different from the normal calendar. I have store the start & end date on the different column. What i need is that when people enter a date, it will look up to the table and return the fiscal month.It's something like If the value is >=column A and <=column B, then the fiscal month=column C(refer to the below table). But i have no idea how to make comparison on date value. what kind of formula i should use? And also how to write the code if i want to use macro to implement this?
Start End Month
09/21/08 10/18/08 Oct
10/19/08 11/22/08 Nov
11/23/08 12/27/08 Dec
12/28/08 01/24/09 Jan
01/25/09 02/21/09 Feb
02/22/09 03/28/09 Mar
03/29/09 04/25/09 Apr
04/26/09 05/23/09 May
05/24/09 06/27/09 Jun
06/28/09 07/25/09 Jul
07/26/09 08/22/09 Aug
08/23/09 09/26/09 Sep
formula off here i use all the time relating to finding and sumproducts for specific months and years i.e.
Jan 2008, Dec 2007.. depending on these dates excel searched through a specified range and returned me any values i wanted like No. of occurences, totals, sums etc etc it was a sumproduct formula...
is there any way i could specifiy a date i.e. Jan 2009, which would search column a and return the date /and/or an account number in column b, only if the date was during jan 2009?
The reason i want this is to use a lookup on the account numbers to return specific items of info, but i only need the account numbers if they occurred in specific months which i want to choose.
Using Excel 2003.
In column Y, I have a list of employee numbers (there are a random number of blank spaces in between each number)
In column AE, I have a list of clock in times (there are a random number of blank spaces in between each clock in time)
In column AY, I have a list of the same numbers from column Y (there are no blanks in this list)
Column BB. I am looking for a formula to place in cell BB2 and copy/paste down that will match the number in column Y and return the first non blank cell from that point in column AE.
Example:
10062 is employee number in cell AY2. Her employee number (10062) is also located in cell Y5. Her clock in time is located in cell AE7.
10099 is employee number in cell AY3. Her employee number (10099) is also located in cell Y14. Her clock in time is located in cell AE16.
What formula can I place in BB2 so that it returns the clock in time of employee 10062. Then copy and paste so that BB3 returns the clock in time of employee 10099?
How to write a VBA code so that it would calculate the date of the previous Friday and from there Return the date exactly 1 month before; on any given day.
For example...
today is may 8th
So if I run the code the dates returned for last friday should be 05/02/2014
and 04/04/2014 should be returned AS the DATE exactly a month from 05/02/2014
I am using the MONTH function in a formula. The Month value of an empty cell is returned as "1". Why is this? Is there any way to return a null value or zero?
View 6 Replies View RelatedI need a formula that returns the Nth number from a single column that contains a small number of values within a span of 1000 cells. E.g., within 1000 cells there are 36 with numbers and the remaining cells are blank. I need to obtain the first occurrence of a number in the column, then the second, third... to the thirty-sixth. The end result would be a column with 36 numbers with no blanks in between without loosing the correct order of the numbers.
I have excel 2003 and have been tooling around with the index and lookup functions with no success.
I have to analyze our abandoned calls for the year. So far there are close to 2000 abandoned calls and I need analyze them according to the month and the time they were received.
I have two worksheets in my workbook the first worksheet is named DROPPED, this is were all the data is. The second worksheet is called DROPPED CALLS SUMMARY, this is where all the analysis happens.
On the DROPPED CALLS SUMMARY Worksheet I need to have the Sum of Column I IF ColumnA is equal to Jan-13(or whatever month) and Column B is equal to 8:00 AM (or whatever time). I'm using Excel 2003 so I cannot use the SUMIFS Formula and I can't find a formula to work with.
A
B
C
D
[Code]....
I have a workbook with two sheets. The first has a list of job positions open, columns designated to stages in the employment process and in these columns, my staff enter the dates that they completed a particular stage.
"Position | Date Opened | Stage 1 | Stage 2 | Stage 3 | Stage 4"
Pos 1 | 01/01/2014 |02/01/14|03/01/14|07/01/14|09/01/14
This has a great number of entries and they are increasing and decreasing every day depening on the amount of jobs available.
On the second sheet, I am trying to set up a table which shows the average working days it is taking to complete each stage, divided into the months in which the job position was opened (i.e. for positions opened in january, the average completion working days for stage 1 was X amount of days etc...)
I have tried using =IF(AND(Logical, Logical),TRUE,FALSE) but this doesn't return any info as the logicals will always be false. I tried the OR function, but that requires only one of the criteria to be true to return a value. What I need is for the formula to return a number of days between two dates, ONLY if the opened date falls in one month.