Sum Based On Most Recent 12 Months

Jan 29, 2009

I would like to sum a range of data based on the most recent 12 months.

Details:
Row E9:?9 - Contains random dates
(where "?" will change based on the user will be min 12 and max undefined)

Column C - Where I want the sum formula - to sum that corresponding rows data based on the most recent dates listed in row 9.

View 9 Replies


ADVERTISEMENT

Graph Automatically Keeping Most Recent 18 Months

Jun 30, 2009

I have a word document that has all kinds of graphs embedded in it. When I double click the graphs, an excel spreadsheet comes up. The spreadsheet contains quite a few years worth of information. I, however, need it to automatically refresh to show only the most recent 18 months of data on the graph. The documents are in MSOffice 2007.

View 9 Replies View Related

Sum Year To Date Based On Most Recent Input

Oct 7, 2006

My spreadsheet uses alternating columns for actual and budget inputs
I would like to preload the budget for the whole year
But the ytd formula should only show results to match the input of actuals

In otherwords, If I input actuals for period 1, the YTD formulas for actuals and budget should return YTD period 1 only and ignore the remainder of the budget inputs

After period 2 actual inputs, the formulas shlould update to reflect period 2 YTD and so on and so forth

How can I accomplich this?
Sample of layout attached
Totals at Cols AK-AM

View 3 Replies View Related

Finding Recent And Previous Dates Based On Multiple Criteria?

Apr 29, 2014

i have with noting the most recent date of a test and also the one prior to the most recent dependant on location and test type. I require most recent and previous test info to enable a comparrison to be made. All other dates are not required but need to be kept as historical data and can't be deleted.

Is there anyway i could get column E to auto populate and amend itself as more test dates and locations are added to the list?

View 1 Replies View Related

SUMIF Based On Months In Row

Oct 24, 2013

I'm attempting to sum figures based on the current date. I have a month that's returned from a today function lookup in column B2 (currently 'October').

In F17:Q18, I have the following:
F
April
G
May
H
June
I
July
J
August

[Code] .....

I need to be able to look up today's month (in B2), and sum the row up to that point (so for October, sum Q18:L18). When it ticks into the next month, I want the sum to automatically update to sum to column M

I'm struggling with a SUMIF, my current one sums everything in the row and ignores my "<=B2"

I also tried (MONTH(TODAY()) with corresponding month numbers (Jan 1, Feb 2 etc) in Row 19, but that breaks because Jan-March are 1-3, and it sums them too.

As you can see it's built on a financial year. How to sum the rows up to the current month, and include last year once we're into January-March?

View 9 Replies View Related

Sum If Function Based On Months Chosen

Aug 1, 2009

I have 20 sheets in a work book (1-20) with similar row details(80 rows)...but the columns have amounts for 12 months. I would like to do a sum if function based on months chosen.

For eg: If I select "sheet 1" and choose month as june...I want the sum of amounts from Jan-June.

View 9 Replies View Related

Summary Column Based On Specific Months

Jul 3, 2008

i've attached a file of what i'm working with. only the Data Entry worksheet and Data View worksheet are what i am concerned with

i'm building this billing workbook based on a monthly calendar. i want to have the summary column be a SUM of only the months billed thus far. for example, if the current month is november and i'm entering in billing information for the month of october, how would i be able to show a SUM of only months already billed? in other words, how can i summarize july:september, then see that summary in a column, and then bill october without seeing the effect on the summary column.

currently, the summary column is a summary of all months. i need it to be relative to the Current Date entered in the Data Entry Worksheet.

View 11 Replies View Related

Predict Value Based On Weighting Of Prior Months

Dec 28, 2011

I have 11 months of sales commission data, and need to estimate the value for December. However, the catch is, for the first 7 months, the values are significantly higher than the most recent 4 months. I'm currently using the TREND function to guesstimate the December value, but with the wide fluctuation between the 2 time periods, I'm thinking the result of the TREND value may be way off.

Is there a way to 'weight' the data to reflect the higher values earlier in the year, with the much lower values later in the year?

View 5 Replies View Related

Populate List Of Months Based On Date & #

Jul 15, 2009

I have a # of months in P11, and a Start Date in P12:

P119 Months126/1/2024

I need to excel to autopopulate monthly dates from the Start Date = to the # of months displayed in P11: ...

View 17 Replies View Related

Conditional Format - Dates Greater Than 18 Months And 24 Months?

Dec 6, 2013

I have a date column (Column E: Date Entered) on my spreadsheet that I need to set conditional formatting on. There are two conditions:

1) 18 months from the date in the cell needs to be highlighted yellow

2) 24 months from the date in the cell needs to be highlighted red

View 6 Replies View Related

Index Match Based On Months Away From Current Month?

Aug 15, 2014

I have a spread sheet with towns listed in Column G from row 3-81. I months going across row 2 as column labels (they are dates in Jan-14 format). They go from column H-AF.

What I want to happen is to have a formula (not in VBA) which will compare the month in row 2 versus the current month. If it is more than 5 months ago I would like it to return the town in column G for the corresponding row. The only thing I am using to "mark" the last time the town was worked is an X so that is all it needs to look for.

View 9 Replies View Related

Excel 2007 :: Conditional Format Based On Months?

Feb 20, 2014

In Column D of my work book are a list of months, I'm trying to use conditional formatting to do the following:

Highlight green the cells in Column D where the month is due (i.e the month is now).
Highlight orange the cells that are one month passed the due month.
Highlight red the cells that are two or more months passed the due month.

I'm using Excel 2007.

View 4 Replies View Related

SEASONALITY Based On Names Of Months In Forecasting Model

Jul 16, 2007

I have historical sales for each month from the last 3 years. I would like to set up a seasonality adjustment for forecasting. I know that it won't be perfect and some may even suggest using regression, but I'd rather not. I'd like to do the following:

In a control sheet, list the months in chronological order beginning in cell A1; January, A2, February; etc., etc. through December.

Next, below each month, I'd like to have a factor. For example, in B1 beneath January, I'd like to be able to plug in 75%. This would say that for each January going forward, that it is 75% of the annual historical average for all periods. Whereas, say in June, it is 140%.

View 9 Replies View Related

Interrogate A Sheet For Specific Data Based On Months

Oct 18, 2008

I'm trying to interrogate a sheet for specific data based on months, I can't seem to set the input to the range any help much appreciated
Mike54

Private Sub updatestats_Click()

Dim Mth As Variant
Mth = InputBox("Please enter the month you wish to analyse")
Dim AL As Integer
Dim January As Range
Dim February As Range
Dim cl As Range

Set January = Range("B4:B57")
Set February = Range("B58:B113")

'March = Range("B4:B57")
'April = Range("B4:B57")
'May = Range("B4:B57")
'June = Range("B4:B57")
'July = Range("B4:B57")
'August = Range("B4:B57")
'September = Range("B4:B57")
'October = Range("B4:B57")
'November = Range("B4:B57")
'December = Range("B4:B57")

For Each cl In Mth

If cl.Value = "Annual Leave" Then
AL = AL + 1
End If

Next cl

Cells(4, 14).Value = AL

End Sub

View 9 Replies View Related

Color Cells Based On Difference In Months Of Dates

May 14, 2008

I have dates in Column D (mm/dd/yyyy). I'm trying to write a macro to compare the date in any cell in Column D to the current date. Then, if the date in that cell is within a month of the current date, color it red. If the date is within two months, color it orange. Etc, for up to six months. I've read up a little on dates in VBA, but I'm pretty lost.

View 4 Replies View Related

Split Equal Amount Across Months Based On Start And End Date?

Feb 6, 2014

I have contarct for amount $5000 with a start date of 1/1/2014 - 3/31/2014 (3 months). I would like to equally split my amount based on my number of months between 1/1/2014 and 3/31/2014 ie $1666.66/per month.

View 4 Replies View Related

Formula Showing Revenue Recognition Based On Days And Months

Mar 15, 2014

I know I will earn $5,000 of monthly revenue from a client. $5,000 is represented in a monthly revenue cell. I have 12 columns showing the 12 months of the year. There is an additional cell showing the customers implementation date.

If a company's implementation date is on or after the 15th of the month (example: 3/28/2014) then the next month (April 2014) is skipped and the $5,000 is returned to columns May through December. All months prior to May return $0.00. If the implementation date is before the 15th day of the month (example: 3/13/2014) then the next month (April 2014) and all months after will return $5,000. All months including March and prior must return $0.00. If the implementation date is unknown then 12/31/2099 would be in the implementation date cell and $0.00 is returned for all 12 months.

Essentially, if the implementation date is prior to the 15th of the month the revenue will show as of the following month. If the implementation date is on or after the 15th of the month the revenue skips the following month and will show the month after.

View 6 Replies View Related

Elapsed Months (many Months Have Gone By Since Todays Date)

Jul 19, 2009

Cell A1 is a past date. In cell B1 I would like how many months have gone by since todays date. eg. Cell A1 = July 07, B1 would = 24 months.

View 3 Replies View Related

Add Months & Return Decimal As Years & Months

Jul 31, 2007

I am looking for a formula that will add months and return the year. E.g. if I add 1.05 and 1.07 I should get 3.01. i.e. 3 years and 1 month.

View 9 Replies View Related

Date Function - Calculate Ratio Between Months Based On Working Days?

Jul 25, 2014

I have added 3 tables data .. also I had created a sample solution calc for emp1 and project1 ... I need to calculation the ratio between the months based on the working days and allocate the efforts accordingly.

View 2 Replies View Related

Formula To Calculate Based On Start Month Number And Duration Number Of Months

Mar 14, 2014

I need a formula that will calucalte the monthly total based on the following conditions:

Col A = Yearly Cost
Col B = The number of the month when the costs are starting (1=Jan etc)
Col C = The duration or the number of months for which the costs are to spread
Col D is Year 2013 with the months across columns D-O. Row 1 above those columns shows the month's corresponding number.

Right now I have =IF($B3<=D$1,$A3/$C3,0) however if my start month is 1 and my duration is 5, I need the costs to stop after May. I've attached a sample file. Calculate based on start month and duration.xlsx

View 3 Replies View Related

Most Recent Value

Dec 9, 2009

I have 31 cells (say in A1 thru A31), representing days of the
month, that daily number values will be entered. I want to be
able to select the value in the most recent day cell, not the
most recent updated cell...
i.e. the cell in the A1:A31 range closest to the A31 cell.

For example...
Say I have values: 2,4,7,12 in A1 thru A4, I want the value
in A4, even if I just updated Day 2's cell... because A4,
or Day 4, is closer to the end of the month.

View 9 Replies View Related

Display Most Recent Non-zero Value

Apr 28, 2010

Column Q is a vlookup which looks up dates contained in column P within a range called "Query_From_Price_Database" and returns data from column 3 as indicated below:

=VLOOKUP($P4,Query_from_Price_Database,3)

What I'd like to achieve for each time a value is returned as being "0", is for the cell to display the most recent data.

E.g.The vlookup results might be:

27/04/10 15.29
26/04/10 15.55
25/04/10 14.98
24/04/10 0
23/04/10 15.13
22/04/10 0
21/04/10 0
20/04/10 0
19/04/10 15.24

I want it to be displayed thus:

27/04/10 15.29
26/04/10 15.55
25/04/10 14.98
24/04/10 15.13
23/04/10 15.13
22/04/10 15.24
21/04/10 15.24
20/04/10 15.24
19/04/10 15.24

Where there would be zeros, data is displayed from the most recent date actually containing non-zero data. Is this possible with a "not too complicated" formula?

I've tried a few methods, but they only seem to result in "formula too long" errors.

View 2 Replies View Related

Count (Sum) Most Recent Value Only

Aug 15, 2007

I am familiar with SUMPRODUCT and {SUMIF}, but I am stumped on how to create a formula that can sum (or count) the only the most recent entry for each Name. The Name field is dynamic and constantly updated with a unique reference number, so I don't want totals by Name/Type, but rather only the newest Ref for each Name by Type.

Ref__Name____Type_QTY
8____John____B____5
7____Bob____B____4
6____Dale____A____3
5____Jane____C____2
4____Bob____B____5
3____Jane____C____4
2____John____B____3
1____Bob____A____2

Should return;
Recent_Type____NOT Total
5______A______5
9______B______17
2______C______6

Hopefully this explains it all. Looking forward to any input or suggestions to keep this a simple automated process.
*added _ to space out the columns

View 7 Replies View Related

Get Date Of Most Recent Activity

Apr 11, 2014

I have one spreadsheet with a list of materials by material number. I have another with all sales activity. How can I pull into the first spreadsheet the date of the latest activity from the second spreadsheet?

View 2 Replies View Related

Formula For Most Recent Date

Dec 23, 2009

I have a workbook to keep track of names and dates of a specific action. There are 10-15 names that recur on the list. The most recent action is added to the bottom of the list. The names are in column I and the date of the action is in column J.

The problem is having to scroll through the list to find the most recent action for each person. Ideally i'd like to have a list of the names in column N and then in column O the most recent date in the list for each name.

View 2 Replies View Related

How To Compare Most Recent Data

Jan 27, 2014

I attached an example.

I am trying to figure out how I can write formulas that look for trends in the data. I will be entering more data every day. I need to look at the 5, 10, 20 most recent results for each number.

For example, I need to see how many times yes was answered for #3 in the most recent 5,10, 20 entries.

I am sure there is some simple way to do this with a control + f formula, but I don't know how to do it.

View 14 Replies View Related

List Recent Changes To Document?

Oct 22, 2007

Is there a way to list the recent changes to an excel document on the document itself?

For example, I have just 4 or 5 columns in the sheet, but out the the right on the 7th column I'll have a header that says "Recent Changes". Below that for X amount of rows, I would like it to keep a running change list something like this:

B14 was changed from '6.021' to '6.5' by username on 10/21/07 3:45 pm
A23 was changed from 'Sally' to 'Billy' by username on 10/21/07 2:30 pm

I thought this up by looking at the way the "Track Changes" functionality works on the Tools menu. That will highlight the cells in blue as they are changed and will also let someone look back through changes to let them accept or deny.

View 4 Replies View Related

Average Minus Most Recent Row

May 4, 2009

I have a table in a sheet where the rows of data are filled in automatically from other sheets. Each row represents a different week. The data, (lifted from from the relevant worksheet for each row) represents the no. of calls in each week.

Now, I've set up an average to be calculated from the data - it'll do this for every row as long as there is data present. (If the row's corresponding worksheet doesn't have any data the result will be "NA()" - not included in the calculation.)

However, I don't want the average to include the no. in the "most recent" row, as this is "live" data and until the week is over does not represent the data for a full week and therefore skews the average.

So I want the average to exclude the data in the most recent row with a numerical value in it and not a "NA()"

ie - column could be ......

View 12 Replies View Related

IF THEN Statement For Most Recent Dates

Feb 18, 2014

I have data, which has an oil well that has had sections of its pipe perforated.

This has all happened on different days throughout the wells life.

I need an equation that says TRUE if the Perforation is the Most Recent for that well.

But I also need it to say True at different Top and Bottom Depth intervals throughout a specific well.

(for example: the last row in this data. Says TRUE even though there are more recent dates in this well.

This needs to say true because this is the most recent perforation in the top and bottom depth interval 9526 to 9536.

The other most recent perforations happened in shallower intervals, ie. 9456 to 9480.

So I need something in the equation that will say true to the most recent start date, if that top and bottom depth interval has not already been selected as true.

I need to have a column that says True IF the start date is the newest (most recent) for each individual well.

Easy enough.. But. I also need this to say True multiple times at different dates for each well.

For example below. it says true on 7/22/2001 three times and then True again on the last row on 10/14/1992.

It has to say true there because this is the most recent perforation that Top_Depth and Bottom_Depth interval.

WELLNAME
TOP_DEPTH
BOTTOM_DEPTH
START DATE
IF most recent Perf

RA-0001
9380
9395
10/14/1992
FALSE

[Code] ......

View 9 Replies View Related







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