Dividing Column In Equal Parts?
Sep 15, 2014
Dividing column in equal parts divide a column in groups with the same rows and the same total sum? For example, I have the column A as following:
8,942
2,807
2,568
5,818
5,818
596
8,942
4,390
1,607
890
8,772
1,103
The total number of rows is 12 and total amount is 52,254
I want to divide the column in three equal parts with the same total. So each group must contain 4 rows with the total sum 17,418
View 9 Replies
ADVERTISEMENT
May 23, 2006
Have a list of information and would like to divide that list by a number that the user enters. Then from the total count of nonblank rows divide by the numeber entered by the user didive the list into equal parts and print out each group with a page break per groups.
Have attached an example.
View 6 Replies
View Related
May 23, 2006
Have a list of information and would like to divide that list by a number that the user enters. Then from the total count of nonblank rows divide by the numeber entered by the user didive the list into equal parts and print out each group with a page break per groups. Have attached an example.
View 4 Replies
View Related
Mar 10, 2014
I need to distribute a list of data into 10 even groups of data. Here is the scenario.
I have 10 salespeople on my team with a list of accounts that need to be evenly distributed based on two criteria
- Each sales person needs to have the same number of zipcodes , with the closest TOTAL # of accounts and TOTAL $ value as possible
View 6 Replies
View Related
Dec 21, 2006
I have a document needed to be printed with some pages in the middle in landscape page type, the rest in portrait. If using Word it would be easier, but in Excel I cant find the section break to chage page setup separately. Is there anyway to do it. Currently I'm printing the document separately in portrait and then landscape with some page break added and page number modified. However it's quite troublesome and easy to make mistake.
View 3 Replies
View Related
Jun 29, 2008
I'm trying to count if there are situations where column a is equal to a specific number and column b is equal to another number.
both columns are numbers. Does anybody have a good idea how to do this, maybe countif, but i am not sure how to do more than one item with that.
View 9 Replies
View Related
Dec 10, 2008
I have a spreadsheet with 2 worksheets. On the first "active parts" I have a list of active part numbers and on the second "All Parts" I have all of the parts available.
I want to compare every part in the All Parts worksheet to see if the part number exists on the Active Parts sheet - if it's there, I would like it to return the value "Active" in column B in All Parts. I have a formula in column B in All Parts that seems to work for the first few, but as soon as it finds one that is active, the rest of the cells below all return "Active".
View 3 Replies
View Related
Nov 28, 2012
Question is this, "can a single cell in a column be divided into two parts?"
View 14 Replies
View Related
Nov 26, 2008
I am using Excel 2008 for Mac. I have a spreadsheet that I am essentially using as a simple cheque ledger so that I can keep track of who I have written cheques to, for what amount, and what has already cleared. I have a the following columns:
Name
Date Written
Cheque Amount
Cleared?
In the 'Cleared?' column I mark an X when it has cleared the bank. I'm trying to find a way to get the SUM of the whole 'Cheque Amount' column that hasn't cleared (ie: has nothing in the 'cleared' column).
View 3 Replies
View Related
Apr 25, 2014
For column "B" count all the 1's if column header is equal to name in column A.
For Column "C" needs to be checked if a value was filled in column "I" if yes then check if in column "L" has a value, count all these values.
View 5 Replies
View Related
Dec 6, 2013
I need to look up the name in E2 in the list in column A and if it matches then lookup name in F2 in list column b, if it matches then the corresponding number in column C is displayed in column G. If neither names are in the 2 columns the words"Not on lists" is displayed in cell in column G.
The other problem is one name is spelled two different ways I want it to look for both spelling before moving on to looking up the second name.
I started with this formula but I'm getting #N/A or "not on list" when they are on the list. I'm using ranges prod_sum is columns AthruC, Last_name is range BthruC. =IF(AND(VLOOKUP(F4,prod_sum,3,0),VLOOKUP(I4,last_name,2,0)),"not on list")
View 6 Replies
View Related
Dec 8, 2009
I have a sheet where i want to delete duplicate rows where column A and column B combined are equal, i.e. range(Ax:Bx) where x is the current row. I am using the macro below but cant seem to get it working as I keep getting a type mismatch error and Im not sure why.
View 2 Replies
View Related
Mar 1, 2014
I have sheets with names of people in columns....some married...some not. When they are married, here's a sample format...
Jones, Donald T | Baker, Sarah Jane | Jones, Sarah Jane | Smith, Sarah J | Jones, Sarah Jane Smith
In this example, I would like to be able to determine which of the Sarah's belongs to Donald w/o having to visually look at each record ( 100,000's of records). (FYI: the names for Sarah would/could be her Maiden Name and possibly a name or two from a former marriage). What I need to be able to do is match and extract the names of Jones, Donald T and Jones, Sarah Jane and Jones, Sarah Jane Smith and eliminate Smith, Sarah J and Baker, Sarah Jane.
In my example, Donald is in the first column, but can be in any column on a row so the name positions are random across the columns. However, the format for each column is then same...Last Name, First Name Middle Name(or Initial) with a comma always after the last name in each column. The length of the last name also varies.
VBA or Formula that will search the cells in the columns of each row and return the names (complete contents of the cells with matching last names) that have a matching last name for that row.
View 3 Replies
View Related
Mar 11, 2013
The following code doesn't seem to work for me except when I use an actual number.
Set MR = Range("A1:A100")
For Each cell In MR
If cell.Value = "*3L*" Then cell.EntireRow.Font.Bold = True
Next
I am attempting to bold the entire row if the macro finds text that begins with 3L in a tab. If I change the code to look for a number, then it works fine.
Also - Is there a way to make this run on specified tabs? For instance, if I have four tabs:
January
February
March
Q1
Say I only want it to run on the January, March, and Q1 tab, how would I go about doing that?
View 2 Replies
View Related
Apr 27, 2004
=COUNTIF(A19:A28,(AND(B19:B28="YES",C19:C28=5)))
What is wrong with my formula above? I am trying to count Colunm A if the value of Column B is "YES" and Column C is equal to "5".
View 8 Replies
View Related
Jun 3, 2014
I have a table full of phone numbers and call durations.
In A2:A6160, I have 162 different phone numbers and in U2:U6160, I have the call durations for calls made to those numbers.
In a separate spreadsheet, I have each number listed in Column A and in Column D, I want to display the average call duration for each of the numbers.
View 3 Replies
View Related
Dec 23, 2013
I am working on a proforma statement, REFER THE ATTACHMENT
A B C D E F G H I J Q
1 jun'14 jun'14 jun'14 jul'14 jul'14 jul'14 Aug'14 Aug'14 Aug'14
2 beg. Inv Purchas Unit Sold Beg. Inv Purchas Unit Sold Beg. Inv Purchas Unit Sold
3 foundation 4 10 11 3 15 13 5 16 18
4 Lipstick 4 10 11 3 15 13 5 16 18
5 Shimmer 4 10 11 3 15 13 5 16 18
6 Powders 4 10 11 3 15 13 5 16 18
7 Nail Lacquer 4 10 11 3 15 13 5 16 18
8 Eye Shadows 4 10 11 3 15 13 5 16 18
9
10
11 Total Purchase for june to aug 2014
12 Foundation ??
this is just an small sample of what i am working on i have got purchases, cogs and ending invenory for 2 years Products wise i want to add purchases for the particular product.
i.e. if for above data i want to find out the foundation purchased through june 2014 to aug 2014 what will be the formula
View 4 Replies
View Related
Apr 26, 2009
This formula in E1 has worked before. I have attached an example, in reality Column A and B have 2000 rows and column D about 250 randomized numbers out of Column B that need to be paired with their equal in Column A.
View 4 Replies
View Related
Oct 12, 2009
I need to apply two criteria to a COUNTIF. Eg, I need to count if one column is equal to "N" and another column is equal to "N/A", taking both criteria into account. At the moment it seems to knock one out when I try applying both!
View 9 Replies
View Related
Jan 18, 2014
I need to divide Cell A1 by another cell in same row but different column. The column number will be based on a reference cell. If ref cell =6 then formula would be A1/a6. Seems simple and more than one way to do it via cell formula. I will be copying and filling this formula down many rows, but cell reference will remain fixed for all.
View 1 Replies
View Related
Nov 13, 2013
I have three columns: Symbol, Dividend Payment, and Shares.
What formula will look at the shares column and symbol column and say if cells in column C are equal each other & cells in Column A are equal to each other than add all the div payment that correspond with those symbols and shares?
A
B
C
D
1
Symbol
Dividend Payment
Shares
Sum (Formula would go here)
2
SEB
.75
23
3
SEB
.75
23
(result desired) 1.5 (B2+B3) because (add the dividend where their symbol (A2&A3)and shares (C2&C3)are equal) both conditions have to apply to add div payment
[Code] ......
View 3 Replies
View Related
Dec 24, 2008
I need to group all records where the values in column A are equal. BUT I needed them sorted by another column (the whole sheet, not just within each group). Currently, all of the values in column A are listed in random order. Is there any way to do this manually?
to elaborate a bit further, consider the following:
Columns: A-B-C-etc.
1-Z...
1-X...
4-X
3-Y
4-Y
2-Z
Basically, I need to group all of the "1"'s and all of the "4"'s so that the extra values will show underneath the other. HOWEVER, I need them to be sorted such that the order in which they appear are XYZ. So the goal would be:
1-X
1-Z
4-X
4-Y
3-Y
2-Z
View 9 Replies
View Related
May 14, 2009
Starting in cell F3, if Column F is greater than or equal to zero, delete the entire row and continue deleting rows until Column A has contents in it. Then go to Column F in that same row that had contents in Column A, if the contents in that row of Column F are greater than or equal to zero, delete the entire row and continue deleting rows until Column A has contents in it. Persist with this pattern until every row in Column F has been checked.
View 4 Replies
View Related
Dec 3, 2012
I need automatically deleting of whole row based on cell value, if value of cell which is in h:mm format, is less than or equal to 2:00 (h:mm)
So far I got.
Code:
Sub FillDownFormula()
Code:
Range("L2").Formula = "=RC[-3]-RC[-2]"
Range("L3").Select
Columns("l:l").Select
Selection.NumberFormat = "h:mm"
Dim rng As Range
[Code] .........
View 2 Replies
View Related
Jun 6, 2006
I am trying to do is erase the entire row if column J is equal to 1205. I have made an attempt which is shown below, but I am no where near a VBA programmer, yet.
Sub Softrak_Format()
Rows("1:2").Select
Selection.Delete Shift:=xlUp
Cells.Select
With Selection
.WrapText = False
.Orientation = 0
.AddIndent = False
.ShrinkToFit = False
.ReadingOrder = xlContext
.MergeCells = False........................
View 4 Replies
View Related
Jun 8, 2014
I would like to create a formula that will sort the numbers in column B, there are also equal numbers in this column
The difficult part is that there is text in column A, and is linked to the numbers
So if numbers are sorted the names should be sorted in the same way as well.
View 3 Replies
View Related
Dec 24, 2013
I have 2 sheets with thousands of clients. One has client contact information and one revenue. I was able to put the 4 columns on 1 sheet. I need a formula that will say if the value of the client name columns match, (Client name) then return the value in the third column (revenue).
One other question, b/c i copied from a pivot table, i have the client name and their email address below in a separate row. Ideally i would have the client their contact and their revenue in 3 columns next to each other. Is there an easy way to bulk move the email address from the row below the column to the column next to the client name?
View 7 Replies
View Related
Jun 11, 2014
Need a Macro to delete all rows containing values less than or equal 300 in column A
View 5 Replies
View Related
May 7, 2014
I need an easy code that searches all of column A and deletes the entire row if the cell has the value "-". It needs to find the last row of data using something like LastRow = Range("A" & Rows.Count).End(xlUp).Row
View 4 Replies
View Related
Jan 17, 2013
I'd like all Cells in column AC (e.g. AC$3$:AC$517$) to be filled with yellow fill if the cell value is any date greater than or equal to today. Any past dates can be left blank (for now)
=$AC3>=TODAY()
View 3 Replies
View Related