Referencing Subtotal Numbers
Mar 1, 2006
Reference a subtotal relative to one of it's lines.
Example
Product # Salesperson Quanity
Percentage
1 Amy 10
**
1 Ron 20
**
1 Jim 25
**
Product # 1 Total 55
2 Amy 15
**
2 Ron 15
**
2 Jim 35
**
2 Bill 20
**
Product # 2 Total 85
3 Jim 35
**
3 Bill 20
**
Product # 3 Total 55
I of course want to calculate the percentage column by dividing the quantity
by the total. The problem is that the relative position of the total varies.
Is there a way to do this without using code?
View 10 Replies
ADVERTISEMENT
Aug 21, 2007
The following is what I have in A1:C3.
4 TRUE 0
4 FALSE 4
4 FALSE 4
The Formula in C1 is =IF(B1=TRUE,SUBTOTAL(9,C2:C3),A1)
This formula is then copied down to C2 and C3. I want this formula to subtotal the next two numbers if the cell to the left is true. Right now it is giving me 0, but it should be giving me 8.
View 9 Replies
View Related
Apr 17, 2014
I am fairly new to excel and I am having trouble trying to get a sub total function to work for me. I need the subtotal to for a list of about 20 columns in one line with a varying amount of rows. So the subtotal must stop when there is a blank at the top. I can get the macro to find the totals A on the spreadsheet and then offset to beneath the columns of numbers but the sub total formulas takes in every number. Here is the example:
456.00
8,798.00
45,465.00
789,789.00
45,465.00
789,789.00
45,646.00
7,897.00
Totals A
[Code] ........
View 9 Replies
View Related
Jul 29, 2009
if you can remove the word total from each cell without deleting the numbers after you copy from a subtotal list?
View 9 Replies
View Related
Oct 7, 2009
I want to input numbers into a master sheet by having it referenced to a name. For example; I will be inputting a report on monthly sales, which contains a company name, and then a value. However, this report doesn't always necessarily contain all the companies listed on the master. I want to simply put this report on a page, and have the referencing pull the numebrs to the approriate company on the master page.
In the attachment - I want the numbers from Sheet 2 to be entered into their appropriate match in the Master sheet (sheet 1) - without copy and pasting (becuase in reality, I have 200+ company names and numers I'm dealing with).
View 3 Replies
View Related
Mar 18, 2008
I need to take every 4th data point from an array of several hundred (col A) and place the reduced array in a new column (col B). I initially tried approaching this in VBA and then tried excel, but to keep it simple i won't show the code that didn't work.
Col A Col B
5.001 5.001
5.002 5.802
5.001 5.951
5.003
5.802
5.805
5.801
5.804
6.951
6.950
6.952
6.951
View 3 Replies
View Related
Feb 5, 2007
way to do this but i have a sheet that is into 5 - 6 thous rows, in one of the columns (names) i sort it by names and then order it by subtotal for certain values.
What i need to know, is there anyway i can take just the subtotal values out and put onto another spreadsheet without copying and pasting it all as there are lots of subtotals and this would help alot as the other info is not nec. just the subtotal'd info. either that or is there anyway i can highlight the subtotal'd row info in yellow/bold text anything like that that would make it stand out without having to do it manually?
View 12 Replies
View Related
Oct 23, 2008
I’m trying to get my sheet so that at each change in month it creates a sum of the value but I want to sum to show up in the subtotal value column.....
View 10 Replies
View Related
Apr 3, 2009
Trying to do a Subtotal in VBA...
View 13 Replies
View Related
May 10, 2007
I seem to be experiencing a problem using the SUBTOTAL formula. Is it not possible to use subtotal in a running command? ie [A2] = SUBTOTAL(102,A$1:A1) then drag for a couple cells vertically. "0" is displayed for ALL dragged cells.
View 9 Replies
View Related
Jun 2, 2007
I am trying to sum the subtotal on a range eg A1:A10 but I want to total up only the Absolute value of the visible cells.
View 9 Replies
View Related
Jan 13, 2007
I have a table of 3 coulmns :
(A) branches codes ( 1,2,3,4,5.......)
(B) names
(C) values
I want to put a formula in coulmn (D) cells to calculate the subtotal of coulmn (C) next to the last time each code appears in coulmn (A)
View 7 Replies
View Related
Dec 26, 2007
I am wondering if it is possible to do a subtotal and then name each subtotal with a range name to use in a formula on another sheet?
View 2 Replies
View Related
Oct 15, 2008
I am trying to bring back the the first entry on a filtered col
i.e. a list would be
Ryan
Paul
Steve
Steve
Ryan
Paul
If i filtered on Ryan. I want my reference cell to = Ryan
View 2 Replies
View Related
Apr 30, 2009
I am subtotalling a range of data and the very last subtotal row appears about 70 rows away from the other data and then has the GrandTotal underneath.
View 2 Replies
View Related
Jan 5, 2010
I tried "googling" this, but I can't seem to find an answer. Is there a way in VBA to refer to the "subtotal" row(s) in a sheet? I have a large sheet that has a varied number of rows. Each month the data changes and I have to go in to the report, subtotal by one column and then enter a specific formula into the subtotal row.
Is there a way to reference the subtotal row in VBA so I can write a macro that will do this all for me? There are typically a varied number of subtotal rows and the locations of them change depending on the amount of data we have each month.
View 12 Replies
View Related
Mar 18, 2007
I have a spreadsheet that has columns for "Invoice Number," "Order Number," "Invoice Date" (DD/MM/YYYY), & "Amount." It is formatted using a macro.
I need macro code that will group all invoices by month and subtotal each month, then put a grand total at the bottom. Also a blank row needs to seperate each month.
View 10 Replies
View Related
Sep 11, 2009
What i would like to be able to do is subtotal all the sheets (Approx 190 Sheets) with subtotals in Column I and (K to AA) with each change in Column D Period reference D3 till the bottom the data is entered. As an example i have attached a sample with one sheet 77001 showing what result i would like.
View 7 Replies
View Related
Dec 13, 2007
I have added subtotals to a worksheet, as I have many times before, but this time I don't see any controls off to the left. I am at a loss as to why this might be happening or how to get them to display. Have I toggled something off or on that might be causing this?
View 4 Replies
View Related
Jan 15, 2009
I a formula in one of my cells so that when the data is filtered it will add up all the cells that have a yes in them. However I'm getting an error. If I use the countif formula it still adds all the cells with yes that are not in the filter selection.
View 4 Replies
View Related
Jul 31, 2012
I have a sheet with 8 columns.
I am using VBA to get the data from a larger worksheet.
Is there a way to get 2 subtotals in the sheet with only the 8 columns.
I have grouped this data by date (column 1) and used SUM on Column 8 to get the subtotals of each group.
I would also like to get the COUNT of the items of each groups by using Column 3 (it has alphanumeric data in it) - at the same time. Is this possible?
If not, how would I be able to get the COUNT without wiping out the SUM subtotals? This has to be done with VBA of course.
View 2 Replies
View Related
Aug 3, 2012
Is there a way to get median for a subtotal?
median(SUBTOTAL(1,G7:G1747)) is not working.
View 9 Replies
View Related
Feb 26, 2008
1) I have an a list of transactions (multiple lines per day / per item - variable count of lines) that add up to form daily profit.
2) I want a count of the profitable days (i.e. where the sum of (1) above is +ve) and conversely a count of losing days (i.e. where the sum of (1) above is -ve)
3) My existing SUMPRODUCT formula "=SUMPRODUCT(((InputAcctDest=$A8)*((LEFT(InputCalc,3)="ALL")+(LEFT(InputCalc,3)="TRD"))*(MID(InputCalc,21,15)>0)))" simply produces a count of the positive numbers, not a count of the subtotal per day when such total is positive.
View 9 Replies
View Related
Feb 16, 2009
=mode(x#:x#) will give the most frequently ocurring value in the range.
But I want to be able to use mode like subtotal where it will show only the most frequent value within the filtered list...
View 9 Replies
View Related
Oct 26, 2006
I have a large spreadsheet with production numbers on it. The sheet shows the day and time that each run starts and the day and time that each run ends. It also shows the usage of a raw material that each run consumes. What i need to do is figure out how the usage per day not usage per run. Until now i have been doing it manually and with all the data i have, it has taken 4-5 hours each time we need to update our usage. If it makes it any easier, the hours can be rounded - so long as the usage stays the same. (ie. if a run starts 5 min before midnight, we can assume it starts at midnight as long as the usage is not reduced fro the run). I have attached a sample of the data so you can see what i am working with.
View 9 Replies
View Related
Nov 21, 2006
Having n issue explaining a statement to a customer. I want to list his incoming payments and invoices in an Excel sheet. So going in order of the statement I'll list the in and outs but I would like a subtotal under each transaction so he can follow easier. Example
$68,920.77
Subtotal $68,920.77
$13,812.43
Subtotal $82,733.20
$12,563.14
Subtotal $95,296.34
$(20,000.00)
Subtotal $75,926.34
Is this possible using the subtotal command? Here is what I'm getting
$68,920.77
$68,920.77 Total $68,920.77
$13,812.43
$13,812.43 Total $13,812.43
$12,563.14
$12,563.14 Total $12,563.14
$(20,000.00)
$(20,000.00) Total $(20,000.00)
View 3 Replies
View Related
Jun 26, 2007
I have a report with sales YTD. I need to split it by weeks (incremental YTD) so I can use the subtotals to create a graph showing how we’re getting close to our goal for the year. To be clearer, what I mean by incremental is creating a YTD by week column like shown below.
Week#SalesYTD
Week1$250,000
Week2$200,000$450,000
Week3$350,000$800,000
The report gives me daily invoices and the amount as shown below
Inv DateExt. Cost
4/1/2007$389.25
4/2/2007$5,266.83
4/5/2007$57.63
4/3/2007$164.15
4/3/2007$283.61
4/5/2007$32.12
4/4/2007$518.25
4/8/2007$2,309.80
4/8/2007$2,887.25
4/2/2007$150.90
4/8/2007$2,046.75
View 7 Replies
View Related
Dec 3, 2007
I have an excel workbook which contains two sheets. Sheet 1 contains a list of items. I need to search for each of these items in sheet 2 and sum up the 'base price' and enter into column B of sheet 1. So basically
1. I need to pick up the first item in sheet 1.
2. Find the column which contains "Module Name" in sheet 2.
3. Search for the item picked up from sheet 1 in the column which contains "Module Name" in sheet 2.
4. Sum up the "Base Price" for all occurrences and enter this summed value into column B of sheet 1 next to each item.
View 4 Replies
View Related
Mar 9, 2014
I'm running the subtotal function, but for some reason Excel is including first row of next group in one of the groups. The label I am subtotalling on is the result of a formula, but why would that make a difference?
See row 11 and 12 in the attachment : subtotal problem.xlsm‎
View 2 Replies
View Related
Apr 21, 2009
I am using the SUBTOTAL function, with reference value 4 to return the max value from a filtered list.
What I'd like to be able to do is return the values of cells on the same row of the returned max value. Effectively if I can extract, somehow, the row number of the row where the max value exists, then I can use that to get the rest, but I'm at a loss as to how to do this,
View 14 Replies
View Related