Macro With Formula To Move Specific Information To New Column?

May 22, 2014

I need a macro to move specific information.

I get an excel sheet with W/C Employer: (whatever) entered below the patient it belongs to in column E. This information needs to move into its own column (H) in line with the above patient information so I can use it in a mail merge to word.

The same thing needs to happen with WC injury date listed in column G. It moves to column I. Then delete the row it was moved from so I don't have an empty row.

Sheet 1 is what I get. Sheet 2 is what I need to end up with.

View 4 Replies


ADVERTISEMENT

Move Information Down A Column

Jul 7, 2014

I Have a table in Excel that current look like this:

Name 1
Item 1, Item 2, Item 3

Name 2
Item 1, Item 2

With 650+ Rows. What I need it for it to look like this

Name 1
Item 1

Name 1
Item 2

Name 1
Item 3

Name 2
Item 1

Name 2
Item 2

There are about 20 Items that could be assigned to a name, They are fixed.

Is there a way to create a macro or series of macros the car make this change, as doing it by hand is going to take way too long.

View 2 Replies View Related

Column A And B To Move With Column C When Information Transferred

Mar 18, 2014

All info goes to the master inventory and then if some enters an amount for respray then it is transferred to the respray sheet. when it is transferred to the respray sheet it put the date in Column A and then put 3 days later in Column B.

Every day it will change and the date in A1 changes to tomorrow but if another item is enter as having resprays then it transfers to the respray sheet and will bump down in column C but Column A stays the in the same spot.

I need Column A and B to move up and down if something in Column C moves up or down and it would be nice to always have the oldest date at the top.

View 7 Replies View Related

Find And Remove Specific Information From Column

Jun 3, 2009

I have a column 'AE' that contains the html code for ecommerce item descriptions. While importing/exporting back and forth with another program and my spreadsheet, the following was added all throughout the descriptions.

%0d%0a

In some places, it may be three or four times consecutively

%0d%0a%0d%0a%0d%0a%0d%0a

Is there a macro script I could run to simply remove this any time it occurs in this column? It is just showing up as text and I am sure in another program it was representing something other than text, probably a space or hard return. Regardless, I don't need it.

See example below: ....

View 8 Replies View Related

Inserting Formula Tied To Specific Column Into Macro

Jul 25, 2014

I want to insert a formula that is tied to a specific column. I know how to do formulas and have a slight understanding of macros. Can I insert the formula as part of a larger macro?

View 3 Replies View Related

Hiding Specific Column And Updating Information On Another Sheet

May 30, 2014

Check the attached sample file

a. actual data in columns is approx 150 items (that is why i need to hide/unhide columns)
b. there are about 120 persons whom above items are issued depending on expiry of life of item i.e. issue date plus number of months mentioned in row 3. for example if coat was issued to John on 5th Jan then it's life expires on 5th May and so on.

Now what i want

1. by clicking hide checkbox only that specific column should hide or if i click Hide All check box all column in range should hide.

2. as i enter issue date expiry of that item should automatically update on corresponding month sheet i.e for above example 5th May should automatically get entered in sheet May.

I have entered sample data manually in months sheet.

aJITCBP.xlsm

View 2 Replies View Related

Move Specific Data From Row To Column?

Jun 24, 2014

Currently i hav list of info that is long like this.

A 1
B 2
C 3
D 4
E 5
F 6
G 7
H 8
I 9
J 10

How to move row to column example below. Because i want the data to be printed on an a4 paper which can fit around 3 row to save space . If i manually copy paste page by page it is too much.

A 1 D 4 G 7
B 2 E 5 H 8
C 3 F 6 I 9

===

Currently i have macro code which roughly does this.

A 1 B2
C3 D4
E5 F6
G7 H8
I9 J10

Sub test()
Dim rng As Range, m As Integer, c As Range
Columns("c:E").Delete
m = 2
Set rng = Range(Range("a1"), Range("a1").End(xlDown))
Set c = Range("a1")
Do While c <> ""
'MsgBox c.Address

Range(c, c.Offset(m - 1, 0)).Copy
Cells(Rows.Count, "c").End(xlUp).Offset(1, 0).PasteSpecial Transpose:=True
Set c = c.Offset(m, 0)
Loop
End Sub

View 2 Replies View Related

Move Rows With Anything In Specific Column

Dec 16, 2007

I am working on the attached price proposal and need my user to be able to enter a number into column E indicating that that row should be printed on the quote. The 'quote' can be new sheet or another area of current sheet that is formatted to look like letterhead.

View 4 Replies View Related

Search Specific Text In Column Range (Macro Or Formula)

Jun 30, 2014

I need a macro, or a formula that can identify if the words in the Words Column (Column A) is contained in Title Column (Column B). If it is, It displays as "Yes". If not, display as "No".

Case is not sensitive.

Words
Title
Displayed?

Christmas
Coworker has chronic hiccups
Yes

Excel
I Love Excel
Yes

Cartman
I Like Turtles
No

Ninja
Oh Christmas Tree
Yes

Tiger
Case of the Mondays
No

Chronic
Cute Monkeys
No

View 4 Replies View Related

Copy Information Between Worksheets Based On Specific Column Entry

Oct 29, 2008

My workbook contains several worksheets each recording the results of equipment tests - one sheet for each piece of equipment. Rather than open each worksheet to check the date of the last test, other 'overview' worksheets pick up and display the last test date from each equipment record using the formula =MAX('sheetref'!A15:A500). Is there a better formula to do this?

Some items of equipment are tested at more than one frequency, ie Monthly, Yearly, etc. Therefore, the entry on row 15 of an equipment record may be column A 28/10/08 column D 'M' and row 16 column A 29/10/08 column D 'Y'. The above formula will only display the last test date, irrespective of frequency. There is a seperate overview sheet for each test frequency therefore, I need to modify the formula so that the date it copies from the equipment record worksheet to the overview worksheet is the date of the last test for the specified frequency.

View 9 Replies View Related

Macro To Retrieve Specific Information Based On One Cell?

Dec 31, 2013

I have a spreadsheet using an Input Form (user cannot get to the spreadsheet to enter data - they must use the form). This is working well.

What I need to do now is allow the user to retrieve data that is already entered. Example: Spreadsheet has 100 unique records (rows). In each is ID, Name, State, Dues, and about 20 other columns of information.

I need to allow the user to key the ID # and then up pops all the other information for just the ID provided. I will also need the ability for them to then change that information if needed.

So if they key 13WIL they will get Wilson, TX, $50, etc. And then they can make changes to any field needing a change. Add a phone, change and address, etc.

View 3 Replies View Related

Sort / Move Data In Accordance To Specific Column?

May 9, 2014

How to do what I am about to ask takes time and time causing brain overloading. I have made screenshots but I can't upload them. I get red exclamation point with images sizing ~55KB

View 9 Replies View Related

Move Rows Based On Specific Text Being In Column

Mar 21, 2008

I am trying to have rows moved from (Schedule) to (Complete) in the attached workbook. The criteria to have the row moved would be the user-selected "Status" list changing to "COMPLETE" in Column G.

I would like to have the row cut and deleted from Sheet4 (Schedule) once "COMPLETE" is selected from the list in Column G with rows below moving up. The row would then be inserted into Sheet2 (Complete) at the top of the list (Row 7) and rows would move down below the new entry. I would also like to have the formatting remain uniform (every other row fill)

View 2 Replies View Related

Userform Data (allows Input Of Information And Then Deposits The Information On A Specific Sheet)

Feb 11, 2010

I have created a userform that allows input of information and then deposits the information on a specific sheet. I am looking for a way to have that information not only deposited on the specific sheet it is already set to but also to another sheet based on a selection made from a combo box.

here is my current

View 5 Replies View Related

Macro To Extract Data From Specific Column To New Sheets Specific Column?

Jun 14, 2013

I'm trying to find a way to use a macro to extract data from a specific column from Sheet1 based on the columns header/title and copied into Sheet2 into the respective column with matching header/title.

For instance, in Sheet1:

Chicken
Cow
Donkey
Pig

[Code]....

So the above table would be the result i'm aiming for.

NOTE, its not different workbooks. I'm looking for sheet to sheet macro.

I've attached a file as well if someone wants to have a go at it. There are no codes in it.

View 3 Replies View Related

Macro - Select Last Non Empty Column And Paste Information In Another Column?

Mar 25, 2013

I am trying to find a macro that look for last non empty cell in column A and them paste a formula/comment in all cells of column B.

View 3 Replies View Related

Combining Column Information With A Formula

Apr 24, 2007

I need help with a formula so that I can create a single chart or (more likely) multiple charts for each of the choices in column C.

Attached is a sample of my spreadsheet.
I want to be able to break out each of the "Br#"(A) associated with the "BUM"(C) and graph each of the choices in column D (Run Time).

I am sure I can create the chart I need once I get the formula created to pull the data I am trying to combine. I hope that I have explained this well enough.

View 9 Replies View Related

Move Only Value Producing Formula To Another Column ??

Dec 24, 2008

s/s is very large and the need is to transfer formulas from one column to another. Column L contains formulas in cells L7:L45 (attachment) - (L7:L326415 in working s/s). Some of these formulas result in a value being given. I need to transfer formulas only from those cells having values to cells three columns to the left on the same row. I do have code which I was using for another application. This puts a formula in the correct places but it is the wrong formula and I don't know how to amend it so that it carries out the required action. Small attachment enclosed for better understanding of what is involved. Or could anyone change the line ".formula = ......" in the following code to make it work??

View 5 Replies View Related

Formula To Move Info From One Column To Another

Nov 13, 2006

I need a formula that will take the value of one cell and put it in another cell other than the one in which I am typing the formula. I can't think of how to do this.

I have two columns, A & B (no headers), of information. The columns are not identical, and column B has empty cells scattered throughout the column. For each empty cell in column B, I want to copy the same row of information into it from column A, as if I'm just scooting the information in column A that's on the same row as the empty cells in column B.

This is simple with a cut/paste, but when there's thirty empty cells, cutting and pasting takes time. (What's really frustrating is that I've figured out a few formulas that will copy the information from column A but all the information gets pasted in the column in which I'm creating the formula (say, column F, for example). THAT doesn't help me because the empty cells in column b are still empty!)

View 9 Replies View Related

Macro To Move To A Column

May 14, 2009

I need a macro that I can assign to a button so that it will jump the screen to a particular cell. I want it to select the cell in a chosen column in the same row as the cursor already was. So, if I'm in M10 and I hit the AK button, it'll jump to AK10. If I'm in F54 and I hit the AK button it'll jump to AK54.

View 2 Replies View Related

Formula To Move Column Automatically To Different Sheet?

Apr 23, 2014

I have a excel file Sheet 1 is active data Sheet 2 is complete data, How can I make the column move automatic from one sheet to another with out cut/pasting?

View 1 Replies View Related

Macro To Find And Move A Column

Aug 11, 2009

I regularly receive a file with a column called ‘Project Key’ which for some unknown reason can be located anywhere in the worksheet i.e. in any column from A: to BZ and beyond.

What I would like to have is a macro that finds the column ‘Project Key’ and moves it from it’s current position and moves it directly after a column call ‘XXX’ and delete the blank column where it orginally was. There would be no need to check if the columns exceed Excels maximum as my file never gets that big

View 3 Replies View Related

MACRO To Move Contents To The End Of Another Column

Jun 2, 2009

I am just getting started and have over 1000 items in the list. I want to be able to run a macro that would take the root portion of the image link and then replace the 'imagename.jpg' with 'modelnumber.jpg'

So start with
Column 1 www.photobucket.com/a/aa/a/imagename.jpg
Column 2 LAT-NR460

and end up with
Column 1 www.photobucket.com/a/aa/a/LAT-NR460.jpg
Column 2 LAT-NR460

Column 1 could start empty or just with the root.

View 9 Replies View Related

Move Macro Result One Column To Right

Mar 4, 2013

I have this macro which ranks in reverse order col AA , I need to get the macro to do this ranking in col U .

The smallest number would be ranked 1 to the highest number ranked last .

All I need is the current result too go into col U and not col T when I run macro .

Please ignore the Value error in col T they don't matter at all .

Sheet1  STUVWXYZAA1Fsz   PtsFwinFplNo.Swin213#VALUE!   
SCRSCR1SCR3135   7.52.427.2413#VALUE!   
SCRSCR3SCR5132   4.51.6545.36131   5.51.855.17134   5.51.865.88133   5.51.875.491310   266.5819.610138   
184.5916.911136   164.5101312137   102.81114.21313#VALUE!   SCRSCR12SCR14139   185.51317.8

[Code] ..........

View 2 Replies View Related

Improve Macro To Move Row To Column?

Nov 25, 2013

i have this macro from this webiste to move every 2nd cell to the row above...(ie B1---after macro---becomes A2) I want this macro to be able to do exactly the same but instead of having a cell, it will have a row...

Code:
Sub moveDefs()
Dim i, LastRowFrom As Integer
'Identify the last row of the rule set that contains data

[Code]....

View 4 Replies View Related

Macro To Move Entire Column

Aug 14, 2007

I have Excel 2002. I need to create a formula that will move an entire row to another page within the same workbook if a cell in that row has a certain value. Example would be if A1 cell in the row has a value of 111 I need to move the entire row to another page. I could use the sort then cut function in a macro but the spread sheet I'm working with changes daily. One day there will be 10 A1 cells with 111 the next 30 cells with 111 in A1 and some days no cells with 111.

View 4 Replies View Related

Column Formula That Won't Change When Move Reference Cells

May 22, 2014

I'm dealing with forecasting invoices. The main column 'BALANCE' has a formula referencing the previous cell and then adding or subtracting invoices (ENTRY). The problem I have is that I'll put values in ENTRY that I expect to come in at some point but as they arrive I need to change the order of the cells. So I'm constantly changing the order and then it changes the formula in BALANCE. I tried absolute cells (and even found a work around way to flow absolute cells by flowing then viewing formulas then using the replace function but that didn't work.

So my formula in BALANCE is:
=$I$173+$E$174-$G$174

but if I move G174 to another cell I'd like to keep the BALANCE formula to stay G174 instead of following the move.

View 2 Replies View Related

Macro - Move To Next Empty Cell In A Column

Sep 30, 2010

In columnA I want to jump to the next blank cell in a list that continues to grow. So the first time I run the macro I want to go (blank) cell A5 to paste in some data. The next time I run it, it would need to go to cell A6 and so on.

When I do this manually, I simply hit ctrl down-arrow (takes me to the last cell w/data) and then one more down-arrow to take me to the empty cell below.

When I do this in the macro it seems to remeber the cell as an absolute reference (if that's the term) and so it just copies info in the same location as previous, instead of the next empty cell.

View 5 Replies View Related

Cut & Paste Macro: Move Address From Column To Row

Jun 7, 2007

I have an excel worksheet with contact info in columns rather than rows. For example, C1R1 is company name, C1R2 is address, C1R3 is City/St/ Zip, C1R5 is phone. I recorded a macro to cut and paste address to C2R2, C/S/Zip to C3R1 and phone to C4R1. That works but I cannot repeat it as I move down the list. Just re-runs macros over same cells all the time. How do I get it to start and run wherever I want it too? Also, how would I get it to delete the now vacant rows?

View 9 Replies View Related

Pulling Information From A Column Based On Information In A Second Column?

Jan 27, 2014

Imagine I have 2 columns of information that look like this:

Column A
Column B

AS
Dog

AS
Cat

AS
Hamster

FT
Fish

These are my key columns. The letters are initials of people and the animals are the pets they're responsible for.

Now, I have 3 more columns that look like this:

Column D
Column E
Column F

These columns can go on for hundreds of rows.

What I want to do is pull out the information from columns D, E and F where the initials and pet match those in the key list, then paste that elsewhere (say to columns J, K and L).

So, for instance, the first entry would be copied across because, according to the key list, AS is responsible for a Dog, but the bottom entry for AS wouldn't because he was looking after a fish, and that pet isn't listed as one of his animals in the key list (Fish is listed alongside FT). Likewise, the entry for AH wouldn't come across because AH doesn't appear on the key list at all.

View 1 Replies View Related







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