Nameless Tables Of Different Sizes Need 20 Rows Inserted Between One Another

Jun 10, 2014

I have a file with a lot of tables of different sizes. The table ranges have not been named. I would like to use a macro to insert 20 blank rows between each of them.

View 3 Replies


ADVERTISEMENT

Function To Multiply And Sum Multiple Rows Of Various Sizes Down Page

Dec 18, 2013

I am working with the attached sheet and it is made up of groups of rows that alternate with a 6 digit NAICS code (industry code) then an aggregation of those codes into a more general 3 digit NAICS. I need to have the row with the 3 digit NAICS code calculate a number that multiplies a column called "% of industry" by several columns of of numbers and then sums the result into a cell in that 3 digit NAICS row. Different groupings have different numbers of rows. I would like to know if there is a 1 cell formula that can achieve this and be easily copied down the sheet to the other 3 digit NAICS rows.

You can see in row 37 this formula being executed for a simple 2 row aggregation. But that would take forever to replicate down the sheet, especially for the larger aggregations.

An example for row 32 that achieves the desired result and could be easily copied down the sheet.

3 digit Table.xlsx

View 5 Replies View Related

VBA - How To Reference All New / Inserted Rows

Jul 20, 2013

I would like to atribute a property (like colour) to any new row inserted in the spreadsheet. I'm struggling to find the correct way to reference a all inserted rows.

View 2 Replies View Related

Formula Not Extended To New Rows Inserted

Nov 5, 2006

I have some columns with formulas in it. at the end of the column (used range) i have a row with total values of individual columns. However, Whenver, I insert a new line, then the formula of that particular column is not applied to the new rows inserted. does any one know why? If it is not set automatically, How do i enable it do be done?

View 9 Replies View Related

Applying Formula In A Column For New Rows Inserted?

Jul 23, 2014

I've applied a basic multiplication formula =D12*E12 in a table Column F, also I've filled it throughout but now if new rows are inserted in between or at the end of the table, new cells in this columns doesn't include this formula.

View 1 Replies View Related

Formula Cells Not To Change Once New Rows Inserted?

Dec 16, 2013

I'm trying to wrap my head around this. I have in a formula in one sheet pointing to a cell in another. Once I insert a row the formula adjusts. I need them to remain static.

I have tried searching, however I'm not 100% on the terminology.I have tried the F4 shortcut and put the $ signs in, however they still change.

View 1 Replies View Related

Absolute Reference To The Cell Even When Rows Are Inserted

Feb 17, 2009

I have a spreadsheet that gets updated from the top. Is there any way for me to mod my formulae so that they always begin with the topmost cell (row 2 in this case, and in many columns) but still extend downward?

More practical example:

I have an Average formula in column X which (at the moment) averages X2:X75. I would like, even when adding new rows at the top (in the row 2 position) the forumla to not need to be manually extended with every new entry. So, if I add three more entrie4s, it will then average X2:X78. I tried all manner of absolutes.

View 9 Replies View Related

Link 2 Worksheets & Accommodate Inserted Rows

Oct 6, 2009

I have a workbook with multiple worksheets, recording time in and time out of temporary employees. The first worksheet is a summary of each weekly timesheet. I would like to make it so the names only have to be typed once and will fill in on the subsequent sheets. I linked the cells, but since the employees may not work every week--we do not know in advance whether they should be included on the time summary at the beginning of the month.

Time Summary Worksheet
Last Name..First Name..Reg Time..OT
Bilson.........Bill.............40..........12
Samson......John...........40..........5


Time-Week 1
Last Name..First Name..Day1..Day 2, etc.
Bilson.........Bill.............12....14
Samson......John...........8.....10

Time-Week 2...

The problem comes when I try to add a row for a new employee. If I add it to the Time Summary worksheet all the data in the Weekly timesheet worksheets is thrown off.

Time Summary Worksheet.......................

View 4 Replies View Related

Macro For Inserting Rows After Every Nth Row And Adding Text To Inserted Row?

May 26, 2014

I have the macro to insert rows every nth row, but need to be able to insert text into that nth row.

I have a list of addresses and every 10 addresses i need to insert a 'seed' which will be have the same details everytime. This is what i have so far...

Sub InsertRowsMod10()
Dim r As Long
r = 10
Do Until Len(Cells(r, 1)) = 0
Rows(r).Insert Shift:=xlDown
r = r + 10
Loop
End Sub

View 2 Replies View Related

VB - Transpose Variable Number Of Columns Into Inserted Rows

Jul 23, 2012

I have a sheet with a company name in column A, and a list of comma separated values in column B. I can easily convert column B to multiple columns with the Text to Columns function, but then I'd like to insert each individual value in a new row in column B.

So, at the moment I have data that looks like this:

Company A
Value 1, Value 2, Value 3, Value 4, Value 5

Company B

Company C
Value 1, Value 2, Value 3

[Code].....

View 6 Replies View Related

Excel 2010 :: Absolute References Do Not Apply To Inserted Rows?

Nov 18, 2013

build a spreadsheet that reads information off of a Master sheet onto 4 other sheets. The hope is that by making changes ONLY to the Master sheet that the other 4 will update automatically.

And then we ran into the trouble of not being able to insert new lines onto the Master sheet without throwing everything off on the other sheets.

(I've attached an example.)

For instance, if I go to the Master sheet in the Test.xlsx attachment, I've left out Lima from the alphabet. So, I insert a new row onto the Master, switch back to the Formula sheet where it should (theoretically) just update the cells to display the new data.

Not so. The Formula sheet just skips the new A13 and keeps on going.

the primary one seems to be using Offset. Well, the coworker will be adding and deleting many, many rows over the course of the year, as it is a product log and we change our products often.

View 3 Replies View Related

Find Highest Value And Populate Newly Inserted Rows With Unique ID?

May 8, 2014

I want to find the highest value in a column (MaxValue) and populate first blank cell in a column with Maxvalue+1. Basically, I want to provide each new row with a unique project number. First, I'm running a macro to insert rows which copies the formula and format from Row 4, the user enters how many rows he wants and the requested number of new rows are inserted below Row 4 (That bit all works fine) . I now want to find the highest project number that has been used in Column 1, starting at Row 4, increment the highest project number by 1 and populate the newly inserted rows with the new project number.

I have a couple of problems with code I'm trying to use: If the active cell in column 1 is highest value the code ignores the active cell, i.e. this works once, as the cell that I have just populated becomes the active cell and the highest number, i.e. the next time the macro runs I get the same number as the active cell.

Ideally, I'd like use the number of rows that the user requested in the macro to insert new rows to be used in this macro to provide a unique project number for each of the newly inserted rows. (The add new rows macros uses Dim NoToAdd As Integer, as the number of rows that the user wishes to insert). Although, I'm quite happy to run the macro several times to find and populate projects which have not been allocated project numbers.

Here's where I've got to:

[Code] .....

View 2 Replies View Related

Tables Must Have Identical Rows

Jun 7, 2007

i have got two tables each on a different sheet. The column headings are not the same but in both tables column A contain names. Users can enter names in column A in the first table, and these should be copied to the second table. However, users can insert rows in the first table which should automatically be copied to the second table to ensure the tables haven an identical number of rows (names)

View 2 Replies View Related

Amalgamate Corresponding Rows From 2 Tables

Mar 20, 2008

If I have the following worksheet #1 ('|' = column separators)

A|3445|Mr Bloggs|20/10/2000
A|6777|Mr Cheese|20/11/1986
A|9467|Mr Mouse|08/12/1998

and another worksheet #2;

R|16432|3445|324|22|433|123
R|13445|3445|333|222|221|54
R|32287|6777|341|9889|2219|62
R|28775|9467|23|344|853|221

How would I copy each row in worksheet #2 to the corresponding row in worksheet #1, given that there are clear identifiers (3445, 6777 and 9467), there are two rows for Mr Bloggs in worksheet #2 and I would only want one in worksheet #1, and I can't just go through and copy-and-paste because there are 16,000 rows in each worksheet and I will have to do the same in two months' time? I would like to end up with one worksheet that has;

A|3445|Mr Bloggs|20/10/2000|16432|13445|324|22|433|123|333|222|221|54
A|6777|Mr Cheese|20/11/1986|32287|341|9889|2219|62
A||9467|Mr Mouse|08/12/1998|28775|9467|23|344|853|221

View 2 Replies View Related

Compare Rows From 2 Tables

Jun 21, 2008

i have a database. column a is the last name. column b is the first name. column c is a person's title. i regularly have to merge this database with another from another department and compare to see that all staff are processed and that titles are correct. i have been trying to write a formula that can pull from the contents in any given row, search the rest of the sheet to find if there is an identical person listed and finally let me know if the title is the same. i just need a "true" or a "false" if both conditions are met.

View 6 Replies View Related

Copying Rows And Separating Tables

Jan 9, 2014

I have an excel sheet that I'm trying to format. Basically, the excel book contains sheets (with the months), and each sheet contains a list of clients, their package, their status, date assigned, and date updated.

I've made another sheet (Sheet2) that fetches everything and consolidating it to one sheet. Sheet 2 also cleans up the data to display only the items that are 'completed'.

The issue I'm having now is in splitting the list (assuming it has been cleaned up to show only the 'completed' items. I would need to split the list first by the date they were updated, and then if they were assigned the same date or not. In short:

--Get all items with date updated = Month1
----If date assigned = Month 1: List items under table 1
----If date assigned < Month 1: List items under table 2

I've used macro on the excel (and I'm not sure it's efficient enough. I'm not proficient with VB, so...). I'm not sure if it will work on Mac.

View 14 Replies View Related

Adding Rows To Pivot Tables

Aug 16, 2012

Is it possible to add a row to the pivot table. All my fields run across the top of my excel sheet but i need a calculated field to show under the row under the total of each group. The values in this row must equal the value total in one of my fields. Is this possible ?

View 1 Replies View Related

Pivot Tables With Multiple Rows?

Sep 21, 2013

This is my data:

This is the Pivot Table I created:

The Pivot Table is exactly what I want and I like that I can also sort by school or district. The problem: Cells B6 through E6 show up with correct information but the totals below that are all wrong. They seem to pull the same data from question 4.

View 3 Replies View Related

Compare Rows Of Two Tables And Put Results In A Third

Feb 21, 2007

I have two tables with "X" and <Blank> data. The tables share the same column headers. I want to compare the rows of each table and if the rows contain an "X" in the same column then it puts an "X" in the third table. I have attached a sample file with my expected results on the third worksheet. I have created named ranges if that helps the formula writing.

Name1 =Sheet1!$A$2:$A$5
Name2 =Sheet2!$A$2:$A$5
Produce =Sheet1!$B$1:$E$1
Group1 =Sheet1!$B$2:$E$5
Group2 =Sheet2!$B$2:$E$5

Sumproduct seems to do the trick if I turn the "X" into "1" and <blank> into "0". If there is a match the value is greater than "1".

=SUMPRODUCT(Sheet1!$B$2:$E$2,Sheet2!$B$2:$E$2)

I prefer to use "X" though if I can. I would like to automate the formula instead of manually adjusting the ranges for every cell.

View 6 Replies View Related

Combine Rows From Matching Certain Criteria In Two Tables

Jun 9, 2013

I have a spreadsheet that contains two input tables: Parallel and Perpendicular. Next, the user can select a group which a certain entry belongs to. Now what I want is a "summary" of these entries in a table that has no blank rows and combines both Parallel and Perpendicular entries by the Group. Please note that there is no fixed number of inputs for any one group i-e the solution has to be dynamic.The groups are numbered from 1 to 6 and number of groups is fixed i-e 6.

A sample file illustrating the inputs and required output is attached.

I also posted this on: [URL] ....

Sample_file_summary.xlsx

View 2 Replies View Related

Insert Rows Between Data For Multiple Tables

Dec 12, 2013

I need to insert a blank row between each row of data under my headers (not the immediate row) until I reach the end of the particular table. I then move down to the next header and repeat the process.

My starting data looks like this:

HEADER
DATAROW1
DATAROW2
DATAROW3
-emptyrow-
HEADER
DATAROW1
DATAROW2
DATAROW3

I need it to look like this:

HEADER
DATAROW1
-emptyrow-
DATAROW2
-emptyrow-
DATAROW3
-emptyrow-

[Code] .....

View 3 Replies View Related

Combine Rows From Two Tables In Certain Order And Matching Certain Criteria

Jun 9, 2013

I have a spreadsheet that contains two input tables: Parallel and Perpendicular. Next, the user can select a group (from a drop down) which a certain entry belongs to. Now what I want is a "summary" of these entries in a table that has no blank rows and combines both Parallel and Perpendicular entries by the Group. There is no fixed number of inputs for any one group i-e the solution has to be dynamic.

Attached is a file illustrating the inputs and the required output. I would prefer a formula based approach but not against VBA based suggestions either.

Sample_file_summary.xlsx

Also posted at: [URL] ....

View 2 Replies View Related

Transfer Rows Of Data Into Tables That Has Formulas Embedded?

Dec 22, 2013

I have 90+ rows of data that I want to transfer into a table format on another worksheet. At present I have laboriously been copying and pasting from one to the other but am losing the will to live:

Id like to create a macro to do this for me. Is it a matter of recording the macro to replicate as I copy and paste or is there a better way....I have dabbled with a pivot table but cannot get it to do what I want.

Here is the code from a recorded macro that does one person/row of data but I dont know how to make this automatic for all rows of data (see below):

Sub staff_rpt()
'
' staff_rpt Macro

[Code]....

View 14 Replies View Related

Row Height And Font Sizes

Feb 21, 2014

I am building up a formatted invoice, line by line all of which is working well from the data point of view but no quite so well from the presentation point.

My text is all in Arial 12pt and I have the row height set to "Auto" and cell alignment to wrap text (at least one cell per row often has 3-4 lines of text so I need "text wrap" on)

My issue is that the printed output from a multi row invoice looks "crowded" and as this is the view the client gets to see (and hopefully pay ) the look is important. I tried to set the row heights to say .71cm but that causes the text wrap to stop working correctly.

I think I am trying to get some form of "inside top" and "inside bottom" adjustment / fill / padding (which is what I would do if I was using some form of documentation tool like Madcap Flare for example) but I cannot see how to do it in excel.

View 9 Replies View Related

Combine Two Tables Which Change In Rows Depending On Input Of User Using VBA In Excel?

Apr 13, 2014

i have a macro which takes the results generated and puts them into a table and filters the data so that zeros does not show and arranges the table from largest to smallest. Now i have a problem where i need to select the power, fuel oil consumption, weight and area from one table and the other power, fuel oil consumption, weight and area from the other table and combine them together so that i can have all possible combinations of the data, but i don't want the zeros to show in the combinations. i need the combined data to show on a separate sheet. The data of table 1 varies with rows as shown:

The Data of Table 2 varies with rows as shown:

I would like to achieve a result like this in the following columns and rows without having to input them manually:

View 1 Replies View Related

Excel 2010 :: Creating Multiple Tables In VBA And Referring To Newly Created Tables?

Jul 1, 2013

Using Excel 2010. I'm writing a macro that sets up a workbook to be used for estimating at the beginning of a project. In the code I need to create multiple tables (formerly known as "lists") in the workbook. Then later in the code I need to refer back to those newly created tables. Currently, the code that creates the table is part of a loop that creates the table on many different worksheets. The problem of course, is that I have to name the Table, and then it won't create a table of the same name on the next sheet. Then, later in the code, I need to make adjustments to the table that was just created before looping to the next sheet.

Is there a way to create a table without giving it a constant name? Or by giving it a name that builds off of other info in the sheet? For example, I would be good with the naming the table after the sheet name: "Sheet1_Table" or such.

Code:
Sub Auto_Open()
'
Dim sht As Worksheet
If Range("A1") = 1 Then

[Code].....

View 2 Replies View Related

Three Pill Sizes For A Specific Dosage

May 4, 2014

Vitamin B1 capsules come in three sizes - 100mg, 500mg and 1000mg

Our doctor prescribes dosages from 100mg up to 5000mg a day

I want to update our stock of tablets for each dosage level.

For example 600mg is 1 x 500mg capsule + 1 x 100mg capsule 0 1000mg capsules,

4900mg = 4 x 1000mg caps + 1 x 500mg + 4 x 100mg

We give out a kit which has in total 100 x 100mg capsules,60 x 500mg and 75 x 1000mg capsules

I want a set of formulas to calculate the nubers of each tablet at the daily dosage level between 100mg and 5000mg

Cell A1 = Daily dosage in mg

Cells A2 = number of 100mg capsules in that daily dosage - what is the formula ?
Cell a3 = number of 500mg capsules in that daily dosage - what is the formula ?
Cell a4 = number of 500mg capsules in that daily dosage - what is the formula ?

View 12 Replies View Related

Finding Optimal Sizes Of Stock To Cut From?

Jun 11, 2014

can buy stock glass in several standard sizes. Specifically:

12x16
16x20
20x24
22x28
24x30
24x36
26x32
32x40
36x48
40x60

I use these stock sizes - to cut custom sized pieces. Example - if I have a piece that calls for a 15x18 - I will take a 16x20 piece and cut it down. I have all different kinds of size combinations that come up and am looking for a way for Excel to calculate the most efficient stock size to start with. Trying to do so using a series of Vlookups and if then's - but seems to be overly complicated and not always accurate.

View 5 Replies View Related

Adjust Report To Different Screen Sizes

Apr 19, 2012

I have a report with graphs and slicers and I have a 22 inch monitor. All of the graphs and slicers fit on my screen size but when others open it everything doesn't fit because they have a smaller monitor. Is there a way to auto adjust the report to adjust to individual screen sizes. I want the data from A36-V36 to fit on the screen at the same time. Not sure if this is possible though.

View 5 Replies View Related

Formula For Defining Paper Sizes

Jul 31, 2007

I have 2 colums that represent the height and width of a paper edges. And now I would like to find a formula (somekind of an IF?) which would calculate automatically (taking account the values in these colums) which of these 2 measures make together ISO paper sizes A0 (84,1x118,9), A1 (59,4x84,1), A2 (42,0x59,4), A3 (29,7x42).

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved