Totalling Random Amounts Of Rows
Aug 9, 2006
I have a 1500 row spreadsheet that will change every month. It's set up in three columns Name, Amount, Total. The Total column is supposed to hold the total of all the rows with the same name field. I.e.
4445-8889 12
4445-8889 8 20
5598-7785 10
5598-7785 10
5598-7785 20 40
The problem is that the number of identical named rows is different for each name and changes each month. I want to build a macro that will out the correct total in the last column of the last entry with the same name.
View 8 Replies
ADVERTISEMENT
Oct 15, 2008
My company works 24/7 and with that some people on nights starting prior to midnight and then finishing after. Of course the "regular" formula works well in calculating between 00:00 onwards but I am getting an error when for instance the person starts at 20:00 and finishes at 04:00. I have tried numerous ways but still the error persists.
View 5 Replies
View Related
Apr 8, 2009
The problem I am having is that I would like to total using the VLOOKUP (or any other command, which i do not know off). Here is the scenario
I have two sheets.
In sheet 1 have:
Column A with the weeks (date).
Column B with numbers.
Column C with numbers.
In sheet 2 I have:
Cell A1 with the date (which I type in)
Cell A2 displays the number (according to the date that I have typed in Cell A1)
In Cell A5 I would like to display the total. If in Cell A1. I type 13/04/09 it would total 30 (06/04/09 & 13/04/09). I have attached a spreadsheet for reference.
View 2 Replies
View Related
Oct 19, 2006
On my spreadsheet I'm after a formula for cells E2 and F2 that I can drag down and it automatically populates the cells relevent to the day with the total hours for the Sessions (E2) and the total hours per day (F2). Hope this makes sense, but I'm sure you'll gather want I mean from the spreadsheet.
View 9 Replies
View Related
Jan 6, 2009
I am currently building a data sheet using VLOOKUP. When there is no data to lookup it returns #N/A, which is fine. The problem is when I go to total these columns because of the NA it returns NA in the total box. Having tried the if isna formula I am now returning #VALUE!. I may be doing the IF ISNA formula wrong.
View 4 Replies
View Related
Apr 8, 2009
I have 3 columns of data and am using an autofilter to sort it. At the bottom I have a formula =subtotal(9,cells requested) which magically shows me the sum of the data showing only (excludes all the figures which are hidden - it's fabulous). However I was wondering if it is possible to have the same formula but to count the number of things shown instead of sum and another to average.
View 3 Replies
View Related
Sep 27, 2009
I have two columns for a Home and an Away win-loss records for a team over a few seasons. The win-loss stats in each column are in the form 24-13 (2-two digit numbers with a hyphen in between). How can I get a total at the bottom of the column for all the win-losses?
View 9 Replies
View Related
Dec 4, 2006
I want to total column A & total column C but only if there is an amount in both cells on the same row
Can I do this with an array?
Do the columns have to be adjacent? I could make them if necessary.
Data
A C
11 12
21 0
0 17
15 15
11 9
in this example we exclude rows 2 & 3 from the total because one cell contains zero or is blank.
Total Column A = 37 (11+15+11)
Total Column C = 36 (12+15+9)
View 11 Replies
View Related
Apr 22, 2009
I'm currently working on a summary page for the defects in the building we are working on.
I've done up a summary page which reference's cells in other sheets which contain a TEXT(COUNT formula. When I goto SUM these referenced cells in my summary page I keep getting it returning '0'.
Example of what I'm doing:-
Defects Column in Summary Page
411 --> referenced from =Basements!L1 --> L1 contains =TEXT(COUNT($C$8:$C$100),"0") formula
56 --> referenced from =Level1!L1 --> L1 contains =TEXT(COUNT($C$8:$C$100),"0") formula
33 --> referenced from =Level2!L1 --> L1 contains =TEXT(COUNT($C$8:$C$100),"0") formula
When I go to do a simple SUM of 411,56,33 via =SUM(D3:D5) it returns a zero?
View 6 Replies
View Related
Jun 2, 2006
I've included a spreadsheet that show what Im trying end up with. Im looking to have a sheet that has a item indentification number along with a title and value. I would like to come up with a macro or formula that organizes the items by that identification number and totals them.
View 4 Replies
View Related
Jul 1, 2006
I work in HR MI and am compiling an equality spreadsheet. Out of everyone who is on the list I want to see how many men and women we have which I have figured out using = SUMIF(GENDER,"MALE",NUMBER) but from that I want to say theres 50 male in total and out of that 30 are White and 20 are Indian. Is there anything I can add to this formula so it looks at more than two defined sets of information??
View 2 Replies
View Related
Jun 13, 2007
I have 2 columns of raw data. With
column one containing the document Names.
and column two containing the document titles
i.e
Column 1
Doc 1
Doc 1b
Doc 2b
Doc 3
Doc 10
Doc 11.5
Column 2
Manual 1
Manual 1
Manual 1
Manual 2
Manual 2
manual 3
Manual 4
I am looking to be able to reform this information on another sheet to look like this :-
Column 1
Manual 1
Doc 1
Doc 1b
Doc 2b
Manual 2
Doc 3
Doc 10
Manual 3
Doc 11.5
Manual 4
Now I have created an addional column on an other sheet which checks for the row number where a new manual appears. and I have made this look like the row I would like to insert.
The idea i have is to use the above Numbers and the row itself and insert it in to the formated report (working from the bottom though). With this doen for each manual name change.
the number of Documents per manual can vary....
how to write the marco for this
View 9 Replies
View Related
Mar 30, 2009
I need the selected rows to be displayed on a new sheet. The idea being that I have a quiz with hundreds of questions and I only want a random selection to appear when I execute the macro. I plan on hiding the original questions and only displaying the randomly selected ones.
Here is the original code from the previous post.
View 14 Replies
View Related
Apr 15, 2009
My sub is supposed to take the values from Sheet1 and paste them into 16x10 tables on Sheet2. However, for some odd reason, the loop is skipping some rows. If you take a look, there are 2184 values in Sheet1, but only 1368 end up in Sheet2...SKUs such as 518166,518167,510573,513746,513752 are just being skipped for no reason.
View 2 Replies
View Related
Oct 4, 2009
I've coded a macro that can randomly sample out rows of data from a sheet. This macro is used to sample out certain rows from a master sheet full of data (which has 48 columns) based on user names (a column titled LAST_UPDATE_NAME). For Example (ref. wkb attached), if for 5 users named Alastor, Catherine, Emma, Julie and Victor for whom i've to choose data from the Dump sheet.
I need to design a module in which if i input the no. of samples to be chosen against each name, then that many number of rows has to be chosen for that particular name and copied to a new sheet (probably such sheets can be renamed with the usernames). Also i want to consolidate the copied data from the multiple sheets and consolidate them to one sheet.
View 4 Replies
View Related
Mar 23, 2012
I have 800 rows of patient information, I need to sample 70 patients. I used the Random.org randomizer to get my 70 patients. That randomizer only gives me the line numbers such as 1, 8, 23, 45, 70, etc. I then need to go to Excel and just pick out the patients on those lines I was given above. Is there an easy way in Excel to have my spreadsheet of the 800 rows and create a (simple) calculation that will pick out the line numbers that I need all at once, so I do not have to go thru manually and choose the data from row 1, 8, 23, 45 etc to make my new spreadsheet with only my sample patients on it. OR is there a easy way to pick 70 random lines from a spreasheet..
View 1 Replies
View Related
Feb 19, 2014
I need generating 40 rows (Columns of 17 (Columns A - Q) Random numbers (1 to 5) that will sum to specific values (60, 55..) in R Column, and to regenerate it on pressing any key.
The same has been done for one value in [URL] ..... but I need it for a set.
View 5 Replies
View Related
Apr 6, 2009
I am copying various rows from one spreadsheet to another (sheet3) and would like to total one of the columns. The trouble is that since I don't know how many rows there will be I am having trouble inserting a formula that will work. I am sure that there must be a simple solution but I can't seem to find it.
View 2 Replies
View Related
Sep 18, 2009
I am working on a Random Cycle Count Generator that provides random SKU#s based on 3 separate columns of SKU listings. The user clicks a button to generate the SKU#s to cycle count for that day. What I would like to see is a date stamp in the columns next(B,D,F) to the referenced SKU listing(A,C,E) based on which SKU#s are generated. This will let me see the last date that the SKU was generated. I would also like it to automatically save after generating.
View 2 Replies
View Related
Feb 26, 2009
I M doing SUMIF correct on the below but it seems not to be adding up correctly. Can anyone point me in the direction of where I'm going wrong?
What I am trying to do is sum up the amounts in D if A equals C, as you can see in C their are numbers that appear twice so I don't know if this is a problem. I thought the sum =SUMIF(D:D,L:L,M:M) would sort this but the value I get for 59846(A) is 3665 which is on number 66336(C) so obviously doesn't match as this should be 1211.25........
View 9 Replies
View Related
Jan 12, 2010
This year we need to display 2 types of VAT in every invoice. So any listed product in the invoice could have either 5% VAT or 18% VAT depending on its category. At the end of the invoice i need to separately express (show) the total for 5% VAT and total for 18% VAT.
View 3 Replies
View Related
Apr 17, 2009
I can use help creating the following forumla.
In column "A" I have Dates of Variances. In column "E" I have the variances for those dates.
On another sheet I need variances between certain dates. For example, get all variances between the dates 03/28/09 - 04/28/09.
View 14 Replies
View Related
Apr 7, 2014
How to write a macro that will sum daily figures into monthly figures? On the attached spreadsheet I would like to take the daily figures on the amounts on the VRU DAILY worksheet and sum them in the appropriate month on the VRU # sheet.
View 14 Replies
View Related
Nov 13, 2008
For example: I have a spreadsheet with a column that has numbers such as 48600. When I go to format it into currency, etc. I select the decimal to move 2 places. Although it keeps giving me $48,600.00. I dont want that. I want it to put $486.00.
When I try to increase or decrease a decimal, it wont do anything until I have a decimal already in the number. So then I took 48600.00 and tried to increase/decrease the decimal, but it gives me either 48600.00000 or 48600. What I need is to make my number 48600 $486.00
View 2 Replies
View Related
Jan 12, 2010
I am extracting amounts from one page to another with eg = 'Oct09'!P9,
if there nothing in that line it returns a $ -
If 'Oct09'P10, has say $10.00, then it returns $10.00.
How do I go about getting rid of the $ - and leaving it blank?
View 9 Replies
View Related
Mar 8, 2008
currently have this: = SUMIF(D8:E8: F8:G8:H8,1,D29:E29:F29:G29:H29)
Range is multiple rows
need to get to here:
"multiple" Criteria needs to be able to multiply amount in sum range when greater than 1 and then summed in column I, across each row, then totaled at bottom of column I.
I realize sumif won't suffice.
View 4 Replies
View Related
Feb 12, 2014
I have some sales records that contain GBP payments, along with AUR, USD and EUR.
The GBP payments are not a problem, but a formula which could automatically convert AUR, USD and EUR into GBP payments would save a lot of time and reduce any chance of errors.
I have attached an example of the current layout.
Ultimately, I would like to put the sale in it's GBP amount where the boxes are blank & then a formula that detects either
A) If Original currency (the F column) is not GBP, then multiply the amount in the C column by whatever the exchange rate is in the G column.
B) If the exchange rate column G, has anything other than N/A, then multiply this by the amount in column C.
So, if the original currency in column F is in GBP, then I can enter data into the C column, and it will not change, however if the original currency in column F is not GBP, I would like the data in column C to change.
View 3 Replies
View Related
Jun 16, 2014
I am looking for a method to count the number of amounts in an addition.
For example, let's assume that A1 contains 354.92+29+84.7+45 That addition contains a total of four different amounts that have been added So, I am looking for a formula that will display the total number of amounts (4) in a different cell.
Another example:
A1 -> 75+9+237
A2 should show -> 3
View 7 Replies
View Related
Nov 12, 2008
I have a total $$ amount in one cell. Using this $$ amount I need to populate two other cells. One that is divisble by $10,000 and the remainder would populate the other cell. In the attached excel file I made notes to this effect.
If the $ amount in cell A3 is $83,000 I would need $80,000 to populate cell C3 and the remainder $3,000 to populate D3. If the $ amount in cell A3 was less than $10,000 such as $5,000 then only D3 would be populated.
View 5 Replies
View Related
Feb 22, 2013
Column A: List of document numbers
Column B: List of amounts
A B
111 $5.00
222 $10.00
111 $5.00
222 $15.00
I need to merge all equal document numbers so that it shows the full amount on that document number. It needs look like this in the end:
A B
111 $10.00
222 $25.00
I realize a pivot table will do this but the formatting of a pivot table will not work with what I am ultimately trying to do.
View 7 Replies
View Related