# Dividing A List Into Equal Parts?

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
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 4 Replies
View Related
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
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
Jul 12, 2013

I'm looking to find a way to get the total quantity of parts that are found in a separate list.

Part Number: Sheet "Desired BOM", Col A

Quantity: Sheet "Desired BOM", Col E

List of part numbers to search: Sheet "Parts List", Col A

The column of part numbers on Sheet A is variable, as is the list of part numbers on Sheet2. I have attached an example file, but be aware that whatever method that comes of this will be used with many parts, so the simply using the description to total everything won't work (i.e., matching "2D" or "3D" between lists).

View 3 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
May 26, 2013

I would like to be able to choose a Size from a drop down list.

After choosing the size, the Parts and Price records (rows of data) will populate below a few cells.

I will manually insert the Quantity amount of items I need,

This will calculate the total from the cells (price & Qty).

View 7 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
Aug 4, 2014

I have a table of projects with 1) duration in year, 2) time window (number of years of our planning cycle), and 3) start year of the project. I want to generate a list of project parts of all projects where they may take place. This will serve as an input to an optimization program.

So a project of 2-year duration should have 2 parts over any year within the time window. I am including the "impossible" ones for my developer to tag them as "0" when we run it through his code.

View 5 Replies
View Related
Oct 7, 2005

I have list of dollar amounts given to me and a general ledger sum which some of those in the list must equal. How can I determine which of these amounts will equal a given ledger total?

View 12 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
Nov 2, 2011

I have a list of 600 figures (this may vary) but i need a formula that will look a one particular figure in this list and return if it is one of 5 equal groups. e.g in this example the lowest 125 figures in numeric order would be in group 1 up to the highest 125 figures would be in group 5.

I realise if I limit it to 4 groups then i could use the 'quartile' functions but i am stuck with 5 groups.

View 3 Replies
View Related
Dec 16, 2013

I have an excel worksheet with about 10K rows of data in column A.

I have also another list of data, about 200 rows of data, in column G.

I need to color each cell in column A that contains, anywere in the string, any of the data strings in column G.

Example:

in column A

row 1: info@duende.com

row 2: rasko@silvester.com

row 3: supportonline@fabius.com

row 4: myhelp@friday.com

in column G:

row 1: help

row 2: info

row 3: support

I need rows 1, 3 and 4 in column A to be colored.

View 9 Replies
View Related
Oct 15, 2012

I have 3 rows with numbers across several columns, each cell holding one number only. For example:

R1: 1101 - 1102 - 1103 - 1104 - etc.

R2: 2101 - 2102 - 2103 - 2104 - etc.

R3: 3101 - 3102 - 3103 - 3104 - etc.

A little further down I am having a list where the end user will write down the exact same number. Once the same number has been written into the list, I would like the number shown in the top rows (row 1 to 3) to be highlighted in green, basically telling the user that the number has been entered into the list below and is ok now.

How can I manage this via conditional formatting?

View 3 Replies
View Related
Jul 5, 2007

I'm having trouble with a small vba macro. At the end of the macro I test to see if two variables are equal and then print out true or false. However, for some reason even though the variables are equal vba is not treating them that way. I have put the values that represent the variables on a spreadsheet and used the if(x1=x2) formula and it says it is true, also, when I debug the macro and watch the values when it comes to test the logical expression the numbers are the same. I don't understand why vba does not say that the two variables are equal. I have attached a screenshot of the breakpoint where I double check the values are equal.

View 2 Replies
View Related
Jul 15, 2009

I have two cells, both of which have drop down lists for options 'a' & 'b'. When one equals 'a' the other should be restricted into only saying 'b' and vice versa. I would also like the user to be reminded that he can only select 'a' once from the two menus. Ideally I would like to do this in a formula rather than VBA?

View 2 Replies
View Related
Oct 6, 2007

I have a list of P/N's that are used in more then one location. and it's sorted by P/N's.

ColA__ColB__ColC

______Loc___PN

______1_____A

______2_____A

______3_____B

______4_____C

______5_____C

I Want to be able to put in Col A the concatenate results of all equal P/N's from any given list. Or at least select the few cells that i know are duplicates and from that copy the Location to a single Column.

ColA ColB__ColC

______Loc__PN

1,2____1___A

_______2___A

_______3___B

4,5____4___C

_______5___C

View 5 Replies
View Related
Jan 29, 2009

Need to divide a cell containing a time value (hrs:mins:secs). My timesheets calculates the number of hours on a job and I want to divide this total by the number of components made.

View 7 Replies
View Related
Jun 24, 2014

How to do the following?

When dividing two cells and the answer is zero then I want to return a different value. I've tried the following with no luck:

=IF(ISERR($D20),"*",$G20/$G$22*100)

or

=IF($H19,$G19/$G$22*100,"-")

=if a1/b1 = 0 then "*", else return actual value

(N)(%)

64 13

82 16

82 16

2 0 --> change this to * or -

264 52

13 3

507(total)

View 9 Replies
View Related
Apr 6, 2009

I have a total at the bottom of my spreadsheet and I want to distribute that total equaly to the missing columns for each month and each product highlighted in green in the spreadsheet. What formula do I need to use to be able to do that?

At the end I want the numbers in each month to total the total at the bottom.

View 10 Replies
View Related
Sep 6, 2006

I've found how to present time exceeding a minute in seconds ([m]:ss.00), but I need to formulate items per second. Doing simply CellItem / CellTime won't work. I've tried Minute(CellTime)*60+Second(CellTime), but this leaves out the hundreds of a second.

View 3 Replies
View Related
Jul 26, 2014

V = 100 x [E /(IY + YP)] x Sqr. [((R + G)/2 / (IY + YP + F)]

V = 100 x [6.10 /(5.60)] x Sqr. [((10.2+2)/2 / (5.60 + 2.1]

V = 108.93 x Sqr (.79)

V = $96.89 / share as of 7/18/2014

E = Earnings in $ / share 6.1 (b9)

IY = Interest rate in % 5.6 (b10)

R = Profitability Factor in % (internal growth rate)10.2 (b11)

G = Earnings Growth in % / yr. 2 (b12)

F = Inflation Rate in % / yr. 2.1 (b13)

Here's what I have, result should be $96.89, I need to tell excel to take square root of everything to the right not just (B11+ B12)

=100*(+B9/B10)*SQRT(B11+B12)/2/(B10+B13)

View 3 Replies
View Related
Jan 24, 2014

I'm not sure if it's just been a long week but I can't get get the following to work in a sum formula.

In the example below I want to deduct B1 from A1 and then Divide by C1. The result should be 0.57 but I can't get to it within 1 formula.

9:49:12 - 6:18:46 = 3:30:26 / 2 = 0.57!!! Not sure if it's because I'm using unfriendly hh:mm:ss format but I need to.

A1 - 9:49:12

B1 - 6:18:46

C1 - 2

View 5 Replies
View Related
Feb 10, 2014

Cell A1 contains 2, B1=220077:23

In C1 I created a function = (2*1000)/B1, I get error. I want the answer 2000/220077h23m = 0.009087713

View 5 Replies
View Related
Nov 5, 2008

how could divide one single cell in diagonal direction ?? without using line from drawing tool.

View 12 Replies
View Related
Jan 25, 2009

A given string of some letters (from three to five, six) is followed by a single number (1-4). Then it ends, or is followed by another such combination, up to a maximum of, let's say, four.

Example:

xxxx1

yyy3yyyy1

xyzxx1yxz4xzx1

xxx2xxx2xxx2xxx2

What I would like to do is to divide a given chain of characters into the smallest chains which contain only letters and one number. To the examples given above, I'd like to receive the following sets:

xxxx1

yyy3 and yyyy1

xyzxx1 and yxz4 and xzx1

... and so on

Is it somehow possible to do it with simple functions? Or is VB necessary (which sadly I don't know)?

View 6 Replies
View Related
Apr 9, 2009

I am trying to divide a range that has blanks in. The range is the result of a webquery and taking the blanks out would be time consuming at best.

Conveniently (potentially) the blank row is every other row in the range.

View 4 Replies
View Related
Mar 13, 2013

I am attempting to calculate % utilization. I have number of minutes used formatted in [mm]:ss and number of minutes available formatted as a number. When I divide available by minutes used I get a percentage that is off.

So I have Available 33600 minutes available 4901:20 minutes used.

View 2 Replies
View Related
May 23, 2007

Suppose I have the following plan number (24) and I wan't to spread it across 12 columns, as evenly as possible but with respect to rounding.

Easy enough.. Each column receives 2...

Or say the figure was 24.6 and i wanted to round to 2 places...

Easy enough... Each column receives 2.05...

Or say the figure was 24.7 and i wanted to round to 2 places...

Easy enough... Each column receives 2.05... But one would be 2.06!

How about the number is 1 and say, the rounding is 0.1?

Ten of the columns would be .1 while two others (arbitrarily) would be 0.

View 9 Replies
View Related
Apr 15, 2009

In trying to solve my dilema I searched some older threads and found some code written by Peter SSs. I altered it to fit my situation ( or so I thought) because all I get is a compile error. I am not sure why. The data is lengnty but the sorting item is the provider name. The information for each provider should then post to the sheet with his name.

Here is the

Sub test()

Dim lr As Long

Dim ws As Worksheet

Application.EnableEvents = False

Application.ScreenUpdating = False

lr = Sheets("Audit Results").Range("F" & Rows.Count).End(xlUp).Row

For Each ws In ThisWorkbook.Worksheets

View 11 Replies
View Related