Selecting Entire Date Range To Be Lookup Based On Start And End Dates

Mar 6, 2013

I have an excel sheet where I would like a user to enter a start date and end date(say Feb 1, 2013 to Feb 28,2013). And these dates will be able to change to whatever month the user wishes to look up in a specific date range(column A has 365+ dates). This post is closely related to [URL]... but I cannot figure out how to get it to work from my case.

So working off the same worksheet, I have the beginning date in AC35 and the end date in AC36 in which the user enters. I would like the dates that fall in this entire month, including the beginning and ending dates to be referenced when looking for the specific day that contains a value I have in S35.

In other words, I have data in columns A through N. The dates are in column A and S35 is a value obtained from using Max(L185:L526) where L185:L185 is manually selected each time I want a different month. I don't want this to be a manual process of scrolling down the spreadsheet to get the next month.

View 12 Replies


ADVERTISEMENT

Sumif Entire Row Based On Dates Within Range

May 13, 2014

B
C
D
E
F
G
H
I
J
K
L
M
N

2
Rep Names
9/1/2013
10/1/2014
11/1/2014

[Code] ......

Above Sheet name = Monthly Modified Targets
Below sheet name = Sales Stats Comparison

D
E

2
Date Format: MM/DD/YYYY

3
3/1/2014
5/31/2014

What I am attempting to do is to sum up the rows of the reps names based on the dates within the range.

So in this example above
Name1 = 0
Name2 = 55
Name3 = 25
Name4 = 0

when you change the date range it would change the totals.

The results of the example will be placed in
"Sales Stats Comparison" Range K11:K67

I have tried a few different options using index / sumifs / Match (date)

I just can't seem to pull more than one result and it does not sum up all the values in the row based on the date range.

View 3 Replies View Related

Selecting Data From A Date Range Based On The Current Date

Jun 20, 2013

I created a basic excel weekly budget and would like to know how much money I have as of todays date. on the top row I have a date range from Sunday to Saturday, so it looks like this:

09-15 16-22 23-29

with the month manually put in above it.

then below I have income and expenses with a Overall below that, so basically what I want to is see the Overall value based on todays date, not sure how to do this with the weekly range and automatic current date(which is =TODAY() as far as I know) I have attached a photo as a reference.

Budget Picture.jpg

View 12 Replies View Related

Selecting Range Based On Date

Feb 9, 2007

On sheet 1 in cell A2 I have a date (2/22/07). On sheet 2 I have 4 columns of data...column A has consecutive dates. I am looking for a code that will select the range that begins with the week beginning date of the date that was inputted on sheet 1 and the week ending date. For example, the code will select the range 2/19/07 to 2/25/07 (A20:D26).

View 6 Replies View Related

Selecting A Range Based On Date Within That Range

Sep 26, 2007

What i'm trying to do is select a range based on the date which happens to be in the first column of the range.

For example, I have a column (A) that contains dates and column (B) that contains names.

Its easy enough to select the entire range using

Range("A1:B4").Select

I need someting that will analyse column A and conditionally selct the range based on the date in column A (ie. it will only select the rows where column A has todays date).

View 9 Replies View Related

Selecting Entire Rows Based On Contents Of Cell?

Jul 15, 2013

I have a large set of data regarding the activities going on in particular rooms. The data contains activity name, start time, day, duration, room and size.

I would like to select all rows that contain a cell in the activity name column which contain the words 'VideoConference'.

I have tried to Search, Select All then index the remaining data using =iferror(index(etc. However some activities occur in more than one room and all variables apart from 'Room' are the same. Thus when I have tried to index the room column I get the same room for both rows.

ps the raw data set consists of +28000 rows so I can not simply look through and copy.

View 4 Replies View Related

Compare Dates To Date Range & Return Date Based On Outcome

Jul 1, 2008

I need to compare three cells of random dates shown in Column E, F,& G with Row's H5:AK5, H7:AK7, H9:AK7 (the Dates to these rows is Static on row H3:AK3.) EX: ROW 5 has Start Date, End Date (1) and End Date (2). Compare Cell H3 between Start Date & End Date (1). If H3 falls between or equal to Start and End Date(1) then highlight cell H5. Proceed till AK3 (higlighting only the cells H5:AK5). Then compare cell H3 between or equal to End Date (1) and End Date (2) (higlighting only the cells H5:AK5). Then do the same for ROW 7 and ROW 9.

To make things a bit more difficult I need to have " WK#" in Row 14 (these WK# is on another tab called "Task" of the workbook) needs to be displayed in Row's H4:AK4, H6:AK6, & H8:AK8. EX: Compare Date in D15 between or equal to Start Date & End Date (1) then display Wk# in D14 in H4. Continue till all dates in
D15:Z15 are compared to Start Date & End Date (1) and WK#'s in Row D14:Z14 are inputted if applicable in Row H4:AK4, H6:AK6, H8:AK8. I hope this is not confusing. I can't seem to use the upload option so here is alink to download a jpg of the sheet

View 2 Replies View Related

How To Set DUE Dates Based On Given DATE RANGE

Jun 2, 2014

I would like to know the function/syntax for determining the due dates given certain date ranges.

See attached sheet for the example : due dates example.xlsx‎

View 5 Replies View Related

Formula To Get Inclusive Dates In Between Start And End Date

Jan 21, 2014

I have a table where I assigned Months (Jan-Dec), Current Month YTD (e.g. Nov YTD) and Dec YTD in the column field. Company Name and Year in rows.

For a particular company for example, Co.AAA. The Start Date is Oct 1, 2009 and the contract will end on Sep 30, 2014.

If my current reporting month is Nov 2013, From the table, I need to get the sum up the data that correspond from this dates inclusive in start and end date of Co.AAA.

Inclusive Dates are:
Dec YTD 2013
Dec YTD 2012
Dec YTD 2011
Dec YTD 2010
Dec 2009
Nov 2009
Oct 2009

If this is not possible, what other solution I can use to get the correct number?

View 9 Replies View Related

Return Months Between Start Date & End Dates

Jul 6, 2007

I have been trying to search for either a function or VBA that will perform the following:

If I enter I want all months >=1/1/07 and <=3/31/07 it would tell me that the months in between are January, February and March and so on with all dates.

View 3 Replies View Related

Sum Range Based On Dates In Another Meeting Date Criteria

Feb 28, 2008

I'm trying to do a sumif based a range of dates but keep getting a "-" for the result.

In the past when using dates I've had to value the dates in order for it to work. I can't seem to figure out the formula this time around - any thoughts? See attached for sample - my 'broken' formula is in cell C29.

View 4 Replies View Related

How To Auto-Populate Date Range (working Days Only) From Start Date And End Date

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

How To Calculate Future Dates From Start Date On A Monthly Cycle

Sep 16, 2009

I'm trying to combine monthly calculations with "today" and with "workdays"

Example:

start date = 01/01/2009

today's date 09/16/2009

formula result = 10/01/2009 ; or if 10/01/2009 is a Sunday, result = 09/29/2009 (not 02/01/2009, 03/01/2009, etc)

=edate gives me a month but it doesn't skip weekends or calculate beyond today's date

View 14 Replies View Related

VBA / Function To List All Dates Between Start And End Date Excluding Sundays

Feb 8, 2013

I need the VBA/UDF to produce a column of dates between a start date and end date, excluding Sundays.

I can see lots, excluding weekends, but very little for just Sundays.

View 4 Replies View Related

Vlookup On Dates And Generating Date Range Based Upon Inputs

Feb 13, 2014

I am attempting to find a way to search through a database I created based upon every day of the year. My goal is to have a user input a beginning date and end date for a trip, then my functions will return the range specified with each day and it's individual temperature average (in my database).

I also need generating the dates between the start and end dates that are entered by the user. I was considering combining Days360 with an Hlookup that searches through a massive sheet with all the dates for the upcoming year and then going down 1 in the column for the difference in the dates in each column.

Vlookup Help.xlsx

View 5 Replies View Related

Calculate Next Due Date Based On Start Date Frequency And Current Date?

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

Updating Range Of Data To Start On Specific Dates?

Mar 6, 2014

I am looking to have the data ranges in tab 'Type' update automatically in 'Output' for a particular start date. So for example if I enter LBO into cell E3 in the 'Output' tab it will input the data range for LBO from tab 'Type' but from a specific start date.

I know I can achieve part of this via LookUp functions but it is the start date that has me stumped.

View 8 Replies View Related

Calculate Future Dates From Start Date With Varying Time Period/cycle

Sep 11, 2009

I need to determine a formula which will allow me to calculate a future date based upon a current date with varying time periods.

For example:

I have a bill which is paid on the 15th and last business day of each month. I would like to be able to see the next due date regardless of what day of the week it is.

I have a bill which is paid every other Tuesday. I would like to know the next due date without having to enter +14 for every due date in the future. In other words, it is preferable to be able to open the spreadsheet and automatically see the next due date, not use autofill to repeatedly add +14 to a previous date which would limit the # of future due dates that could be calculated.

I have a bill which is paid on the last business day of each month, not the last Friday of each month. I would need excel to return a value for the last day of the month which = Monday-Friday, regardless of what day of the week it may be as long as it isn't Saturday or Sunday(holiday exclusion would be nice but not required).

View 14 Replies View Related

Create Calculator To Show Start And End Date Based On Specific Date Provided

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

How To Auto Populate Date Range (working Days Only) From Start And End Date

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

Conditionally Format Entire Row For Dates 15 Days Past Today Date?

Jun 11, 2014

I have spent too many hours Googling and trial with mostly error in attempting this. I formatted the very first cell A1 for today's date =TODAY(); this is also dirrectly above the column with all the dates in it. I just want an entire row's contents to turn red if it is 15 days old or older. This =$A1<TODAY()-15 somewhat works, but it only turns the date cell red, not the whole row. It also makes blank cells turns red, which I would like to remain blank (another formula is needed I imagine).

View 3 Replies View Related

Find Start Date And End Date In Range

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

Prorating Value Based On Start And End Date

Aug 26, 2013

I Have a sheet with the Value like ID, Start Date, End Date & Total Value..

I Want to devide the the Total Value in correspondent Months based on Start & End Date..

Last Month value will be End date-1

Sheet is like that:

A B C D
1 US-212 11-08-2011 14-11-2011 324424

View 2 Replies View Related

Lookup Dates With Certain Date Ranges

May 1, 2009

attached worksheet.

The worksheet has two sections, Extra payments and Loan Schedule.

If a date in the Extra Payments section is within a range in Loan Schedule, the enter its corresponding value, or sum of values in the Loan schedule under its respective date.

the attached sheet explains in detail.

View 7 Replies View Related

Calculate Holidays Remaing Based On Start Date

Nov 21, 2007

I want to create a formula that will do the following Each worker is entitled to 21 days holiday per year this will run from 8 Jan 08 to 7 Jan 09. But if a worker starts say 15 Apr 08 he would be entitled to less than 21 days. I would just like to be able to put his start date in a cell and then automatically generate how many days holiday he would be entitled to from 15 Apr to 7 Jan.

View 2 Replies View Related

Selecting Data Over A Date Range

Sep 12, 2009

I have 2 worksheets where I need to transfer a certain amount of data from one to another depending on dates.

Sheet ‘A’, is the main data source. Col A holds all 365 dates from 1 Jan to 31 Dec(starting at A2), and the subsequent data for each day is held in cols B to P.
Sheet ‘B’ is the destination where the user will specify a key date in cell A3, then in A4 to A32, formulae populate the next 29 dates (ie so there is a continuous run of 30 days).

What I need to do, is to identify the same 30 day range from sheet B on sheet A, then to copy the data in Cols B to P for that range back onto sheet B (pasting in at D3)

View 8 Replies View Related

Lookup For Succeeding Dates After Earliest Date

Dec 8, 2013

On the attached sample file, I used this array formula to lookup fo the

"First purchase date" - {=MIN(IF((Sheet2!A:A=Sheet1!A2),Sheet2!B:B))}

However, for the "Second purchase" and "Third purchase", i'm stuck and can't think on how to return the dates.

View 3 Replies View Related

Not Returning Date In Lookup When Dates Are Out Of Order

Mar 20, 2014

I have a bit of code (See below) which basically looks at a list of data in rows 10:99 and then finds a date that is between cells c1 and b1. If there is one the it puts that date in if not it leaves cell blank.

[Code] .....

The problem I have now found is that is the dates in the sheet TR rows 10:99 and one of the dates is outside the range so for instance if the range set by c1 and b1 is 10/3/14 - 20/3/14 and in TR there are dates:

12/3/14
08/3/14
it wont return anything but if the dates are
12/3/14
08/3/14
15/3/14
it will return 15/3/14.

Is there anyway that I can change it so it wont return 0 if the last one is outside the range.

View 14 Replies View Related

Catching Start And End Date Based On User Defined Criteria?

Dec 27, 2013

i am trying to project future date by adding certain number of days, the problem is that i m trying to catch starting date(C2) based on user defined(B2) date criteria is

a. if B2 is normal working day then C2 is the next day i.e. B2 + 1 for example if user enters 1 jan 14(B2) then C2 should be 2 Jan 14.

b. if B2 is saturday then C2 should be monday i.e. C2 + 2 eg B2 = 4 jan 14 then C2 = 6 jan 14.

now the main problem part

c. if B2 is saturday and monday is holiday then C2 should be date corresponding to Tuesday or if tuesday is also a holiday then C2 should be Wednesday and like wise..

d. same for last day of leave is to be calculated similarly to starting date..

I tried lots of IF combinations but it's not working...

View 6 Replies View Related

Automating Monthly Budget Averages Based On Start And End Date

Jan 30, 2014

I am trying to create a document that takes our client PO amounts, tactics/spend line items, and dates from one sheet and averages them across the months that it is eligible, so we can know the total amount of money we can expect to go out from our clients each month.

For example:
Client1 Tactic1 StartDate EndDate TotalAmount
Client1 Tactic2 StartDate EndDate TotalAmount
Client1 Tactic3 StartDate EndDate TotalAmount
Client2 Tactic1 StartDate EndDate TotalAmount
Client2 Tactic2 StartDate EndDate TotalAmount

I have mostly figured this out in a really complicated way with many nested if statements, but there HAS to be a simpler way. There will be lots of hands in this document, so I would like to make it as simple and easy as possible.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved