SUM A Range Of Sales Based On Month
I am trying to add a specific range of data
Column A include a code
Column BX include actual data
Culumn X AI include budget figures.
Also in cell A1i have the number of the month
For example the month is 3 (March)
I want in AK to create a SUMIF where the formula will sum columnsX+Y+Z
If month goes 4 then should calculate
X+Y+Z+AA
and so on
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Sum Based On Month Criteria
I maintain a table with projects and their respective costs / revenues. I have a formula that automatically sets the forecast and Yearto Date periods based on the month and date. I need to automate the yeartodate sums such that, when the date changes and a new month acquires the YTD status, that the monthly costs/revenue of the projects are updated e.g sum of JanSept in the YTD column(for this month). A sample workbook is attached.
View Replies!
View Related
Sum Based On Month Of Corresponding Dates
I have a worksheet of data I need to sum based on a monthly date range criteria onto a separate summary worksheet. Both are in the same workbook. I tried using SUMIF and SUMPRODUCT but can't seem to get the criteria correct when I add in LEFT into the argument for the date criteria "6/" or "06/". Here's where I'm at so far: =SUMIF('2008'!E4:E149,(LEFT('2008'!E4:E149)="06/"),'2008'!I4:I149) My table looks something like: Log NoShip DateQty 000953/26/20085 000963/28/20081 000974/28/20081 000985/28/20082 000995/29/20081 001006/1/2008 001016/14/20084 001026/20/20083 The 6/1/08 entry is intentionaly blank to be filled in as the value becomes known and then the totals would of course need to be updated.
View Replies!
View Related
SQL To Excel  Stock Sales By Month
I am fairly new to VBA / Excel programming. I have been trying to write a report out of excel from our company DB (SQL2005). The database is run by our frontend accounting application  so i cant mess with it at all, must only run queries. I need to pull the last 24 months of stock sales data(by stock code or category) out of our DB into excel by counting transactions on Customer Invoices / credits. Into a table as follows.. Stock CodeMonth1Month2Month3 ABC1433319 ABC221025 I have managed to make a script that fullfills this need but it takes about 15 minutes to run(Due to having to loop many times per item/ per month).... I was just wondering if anyone had any tips / advice on different ways to do this..??? Ive had a quick look at Pivottables but havent gone very far in, maybe they are the answer, but this amateur does not know.
View Replies!
View Related
Sum Report Based On Month & Year
I would like to calculate the sum of investments based on their expiry date and have the totals per month (and year). I have a table that looks like: TermInterest rateMaturityBalance 24 Months7.12%11 November 200740,000.00 12 Months7.74%13 November 200750,000.00 24 Months7.05%10 January 200853,889.12 12 Months7.85%11 January 2008120,000.00 12 Months8.02%22 March 200817,000.00 36 Months6.68%30 June 200832,000.00 I'd like to have something like: Nov 07 90,000.00 Dec 07 0.00 Jan 08 173889.12 and so on... Admittedly I am an Excel novice, so excuse me if my question is dumb and has a simple answer (actually I hope it has :) but I have tried to find a solution by searching forums, my books, online help, I tried my luck with sumif and SUMPRODUCT functions, even used the conditional sum wizard, but I can't get it right
View Replies!
View Related
Sum Based On Text & Month Criteria
I am trying to get the sum of some cells (integer varies in column G), but comparing one column content (exact) and dates in a different column. I tried the following: =SUM((Tony!G30:G44)*(Tony!D30:D44="Crazy")*(MONTH(Tony!E30:E44)=7)) Column E would contain a date, such as 010707 or 1st July 2007. In the D Column, keywords such as "Crazy" are concise and standard. However regarding dates, am I better off finding a formula that looks for cell content (Contains "july", as opposed to ="July"), or using a month function (but getting it to work)? How can I do this?
View Replies!
View Related
Sum Column Based On Other Columns Year & Month
I have the following variables in these columns Column 1: Ship (1064, 1065, 1066 as the field contents) Column 12: Date (21Feb08 as format) Column 13: Weld Length (1000 as format) Column 15: Defect Length (1000 as format) What I need doing is the following is in a single cell per month add up what the total weld length is as well as the defect length as I have Jan 08, Feb 08 etc on another sheet where these values will be returned. There is a seperate sheet for each Ship so would like a formula that I could ammend 1064 to 1065 etc
View Replies!
View Related
Sum Year To Date Based On Month Chosen, Rank Values & Compare Rankings
1. I would like to be able to select a month from a drop down ( cell C4), and for Column B ('Cumulative Performance') to reflect the sum for each name between Jan and the month selected. 2. In Column D I would like to rank the relative position of the sum total; such that if I selected 'Dec', John would display '13' in D7, Anne '3' etc. 3. In Column E I would like to show by way of a coloured arrow (or even a smilie icon) the relative change in ranking of the sum totals evaluated for my chosen month with those calculated up until the previous month (e.g. for Anne, if I select June, the Jan to June total is 36 (rank 2 in the June total's), the May to Jan total for Anne is 32 (rank 1), therefore her relative rank movement between the June and May cumulatives moves down and cell E8 would show a reddown arrow (amber horizontal for no change and green uparrow for an improvement in rank).
View Replies!
View Related
Using The SUM Function To Record Weekly Sales
I would like to have a set of cells that add up all the sales within a given week. I know how to do this simply for one week, but how do I get Excel to automatically take this function and create the rest for future weeks? After entering the SUM function in one cell, I click and drag on the box to try to get Excel to correctly input the functions in the next cells (like how Excel will correctly input the next date, week, or month). But Excel doesn't do it correctly.
View Replies!
View Related
Formula To Calculate Sales Tax From Total Sales
I have created a chart on excel for us to track daily sales but also to figure sales tax so we know what to send the IRS each month. We have been figuring the sales tax ourselves and filling in the chart on excel but I would like to create a formula that automatically does it for me based on total sales.
View Replies!
View Related
SUM Of Values In 1 Range Based On Specific Criteria In Another Range
I am tracking total man hours of contractors in columns of different rates applicable. At present I have structured my worksheet with the different rates across and days going down. As I am invoiced for a period of work I will log the invoice ref number in a separate field. I would like to sum totals to report against $ Invoiced and $ Committed (i,e worked but not actually invoiced against yet). Here is an example of what I am trying to achieve. The Actual showing sum mhrs * rate only for the mhrs entries with an invoice in corresponding Invoice Ref Column. The Committed producing sum of all mhrs * rate [which I am using =(SUM(D9:D37)*D7)] regardless of what is in invoice ref column. This way I can hopefully track what we have been billed and also what we can expect to have to budget for to cover what has been worked but not billed against.
View Replies!
View Related
SumIf: Keep Stocks, Based On 2 X The Sales
As you can see I am using the code below in ( I ) =IF(OR(G5="",H5=""),"",INT((INT(2*G5/C5)*C5H5)/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 Replies!
View Related
Formula That Will Determine The Number Of Days That Fall In A Specific Month Based On A Date Range
I'm needing a formula that will determine the number of days that fall in a specific month based on a date range. For example, if I have a date range of 10/15/2009 to 01/13/2009, I need the formula to determine the number of days in each month within the range (October has 15 days in the date range; November has 30, December has 31, and January has 13.) I have a large spreadsheet that would be so much easier to manage with such a formula. Currently, my spreadsheet is setup as follows. I need the forumla automatically fill in the number of days under each month. Stard Date End Date Oct09 Nov09 Jan10 Feb10 10/15/2009 01/13/2009 I'm using Excel 2007.
View Replies!
View Related
Sum Based On A Range
I want to be able to perform a sum based on a range using greater and less than operators. Attached workbook shows the example, I want to calculate the sum of all the numbers in column B where the values in column A are > 3 AND <9 i.e. 4, 5, 6, 7, 8. As this is just an example I would also like to know how I can vary the criteria e.g. change from >3 to >4. Also bear in mind that column A may repeat the value e.g. 5 may appear more than once and I need all values of 5 to be included in the sum.
View Replies!
View Related
Sum Range Based On Value In Another
I have a sheet that is organized by having company names run down the A column, then it has corresponding data on the same row. EX: A1= Bobcat Co. A2= Customer Number (ie: 101) A3= Total Value (ie: $300). My problem is that there is 40 or so Bobcat entries and I need to be able to output a specific company's overall total value (they are scattered by purchase date) and output that to a different sheet. Do I need a code that would search all the A columns for the company name and then once it finds them add up their total value?
View Replies!
View Related
Function To Fill All Days Of Month To End Of Month Based On Workdays
I would like to create a monthly inventory, based on workdays (Monday  Friday)Myrna Larson has a formula that I would like to use with the workday function, but I don't know how to combine them. =IF(A1="",A1,IF(MONTH(A1+1)=MONTH(A1),A1+1,""))+ = workday to fit on the page, I need the dates to be from the 1st to the 15th, and 16th to the 31st. I am not sure how to write this either.
View Replies!
View Related
Sum A Range Based On A Cell Value
I am looking fo a simple way to carry out the following.. My Spreadsheet has a range of data from column D to O I have a Total Column Q I have a Cell, eg A2, where I enter a value from 1 to 12 Depending upon the value entered into A2 will dictate the range of cells to sum, ie A2 = 4  Column Q would Total Range D?? to G?? A2 = 12  Column Q would Total Range D?? to 0?? etc.
View Replies!
View Related
Sum Of A Range Based On Two Variables
I'm trying to create a simple checkbook application for a friend. I've gotten pretty much everything I want figured out except for two functions, which are basically the same thing. I'm trying to find the sum of all deposits and of all withdrawals based on two entered dates. Basically, they enter the dates, and the formula finds the dates, then sums all the deposits/withdrawals between them. I attached the workbook with some sample data in case I wasn't really clear.
View Replies!
View Related
Sum Range Based On Criteria Of Another
I need to sum values from the same column, in different rows, but is there a way to sum each value based on the name in the first cell of the row. Since I realize I probably did not word that well, I will give an example. The data would be as follows Bellcrank 3 Bellcrank 5 Gearbox 2 Bellcrank 6 Is there a way I could just sum the Bellcrank values? I understand that i could just use the sum function in this case, but I want the sum to automatically update if another bellcrank row is added.
View Replies!
View Related
SUM Range Based On Cell Value
I'm trying to create a = SUM( RANGE) forumla, but, I need the first cell reference to represent the value of a different cell... something like... =SUM("A1"1:H1) Where A1 holds the value of a cell number. ie, cell A1 may have the value 'e', so I want the result to be the sum of range e1:h1.
View Replies!
View Related
Sum Range Based On Text Criteria
Trying to sum a range based on the criteria of the 1st position within each cell in the range. Cells have data like "A8", "A4", for a total of 12 for "A". This is the formula I have that is not working. =SUMIF(left(C4:P4,1),"A",RIGHT(C4:P4,1))
View Replies!
View Related
Sum A Range Based On A Starting Lookup Value
I'm trying to sum a range of data consisting of 12 cells (each range is in a unique row going across adjacent columns). The range of data to be summed is based on a lookup value which is a column header  I want the range to start with this lookup value. In column B of my spreadsheet, I have a 'First Activity number code' going down...In Row 4, I have the same First Activity Codes going across the row (the column headers). In Column U, going down the column I am looking for my formula. So For example, in row 5 of my spreadsheet, I am looking at 73 as my base code (the value in column B), and I want a range of data summed that lies in the same row where the column headers are 73  84 (12 rows)  always starting summing the range with the same number that is in column B. So in row 18, 78 is my base number; so I would want the sum of the numbers in the same row where the column headers are 7889 ( 12 columns).
View Replies!
View Related
Sum Based On Numbers Being Within Numeric Range
I'm trying to add up some values based on a criteria in another column. I have numbers in column A ranging from 0  100 and in column B have totals for those numbers. What i am trying to do is Add up the totals in column B based on the following criteria's in Column A. <7, >7 & <=30, >30 & <=60, >60. I have a summary page to display the individual results in separate cells.
View Replies!
View Related
Date Range Formula: Beginning Of Month To End Of Month (which Is In The Current Row)
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 midday and midmonth. 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
View Replies!
View Related
Sum A Range Of Cells Based On User Input
I have a range of cells that I want to sum based on a range inputed by the user. The range begins with cell c27 and ends with cell au27. I want the user to be asked the beginning cell and ending cell of the range they want to sum and then output the answer.
View Replies!
View Related
Conditional Sum Based On Values Existing In Range
My problem may seem similar to "conditional sumif", but I could not solve it with that approach. The examples of sumif or sumproduct always use E2:E25="Low" notation, in my case I need a range on the right hand side of that comparison. I have several brands which belong to some producers. I'd like to sum the values of all brands belonging to 1 producer. The brands and their producers are listed on the same sheet. An example is attached.
View Replies!
View Related
SUM X Column Range Based On Criteria In Cell
Im trying to do a sumif reading the name in column N (either "Business" or "Procurement"), and suming all values in the range AW:AY. this is what I have come up with.... sumif(N10:N49, "Business", AW10:AY49) but it returns incorrect values and not the whole range???? Any ideas? Auto Merged Post Until 24 Hrs Passes;here is an example of what im trying to do... H2 and H3 are my attempted formulas
View Replies!
View Related
Sum Based On Multiple Conditions & Variable Range
I have a rolling calendar worksheet that I need to create a formula to auto populate the sum of 8 weeks out, 4 and 8 weeks back based on any work week date I may plug in. So on the "summary page" based on a work week date, I need 8 weeks out, 4 and 8 weeks back projections to be auto summed for 10 different part numbers. The "13 week rolling" page will continue to be updated so that everyweek another week is added and the last week will fall off. (this part can be done manually if no function can delete the oldest column) When the weeks are added it must include the workweek in question. i.e. ww25 = (8weeks out) ww25:ww32 / (4weeks back) ww25:ww22 / (8weeks back) ww25:ww18. see example workbook attached. This has been driving me nuts for a few weeks now.
View Replies!
View Related
Sum By Month ..
I want to use SUMIF to see if the range of cells are in the same MONTH as the criteria and sum a value in another column. Something like this... =SUMIF(MONTH( 'Data 2'!A:A),MONTH(Data!A2),'Data 2'!N:N) This however throws up an error because of the MONTH tag round the first condition.
View Replies!
View Related
Sum Of Income By Month
I have a spreadsheet that contains entries for each order of a product and the product amount. What I want to do is have a summary of this for income. So, if there is a date completed for the order, I want a sum of this for the month. Order No. Order Amount £ Date Ordered Date Complete A2 B2 C2 D2
View Replies!
View Related
Sum Up Month To Date
I have Excel sheet with daily sales data for differant year. Attached is the data for 2009 as an example. I need to compute Month to date sales in Cell F1 as highlighted. To accomplish this i have got Public function SumDays. This works fine but every month i have to update the start cell #, example H239 in Sumdays(H239,c1)....for Sept i will change it to H272, and so on. Have a look at Cell O2:P13. i need to eliminate this so that every month correct variable is placed in SumDays(XXX,C1).
View Replies!
View Related
Sum By Condition For Each Month
I have a spreadsheet for to control different types of personnel expenses. For every person there are 17 rows each column. The spreadsheet itself contains a named range called "database" which in turn contains 14 columns. The second column contains the name of the expense, the first column the number of the expense (going from 1 to 17), the last twelve columns show the monthly expenses. Every month or so two or three new persons are added to the spreadsheet, and for all the others the costs are updated in the respective column. I would like to have the monthly total for each expense type below the dynamic range. I already tried using the SUMIF Function and it yielded good results, but unfortunately, it stops summing after the 1125 row. Reason unknown. Now I've been trying to get the DSUM()Function working, but no luck here either. I've read the thread "Add or Sum every nth cell" and changed it slightly, so that the DSum() would compare the number of expense to a given value (1, 2, 3, etc.), and if TRUE, sum it up. Let's assume the named range starts in A2 already and the criteria are in E1:E2. Example: Total for cost type 1 for October (3rd column) =DBSUM(database;3;E1E2) Criteria: =A2=1 The formula is acting weird and giving me the wrong sum. It doesn't change when I change the cost amount either. Ideally, I would like to have a formula that sums every cell, where the cost type =x, or every cell where the rownumber according to the named range =x (then using the MOD and ROW functions).
View Replies!
View Related
Date Month And Sum Formula
In the Total column, I would like to determine what the total would be as from the start date till the current date Columns "C:I" has the dates and the Monthly applicable rates associated. (in this example, they are annual dates, but it may be that rates change in between a year as well) In the first set of details (Mr A), the start date is 01/10/2005 Since Mr A only begins 01/10/2005, the rates from 01/07/2004  30/06/2005 ($9) would not apply. However the rates from 01/07/2005  30/06/2006 ($8) would be applicable for Mr A for the period 01/10/2005  30/06/2006 (ie.9 months) ....
View Replies!
View Related
Month Wise Sum The Values
In sheet1 I have the following table App Value Date A 5,2 1/3/2009 B 0,3 1/2/2009 C 5,1 1/5/2009 D 8,1 2/3/2009 E 1,6 2/13/2009 F 7,5 3/3/2009 G 6,8 3/30/2009 H 2,2 4/3/2009 In sheet2 I have the table which has the columns as below. Month Value Jan09 Feb09 Mar09 Apr09 The sum of the values month wise should be calculated by replacing the comma by dot
View Replies!
View Related
Sum If Date = Particualr Month
how to make a formula which looks at a date range and adds a specific months worth of data. e.g. date format is 01 October 2008 so i would like to make the formula to look at all dates which include October 2008 only.
View Replies!
View Related
Sum Daily Data By Month
I have a large set of daily rainfall and evaporation data (see attached sheet) which I would like to sum into monthly data. I have previously been doing this in Access, can anyone show me a quick way to do it in excel?
View Replies!
View Related
Sum Values Of Corresponding Dates By Month
I have a sheet that lists dates (several per month) and corresponding values. I want to sum all the dates for each month on a separate sheet. I was able to find the formula I need on another thread (http://www.excelforum.com/excelgene...nthlysum.html), however, my formula does not seem to work for the month of January. For January only, it actually sums all of the data available and gives me the total. Am I doing something wrong? My formula is: =SUMPRODUCT((MONTH('2009 Tickets'!$B$11:$B$5000)=1),('2009 Tickets'!C$11:C$5000))
View Replies!
View Related
