Start And End Date Query
Nov 25, 2013
I've attached a sample of something I'm working on and the layout it's currently in.
I have a list of customers and an amount per month, in the sample, I want to be able to use a formula that will select which month the customer first has an amount >0 and in the end date column, I want to see when the customer then stopped showing an amount >0.
I have a massive list of these customers and sorting them each month is difficult.
DaveStart and End Month Sample.xlsx
View 2 Replies
ADVERTISEMENT
Mar 29, 2007
Need the query parameters which takes the date from the cell into the query. How should I modify my query if it needs to take the date from a cell?? The bold one date should be picked from one of the cell in sheet 2.
My query is this
WEB
1
http://fc-web-phl1-101.phl1:8090/gp/...runReport.y=12
Selection=15
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False
View 2 Replies
View Related
Sep 29, 2009
I am importing data that contains specific start dates and I was wondering how to filter the criteria in Microsoft query to only show start dates greater than today or perhaps yesterday. This would eliminate all entries that have already occurred. It seems I can only select a date in the criteria that exists in the data.
View 14 Replies
View Related
Nov 15, 2008
First and foremost I would like to congragulate you on this wondeful piece of code in the below link...
The query was to get a future date excluding Fridays and Holidays...
http://www.excelforum.com/excel-work...rkingdays.html
I have a similar query and therefore I pasted this link...
I actually wanted to get a future date using a Dynamic two day off as my the offs keep on changing as well as incorporate Holidays and Leaves if any..
Now Holidays would be official Public Holidays and
Leaves would be taken by the employee..
The code needs to pick the Leaves + Holidays and different offs maybe even more than 2 offs...
View 7 Replies
View Related
May 25, 2014
I am now trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 1 Replies
View Related
Mar 9, 2014
I'm trying to workout how to take a known initial date a repeating frequency and work out the next due date from today.
Example
Initial Date :- 1st of January 2014
Frequency :- every 5 weeks
Current Date :- 9th of March 2014
Next Due date should be :-12th of March 2014 (if I worked it out correctly from my paper calendar)
I want to use a cell formula to do this for different initial dates and varying frequency periods (the frequency will always be whole weeks i.e. 1,2,3,4,5,6,7,8,8,10)
View 4 Replies
View Related
Jan 12, 2014
I am trying to create a calculator which will show start date and end date based on the specific date provided.
EX: column A has January 1, 2013, column B has Wednesday, Column C should have a start date which supposed to be 4 days ago (December 28).
View 6 Replies
View Related
May 7, 2014
I needs a formula (not VBA) to calculate the required start date.
I have to do a job of 14 working hours and this job must be finished on 05-may-2014 13:00
My working week is from monday u/i friday and every day I work from 08:00-16:00
At what time do I have to start the job to get it done in time.
The formula should give this result: 01-may-2014 15:00
View 3 Replies
View Related
May 26, 2014
i am trying to create a excel macro to auto populate all the dates with reference to a start date and end date. The catch is that only working days are required in the range. My reference cells (start and end date) are in Sheet 1 while the destination cell range are in Sheet 2. The reason for creating a macro instead of a function is that the intervals between the start date and end date changes frequently (annual, semi-annual and quarterly) Best case scenario would be a button which I can just press after i input the dates to generate the range of dates in another sheet.
View 4 Replies
View Related
Jun 12, 2014
Trying to automate the period part of the impt function
To calculate current value of loan i have the below formula below with the 3 being the current period
=IPMT(4.3%/12,3,5*12,-7000)/(4.3%/12)
What i would like to do is for the period to be self calcuating from current date and the loan start date. I can return a value in days using start date - today() and aware month function returns the month number but stuggling to find a way to work out cumulative month from the start date.
View 4 Replies
View Related
Oct 28, 2006
i need VB to select the start date of booking and autohighlights the "blank booking slot cells" until the end date that is input in Excel. You can visualise this as a room booking system. The left most column is the dates and the first row represents the different rooms type. E.g. if one guest books the Twin Deluxe No. 123 room on 23 Oct 2006 until 25 Oct 2006. We wish the VB can essentially help us identify the start date then begins highlighting the three slots for 23, 24 and 25 Oct on the column for the Twin Deluxe Room 123.
View 4 Replies
View Related
Jun 26, 2007
Take a look at the attachment file. Those highlighted in yellow are entered by the user. What is the formula to calculate the End date in (A6) after the user has entered the start date (A2) & the number of weeks (A4)?
View 5 Replies
View Related
Oct 28, 2006
We are doing a project on a booking system and wish to use VB codes to autohighlight the slots from the start date until the end date.
View 9 Replies
View Related
Jul 30, 2007
This is a sub that uses the Find method to find a series of dates and copy them to another worksheet. The following error comes up: Object variable or With block variable not set. I have tried using a set command etc. but other errors end up coming up.
Private Sub CommandButton7_Click()
On Error Goto errorHandler
Dim startDate As String
Dim stopDate As String
Dim startRow As Integer
Dim stopRow As Integer
startDate = InputBox("Enter the Start Date: (mm/dd/yy)")
If startDate = "" Then End
stopDate = InputBox("Enter the Stop Date: (mm/dd/yy)")
If stopDate = "" Then End
'startDate = Format(startDate, "mm/??/yy")
'stopDate = Format(stopDate, "mm/??/yy")
startRow = Me.Columns("A").Find(startDate, _
LookIn:=xlValues, lookat:=xlWhole).Row
stopRow = Me.Columns("A").Find(stopDate, _
LookIn:=xlValues, lookat:=xlWhole).Row
Me. Range("A" & startRow & ":A" & stopRow).Copy _
Destination:=Worksheets("Report").Range("A1")
End
errorHandler:
MsgBox "There has been an error: " & Error() & Chr(13) _
& "Ending Sub.......Please try again", 48
End Sub
View 9 Replies
View Related
Feb 6, 2013
I import data from web forms via Excel Web Query which has dates in the US format. I would like to convert them to the uk format. Unfortunately, unlike other data import functions in excel, web query doesn't seem to have an option to choose that. Also after asking the forum via this post, I figured that I cannot use a formula to do this, and need a macro. I recorded a macro which exports text to columns where I choose MDY function to convert the date.
However, the macro doesn't convert the bottom part of the blank cell for some reason. The macro did not work in either modified or untouched versions. When I actuallly do it through excel buttons, it works.
Book3.xlsm
View 8 Replies
View Related
Jun 2, 2014
What I am trying to accomplish is, to add days from the start date (daily) and to stop adding at the end date.
Example:
(Column A) Start Date: 1/9/13
(Column B) End Date: 1/8/14
View 6 Replies
View Related
Mar 12, 2014
when I enter a start date and end date, it should autopopulate the columns with the dates in the middle including start date and end date.
View 1 Replies
View Related
May 26, 2006
I have one column( date) which I wanna set date range from VBA macro. The problem is I wanna use Autofill to fill from the start date to the specific end date, but with Autofill func I cannot do this.
I attached a sample to explain my problem. Please take a look and give me a hint to do this.
View 6 Replies
View Related
Jun 4, 2008
I have this column with a value like 04/06/2008. I will want another of the column to auto generate the date for the start of the week like 02/06/2008 which is a Monday.
View 14 Replies
View Related
Nov 12, 2008
Need a formula that will generate the ending date of task, adding therefore if needed the number of weekend(s) in between the start and end date to the End date.
Let us say: task is starting in 2008/11/11 the duration of the task is 7 days. So, we should get an End Date= 2008/11/19.
2008 11/11 11/12 11/13 11/14 11/15 11/16 11/17 11/18 11/19
Tue Wed Thu Fri Sat Sun Mon Tue Wed
View 3 Replies
View Related
Jan 24, 2010
1. If I enter a date in B3, then D3 will be S, and if I enter date in C3, D3 will be left blank while E3 result is D (Done). To have a clear view, I have attached the excel sheet.
View 3 Replies
View Related
Nov 22, 2013
I want to calculate the end date of my German courses. This is how it works:
A course consists of 60 LU*. The course can occur i. e. three times a week: Monday, Wednesday and Friday. In each day the course lasts 2 LU, which means 6 LU each week. There is no course on Tuesday, Thursday, Saturday, Sunday and on holidays. Therefore this type of course that begins on 18-Nov-2013 will end on 03-Feb-2014.
Another course which occurs Tuesday, Thursday and Saturday, and respectively has 2 LU on Tuesday, 2 LU on Thursday and 3 LU on Saturday and starts on 03-Dec-2013 will end on 06-Feb-2014.
Therefore I want to create a worksheet where I set the start date, choose the days and respectively the LU amount on those days. The end date shall be calculated according to these criteria.
The workday function on excel cannot do this and I do not have any programming skills to work with VBA.
Legend:
*LU = lesson units; 1 LU is 45 minutes
Holidays:
28-Nov-13
29-Nov-13
08-Dec-13
09-Dec-13
25-Dec-13
31-Dec-13
01-Jan-14
[Code] ...........
View 7 Replies
View Related
Jan 25, 2013
I import data from a website that has dates in the US format, but I would like to convert that to the UK format. Changing the cell format did not work.
View 4 Replies
View Related
May 25, 2014
I am trying to return start and finish date of events depending on when resources are allocated.
View 4 Replies
View Related
Jul 23, 2014
I am trying to find a formula for column D on the PO Costs EOY sheet. My criteria is as follows:
1. Column b on PO Costs EOY= Column A on Fabric and accessories
2. The order date in Column A is equal or in between the dates on rows 3 and 4 in fabric or basket accessories
3. I do not want to include in the some anything before order date, ie, if the order date is 8/8, i only want to sum 8/9 and greater.
The order date will always be on the last day of the week. So the sum would start the follow week.
View 3 Replies
View Related
Dec 25, 2013
I need a formula to calculate a date 6 months forward from the start date. However, in the calculated 6th month, I need it to the day before the start date.
ie: start date: 26/12/13 -- End date: 25/06/14
View 3 Replies
View Related
Dec 7, 2008
I am looking for a function or formula that will return the date of the first Monday in any given month and year.
View 4 Replies
View Related
Oct 19, 2008
I use without problem the function =NETWORKDAYS(start_date;End_date;[holidays]) that calculate the distance between two dates overlooking Saturdays, Sundays and, if specified, other holiday days.
But is there any general kind of this function that allows the calculus for the “long work week” ( i.e considering Saturday as working day )? Or and More: If I would consider Fridays as holiday days?
View 4 Replies
View Related
Feb 11, 2009
I am trying to rank employees by seniority date. Some employees share the same seniority date. They should have the same rank. I took a formula from another thread =RANK(C2,C$2:C$8) and applied it to my worksheet and it worked out great except that the ranking skips the next number (in this case 4)...........
View 2 Replies
View Related
May 2, 2013
if I've worked in the company for 9.0384 years, how can I calculate that my start day was 04/20/04?
View 3 Replies
View Related