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
ADVERTISEMENT
Nov 30, 2011
I want to sum a certain criteria and for the selected months.
Example:
Column A January February March Total
Pen 20 30 40 90
Pencil 10 10 10 30
I want to have total of Pen for the months of Jan and Feb.
View 2 Replies
View Related
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
View Related
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oct 5, 2007
I'm trying to write a statement to incorporate 1 more piece of the puzzle. the formula I have is =SUM(SUMIF(Sheet3!$F:$F,{"F12","F24","F26"},Sheet3!K:K)). In Column F, I have text and Column K, I have numbers. I want to add to the formula if value in K is less than 1, don't add it
View 9 Replies
View Related
May 30, 2014
I'm trying to use the SUMIF function based on a specific month. This month formula has to choose from a range of dates. Currently, the month to report (5) is the only one that works. If I have dates in June and choose 6, it doesn't work.
This is the formula I'm using right now:
=IF(MONTH('Drafting Errors'!C:C)='Error Metrics'!C1,SUMIF('Drafting Errors'!A:A,C5,'Drafting Errors'!N:N),"No data for this month")
View 8 Replies
View Related
Feb 16, 2010
How can I do SUMIFs based on columns that contain text? Im having some trouble with them.
I just need to check column H for the text "Newham" and then total the corresponding cells in column F
View 9 Replies
View Related
Aug 8, 2006
I want a formula to sum all values if two different criteria match. I've attached a sample below. The TaskID and the Time Entry ID are the two data points I'm searching for and the totals column is where my sum statement would be. The numbers are being pulled from another worksheet.
View 7 Replies
View Related
Oct 8, 2008
As you can see I am using the code below in ( I ) =IF(OR(G5="",H5=""),"",-INT(-(-INT(-2*G5/C5)*C5-H5)/C5)*C5)
What I am trying to do is keep stocks, based on 2 x the sales, as you can see G5 I have 15 I still have stock of 35 so I should not need any stock but it has put 50 in. The 50 is a layer rate that I need to order in if I need any. If I had 20 sales and 19 in stock I would want it to order 50. It is the same for all the ones listed in the sheet apart from I8 where it should have ordered but only 40.
View 5 Replies
View Related
Jul 22, 2002
The following table is used in the sumif.
I would like the sumif to use the range with the names, and the range with the dates.
I have a GUI in which the user enters a name and a date and the $ amount earned for that week should appear.
The criteria is the name and the date.
******** ******************** ************************************************************************>
Microsoft Excel - Business Book.xls___Running: xl2000 : OS = Windows Windows 2000
(F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutP20=
IJKLMN3******4michaelb1*14$400.007/21/20025Michaelb1215$450.007/21/20026
[Code] .........
View 9 Replies
View Related
Mar 7, 2012
I am trying to write a Sumif formula based on two conditions. I want to sum the data in column AK if the data in column D = BUD12 and the data in column E = US Custom. I have written the following formula but am getting a #VALUE error.
=SUM(IF($D$25:$D$700="BUD12",IF($E$25:$E$700="US Custom",$AK$25:$AK$700,0),0))
View 6 Replies
View Related
Nov 19, 2012
I have situation where my account (from trail balance) will present to different grouping based on reporting, example below. How I can formulaize or using VBA to sum to amount based on the format.
Example :
if i want the format b : if i sumif HCM - the total should be from account code a1001,a1002,a1003 and hrd will sum up based from account code a1004,a1005,a1006
Account Code
format a
Format b
format c
format d
format e
a1001
adm
hcm
adm
adm
hrd
[Code] ........
View 7 Replies
View Related
Apr 18, 2014
A1:A10 = Criteria Range 1
B1:B10 = Criteria Range 2
C1:E1 = Criteria Range 3
How to sumif all 3 criteria are met?
View 7 Replies
View Related
Jul 16, 2008
Have had a search around the web forums for an answer to this and am not getting anywhere.
In column A i have text - apr, may, jun etc
In column E i have general format text - a 6 figure number
in column M i have text - eg 886.97 (a currency, but in text format)
i want to:
where column a=apr and column E=212130 sum the contents in column M
View 9 Replies
View Related
Mar 3, 2009
I have a list of sales made during a certain period. They are either in £ or $ and are in a list. Essentially like this (but with lots more info):
sale1 £300
sale2 $450
sale3 £150
etc...
What I would like to do is to have two cells at the top which sum only the £ values and a cell whcih sums only the $ values. Is this possible?
My idea to was do a sumif formula based on the cell format of the sales value, but I can't see a way of doing this. The only other way I can see is to have a simple addition formula selecting only the certain cells i want, but this would be labour intensive to maintain, as the formula would need to be updated eachtime a new line is added.
View 9 Replies
View Related
Apr 22, 2006
I would like to create a UDF similar to the SUMIF function but the UDF would be dynamic in that it would sum based on a dynamic range that would change based on the row the user is in.
background: I have a very large input template for 12-18 months for multiple cost categories. I would like to have the UDF in a specific cell above each category that would show the user what the sum of the range in the current row they are inputing data. Each row represents a specific project/task (along with 12-15 descriptive columns) that makes the freeze pane option unusable.
View 5 Replies
View Related