Inserting Columns With Data

Sep 25, 2012

what i want to do is have an area where i can input data and then i have three options of inputing the data or resetting data that is already in the list of data so i start to create a list of data but i can reset/change values if i wish for example quantity. i would also like to have a way to subtract or add a number from the quantity assigned to a code/name of some form. i know that's quite a bit

View 3 Replies


ADVERTISEMENT

Inserting Columns With Numbers Relative To Previous Data

Jan 19, 2012

the following issue:

I have a spreadsheet of questionnaire responses which range from 1-7

For example:

Respondent Q1

1 4
2 3
3 7
4 6

So each row is a new respondent and each column is their response from the scale.

What I need to do is code the responses into a different form. I need them to be represented as follows:

Respondent Answer1 Answer2 Answer3 Answer4 Answer 5 Answer 6 Answer 7

1 0 0 0 1 0 0 0
2 0 0 1 0 0 0 0

So that each number then represents the place on the scale from which it was chosen.

I tried recording a macro but I think this requires something a lot more complex.

View 3 Replies View Related

Prevent Excel From Adjusting Formulas When Inserting New Columns Of Raw Data

Nov 12, 2013

I have a sheet with 2 tabs. On the first tab is my data and the 2nd tab is the formula.

This is my formula;

=IF(ISERROR(VLOOKUP(A3,Data!$A:$AD,23,0)),"",(VLOOKUP(A3,Data!$A:$AD,23,0)))

When I insert a new column at 'A' the formula changes (as below)

=IF(ISERROR(VLOOKUP(A3,Data!$B:$AE,23,0)),"",(VLOOKUP(A3,Data!$B:$AE,23,0)))

How do i stop the reference changing from 'Data!$A:$AD' to 'Data!$B:$AE' when inserting the column?

View 2 Replies View Related

Inserting 2 Columns After Each Column?

Apr 23, 2012

I have data in 4 columns, A, B, C, D. Each column has 5 rows of data. I want to write a macro to automatically insert 2 columns, after each column in original dataset.

View 8 Replies View Related

Macro That Allow For Inserting New Columns?

Oct 17, 2012

I have recorded a basic macro that allows me to copy a formulas in cells CF11 to CH11, and it pastes it into cells in columns CJ to CL. Copy of code is below if you need it.

The issue I have is that I need to insert new coumns into the worksheet, and I need to copy the formulas from columns CF to CH, and they will now need to pasted to columns CN to CP. Note that this is a monthly report where we keep the prior months, so each month will need to add new columns. There are 8 tabs in the workbook, and they all use the same macro, just over different rows (columns all line up).

Is there a way that I can get the macro to paste into the correct column without me having to adjust the macro each time?

Copy of code is as follows:

Range("CF11:CH11").Select
Selection.Copy
Range("CJ11").Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Range("CJ20:CL20").Select
Selection.PasteSpecial Paste:=xlPasteFormulas, Operation:=xlNone, _

[code].....

View 5 Replies View Related

Inserting Breaks In Two Sorted Columns

Jul 13, 2009

I have been struggling to figure this out for several days now and i don't really know where to go from here.

I have 2 columns and i need to break them up at certain points.

The attached excel file should hopefully be clear enough to show what i mean.

The first tab is how the data starts the second tab is how i want it to look.

To clarify i need to break it after each change in the first column. ie from 1 to 2.

Furthermore, i need to break the "sub groups" the second column up after 15, and 30. I will never have a number larger than 32 in the second column.

I think the excel file will clear up what i mean.

View 13 Replies View Related

Maintain Range When Inserting Columns

Sep 30, 2009

I have a macro recorded that inserts into column E in the attached report, and then retrieves data from another worksheet in the workbook. In column D I am trying to keep a 6 month average which includes the latest inserted data, however every time I insert a column the relationship with column D is moved out by one. e.g. range E8:J8 becomes F8:K8.

I am also stuck with setting up a macro to import a new model into the report. I have set up a worksheet called new model with the manufacturer, model and fail descriptions, however all macros I have recorded fail when trying to insert the manufacturer and model into mulitple cells.

View 9 Replies View Related

Inserting Columns Without Changing Formulas?

Feb 7, 2014

I have a very simple inventory spreadsheet that I used to keep track of certain products. The issue is that I often have to insert new columns and when I do, the formulas get convoluted. Is there a trick to making them follow the structure of the formula before?

My formula is =SUM(GT4:GU4) and appears in the Running Total column. When I insert two columns - a white column where an order will be inserted, as well as a running total column. When I perform the insert, the formula for the inserted columns, as well as the set of columns immediately to the right require corrections:

Inserted columns: =SUM(GT4:GW4) [Should be GV4:GW4]
Columns to the right: =SUM(GV4:GY4) [Should be GX4:GY4]

I know how to manipulate the formulas correctly, I would like to keep a clean file for my predecessor.

View 1 Replies View Related

VBA Macro Not Inserting Columns Properly

Jul 3, 2008

I have a VBA macro I recorded that won't insert and copy columns into the proper areas. When I run this, It inserts every column all grouped together.

For example: I want to insert a column before column D, and give certain cells formulas. Instead, it inserts it before column C. The whole macro seems to, when ran, insert EVERYTHING before the range of data I am trying to split up.

Here is the
Sub Macro1()
'
' Macro1 Macro
' Macro recorded 6/30/2008 by kmayfield
'
'
Range("C3:F3").Select
ActiveCell.FormulaR1C1 = "Jan-2008"
Range("G3:J3").Select
ActiveCell.FormulaR1C1 = "Feb-2008"
Range("K3:N3").Select
ActiveCell.FormulaR1C1 = "Mar-2008"
Range("O3:R3").Select
ActiveCell.FormulaR1C1 = "Apr-2008"
Range("S3:V3").Select
ActiveCell.FormulaR1C1 = "May-2008"
Range("W3:Z3").Select

View 9 Replies View Related

Excel Crashing When Inserting / Deleting New Columns?

Jul 21, 2014

I'm building a bookkeeping workbook that is only currently 800kb with TWO cells that have data validation and no cells have conditional formatting. There are a fair few formulae but they are all simply SUM, SUMIF and CONCATENATE.

View 1 Replies View Related

Prevent The Users From Inserting Columns Within A Certain Range?

Jan 7, 2010

I am instantiating Excel 2003 from vb.net and populating the spreadsheet from SQL. The workbook itself will be maintained even when the .Net program is inactive (so that the column headers are established and saved.) Is it possible to prevent the users from inserting columns within a certain range?

View 2 Replies View Related

Inserting Columns On Worksheet And Keeping Formula?

Jan 10, 2012

I have a spreadsheet that I can modify. It currently has a three product column but I need to insert 2 or 3 more columns to make 5 plus the total at the end. It also have a summary sheet. I insert the 2 columns and somehow got the formulas flowing. However when I hit the summary page its not showing results for those two new columns in the total. I am lost. I wish I could post the sheet. Its a multiple product break-even analysis exercise.

View 1 Replies View Related

Deleting And Inserting Columns - Reached Its Limit

Apr 29, 2009

lets say i have 200 used columns. if i delete 150 of them and then (without saving the file) try to add 100 more i get an excel has reached its limit error. theoretically 200-150+100 = 150 columns, which should be well within the 258 column limit. but excel still gives me the error )its like its calculating 200+100=300 > 258). HOWEVER, if i save the file after deleting, i dont get any errors at all. is this a "feature" of excel and if so is there anyway of circumventing it? because i dont want to save the file prior to adding the columns (i do the whole thing in vba). actually i dont want to save the file at all unless the user click on the save button or choose save/save as from the menu.

View 9 Replies View Related

Excel 2010 :: Inserting Columns / Rows And Cells

Nov 20, 2013

For some reason I don't seem to be able to insert any columns/rows/cells in to my excel spreadsheet. This is a problem in both basis sheets and more advanced ones.

View 1 Replies View Related

Inserting Entire Blank Columns In Pre-existing Worksheets

Jul 7, 2007

firstly i am cross-posting this topic so here is the URL to the same thread in a different forum.

[url]

whats up everybody? i have to use two excel worksheets that someone else already created to make CSV (comma seperated value) files. these CSV files are to be dumped into a database. the problem is that the table has more fields than the spreadsheet does (the spreadsheet has 3 fields - network, mask, size - and the table has 10 fields). i can insert one entire column before (to the left of) network (for the ID field in the table) without a problem, but when i try to insert entire blank columns after size (to the right of the pre-existing columns) it only makes columns for the first 14 rows. i know this because when i save it as a CSV file there are only 6 extra commas for the first 14 rows. is there a way to insert an entire blank column for the entire spreadsheet (as in all the way to the bottom)? i dont want to have to manually type in all those commas. i am using excel 2002.

View 9 Replies View Related

Inserting Timestamp On Data Sheet When Raw Data File Imported?

Feb 14, 2014

I have a workbook that requires refreshed source data each day. The workbook has all of the macros and formulas that analyze the data. I have the following code to import the worksheet with the raw data (onto a fresh worksheet in the calculation workbook), but I would like to create code that also adds the date and time to the imported data worksheet -- not the date/time the raw data was created; instead, when it was imported into my calculation workbook.

Below is my code for importing the raw data worksheet:

[Code] .....

View 2 Replies View Related

Matching And Inserting Data ...

Jan 31, 2010

I would like to create a macro which I can use over and over again, with slight modifications.

I have included a sample worksheet with two (2) sheets. Sheet 1 is considered my 'master sheet' of which I want to add data to, if it exists. Sheet 2 is some additional data that may or may not be included. The common thread, between the two sheets is column A.

I would like to either add to sheet 1 or create a sheet 3 with the data, whatever is more effective.

In this 'sample' case, I would like to move the data on Sheet 2, column 'H' to Sheet 1, provided both column "A's" match. Again, if it makes more sense to combine the two on Sheet 3, no worries. However, the next time I do it the data may be in a different column so I hope to understand how to change the 'From' and 'To' columns. My rudimentary skills want to say If it exists, place it here. If not, move to the next entry.

The end result would be all the data on Sheet 1 (as it stands), joined with the data on Sheet 2 Column H, if Sheet 1 Col A = Sheet 2 Col A.

This would be a process that I would do over and over again as I populate Sheet 1 with the data I need.

View 6 Replies View Related

Inserting Rows Between Data?

Dec 21, 2011

i have a spread sheet that has a number of different addresses in them I need a vb code that will insert 5 rows between each row of data starting from row 42 and has the possiblity of running to the end of the rows 65536. i believe the best way to do it is via column B which will always have data in it. i have tried a number of methods but they all only insert the rows once or they do it the required ammount of times one after the other so i end up with a whole section of blank rows and all my data still together.

View 4 Replies View Related

Automatically Inserting Data

Jul 28, 2008

I am trying to create an automated input of numbers which will only happen if text is present in a cell on the same line:

A
1Collumn 1 Column2
21 MR X
3(cell with formula: If text is present in column 2 insert (CellA2+1). Result is 3 being inserted in A3.

I have tried to combine a ISTEXT function with an IF function but to no avail.

View 9 Replies View Related

Comparing And Inserting Data From Another Worksheet

Jul 10, 2014

I have two worksheets.

1 worksheet I have a value and I need next to it the result i take from other worksheet.

LETTERS
AMOUNT
A
Result
C
Result
G
Result

[Code]...

The list goes on.

So Pretty much I need to compare the value "LETTERS" on the first worksheet with the array of letters from second worksheet and insert in the field of the Result, the value next to the correct find in the array of letters ...

View 9 Replies View Related

Inserting HTML Around Cell Data

Sep 29, 2009

I'm using excel 2003 and was wondering if I could insert html around the cell data in a faster way than cutting and pasting it. Here is an example of a column and what I would like to do.

aaaa
bbbb
cccc
dddd

Now I would like every cell to have HTML around it to be easily posted on a website. I would like the cells to now look like this.

<a href="www.url.com/aaaa"><img src="www.url.com/aaaa.jpg"></a>

<a href="www.url.com/bbbb"><img src="www.url.com/bbbb.jpg"></a>

<a href="www.url.com/cccc"><img src="www.url.com/cccc.jpg"></a>

<a href="www.url.com/dddd"><img src="www.url.com/dddd.jpg"></a>

I haven't dealt much with functions so I don't even know if this is possible.

View 3 Replies View Related

Inserting Sum Function Underneath Last Row Of Data?

Jul 15, 2014

The code below pulls information based on what i specify in a userform from another sheet.

I am trying to total the last 3 columns but for some reason the code sticks the sum formula right in middle of all my information. However, when i run the code (the exact same way) again then the code puts the sum underneath the last row as indicated in the code. How can i get the code to run right the first time around?

View 8 Replies View Related

Finding A Specific Row And Inserting Data?

Mar 3, 2014

I have a column with lots of rows. I want to locate a specific one and insert some data into this row at specific columns. This is what i have come up with so far:

[Code] .....

View 14 Replies View Related

Moving Data From One Row To Another And Inserting A Header Row

Apr 17, 2009

I need a bit of VBA code which will run automatically when a csv file is opened. The code needs to move anything after column F onto the next row and repeat until there is no more data. The data is generated by an external program but is put on the same row (not sure why it does this). I have included an example of the csv file (the data in it is garbage so ignore it) for you to look at. the header row which needs inserting needs to be:

A1=Status
B1=Job No.
C1=Date
D1=Name
E1=Room
F1=Description

Hope this is enough information for you. bear in mind the amount of data being generated could be quite large. it has to be run automatically in order to be used in seamless mail merge.

View 2 Replies View Related

Inserting Data After A Date Has Passed

Jan 15, 2007

What formula would I use to populate a cell?

Example

e13 = 0 until after the 10th of the month on the 11th it = $100.00
If I13 has an amount in it on or before the 10th e13 remains $0.
Each of the 12 line of this rent roll needs to correspond to its own month.

View 10 Replies View Related

Finding Last Row Of Data When Inserting Rows

Mar 27, 2012

I've written the following code to insert rows at certain points depending on certain conditions, looping through to the last row. However, as the last row number keeps moving, due to inserting rows, I am not sure how to alter the code to allow for this.

Dim LastRow As Long
With ActiveSheet
LastRow = .Cells(.Rows.Count, "A").End(xlUp).Row
End With

[Code]......

View 5 Replies View Related

Lookup Data In One Workbook And Inserting Into Another

Mar 29, 2012

Macro (preferably) to look up some data in a workbook and paste it into another.

I have an active workbook with this format

Sheet1  ABCDEF1RECORDER IDDate HOUR IN KW     
21000560805917/11/201100:15:00150 31000560805917/11/
201100:30:00150 41000560805917/11/201100:45:00150 51000560805917/11/
201101:00:00150 61000560805917/11/201101:15:00150 71000560805917/11/
201101:30:00150 81000560805917/11/201101:45:00150 91000560805917/11/201102:00:00150

I have another workbook opened called "Carbon intensity" with this format

CO2_Intensity_01082011_29032012  AB1Timeg CO201/08/2011 00:15466301/08/2011 00:30461401/08/2011
00:45460501/08/2011 01:00462601/08/2011 01:15463701/08/2011 01:30463801/08/2011 01:45466901/08/2011
02:004671001/08/2011 02:15472

I would like to insert the values in Column B in the "Carbon Intensity" workbook into Column F in the active workbook corresponding to the dates and times.

This is an example of what it would look like afterwards

Sheet1  ABCDEF1RECORDER IDDate HOUR IN KW     
21000560805917/11/201100:15:0015046631000560805917/11/201100:30:0015046141000560805917/11/
201100:45:0015046051000560805917/11/201101:00:0015046261000560805917/11/201101:15:0015046371000560805917/11/
201101:30:0015046381000560805917/11/201101:45:0015046691000560805917/11/
201102:00:00150467101000560805917/11/201102:15:00150472

View 4 Replies View Related

Inserting Cell Data In Another Spreadsheet

Feb 7, 2007

I'd like to insert the value of a cell in Excel worksheet A into the cell of another Excel workbook B. The twist is that the Worksheet A begins as a templated file and is copied into new jobs each time. The destination spreadsheet B location and name stays the same but the source file changes location. So the destination file B can't be looking to be updated. What needs to happen is that once the source spreadsheet A is copied into a new job, whenever the spreadsheet is updated and closed, it needs to "export" the new value into the source file B. Not the other way around as the destination file will not know the location of this new source file. Sorry for the confusing syntax but hope this is clear enough for an answer. Here's an example of the question: How do I automatically, on closing this source workbook A, update cell D24 into file C:MyFilesExcelFormerFile.xls Sheet1 cell B27?

View 2 Replies View Related

Inserting Userform Data Into Worksheet

Nov 23, 2007

I m trying to sort this out myself before posting but its driving me crazy! I have the following userform :-

I would like all that data entered into a worksheet called "Purchase Record" into the following cells:-

View 4 Replies View Related

Inserting Dropdown List To Navigate Through Data

Feb 7, 2014

Insert a drop down list that is attached to a bunch of data to make it easier to navigate through the data.

Therefore, when you chose one item in the list it will populate data in the worksheet for that item in the list and change for each item in the list.

For example, if you have ten people's names in the list when you pick Nancy it will show you information on her and when you pick Scott it will populate with completely different data. The data all coming from one master tab.

View 8 Replies View Related







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