Macro To Transpose Data Into Journal Entry Format

May 4, 2012

Transaction #Transaction DescriptionAccountDate (XX/XX/XX)DesciptionABCDEFG10/24/2015Cash Held(3404.00)3404.00 0.00 0.00 50.00 0.00 (50.00)10/25/20152Cash not Held0.00 (9707.00)9707.00 0.00 (60.00)60.00 0.00 10/26/2015Cash Held0.00 (7402.00)0.00 7402.00 0.00 0.00 0.00 10/27/20154Transfer to Bank 0.04 0.00 (50.04)0.00 50.00 0.00 0.00 10/28/20155Transfer of Cash0.00 4208.00 0.00 (4208.00)0.00 0.00 0.00

I am trying to make a macro that will turn transpose the above data into the below data.

DateDescriptionAccountAmount10/24/2015Cash HeldA-340410/24/2015Cash HeldB340410/24/2015Cash HeldE5010/24/2015Cash HeldG-5010/25/2015#2 Cash not HeldB-970710/25/2015#2 Cash not HeldC970710/25/2015#2 Cash not HeldE-6010/25/2015#2 Cash not HeldF6010/26/2015Cash HeldE-740210/26/2015Cash HeldG7402

Basically each non-zero number in the accounts (A through G) need to have their own row with the account name from their appropriate column and the date and description in their appropriate row. So as you can see each account A,B,E,and G get the amount -3404, 3404, 50, and -50 in their own row and get the appropriate descipion of 'Cash Held' and Date '10/24/2015'. Then the macro would move onto the next row and do the same thing.

Also if there is a way to tack in front of the description the transaction # (if there is one) ie. #2 Cash not Held. I really don't even know where to start.

View 9 Replies


ADVERTISEMENT

Transpose Large Data In Proper Format?

Apr 11, 2014

I have huge data

I Want data to be transpose in a below format:-

Emp Code Emp Name Intime Outtime Total worked minutes Extra worked minutes Attendance Shift


And also add the row as per the number of days worked.

VBA code to transpose large number of data.

View 3 Replies View Related

Copy & Transpose Table Data Into Database Format

Sep 14, 2009

I have a sheet with products down the side, and dates across the top. Numbers will be entered at an intersection between dates and products to represent quantity. Whenever there is a non-blank value for the quantity, I need to copy the products, dates, and quantity into a traditional database format. I have attached the original data format I get from suppliers on when they will deliver, and then show a separate tab for "Desired Result"

View 2 Replies View Related

Using Macro To Create Financial Statements From Journal Entries

Jan 8, 2014

I'm completely new with macros. I was wondering what you would need so that the information will automatically update itself onto a summary page. For example for entries on one worksheet to create a statement on another worksheet?

Example:
Asset Type
Description
Date
Amount
OA

[Code]....

The first entry doesn't have a date, because the asset type is classified as OA. (therefore an exception) Each of this information will be linked to it's own worksheet. For example, the OA entries would create their own sheet which will summed.

View 1 Replies View Related

Transfer Data From Journal To Ledger

Nov 18, 2009

how can transefer data from journal to ledgers accounts,

i can do journal and its formulas, ledger as well,

but i dont know how to connect them to avoid entring data 2 times.

View 14 Replies View Related

Extracting Data From Wall Street Journal Using VBA?

Jun 15, 2014

I am trying to create a excel file that takes information off the website (AAPL Annual Income Statement - Apple Inc. Annual Financials) based on a stock name I enter in the first excel sheet. So when I type in the stock name, and click on the Search button (runs the VBA program) i created, it will search on the website for that stock and retrieve the 5 years financial data. How can I incorporate web query function in it?

Sub AddNewWorksheet()
Dim Val As String
Val = Sheets(1).Range("B4").Value
Sheets.Add
ActiveSheet.Name = Val
ActiveSheet.Move after:=Sheets(4)
End Sub

View 7 Replies View Related

Macro To Transpose Data?

Jun 7, 2014

I need macro to transpose the raw data I have extracted from a Biometrics file into the format I need to compute for work hours.

Sheet 1(raw data)

Sheet 2 ( format i want the data to look like)

View 3 Replies View Related

Macro To Transpose Data

Feb 9, 2009

I have data that gets dumped from a program into a nasty horizontal format that I need to get transposed into a verticle format. As it stands now, the info is reported with hourly data spread accross rows. I need the hourly data in one column. See attached sheet for an example of what I need done with the data. I'm looking for a macro to take my "original" sheet and create my "new" sheet. Note: a macro that can do this would save me days of time.

View 4 Replies View Related

Macro To Transpose Data

Oct 14, 2013

I want to transpose my data. Please see excel file. The original data is of 5 persons (in column) and working hours are recorded over the 35 days (day 1 to day 35 in rows). There are 35 entries for each persons.

I want to do a longitudinal analysis. So I want to transpose data in such a way that each person is repeated 35 time one column, with day in next column (1-35), and working hours are give in front;

For detail see attached excel sheet.

Original table

ID
D1
D2
D3
D4
D5
D6
D7

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

Want to make below table

ID
Day
Hour

1
1
2

[Code] .......

View 2 Replies View Related

Transpose Data Via Macro

Jan 29, 2014

Have been stuck on an interesting issue I currently have data as set out in the table below.

name
ID
course 1
course 2
course 3
course 4

[Code]....

I need the course list to be restructured such as this below. I have tried using a vlookup with extra bits and a pivot table but cannot achieve what i am after, was thinking maybe a macro that could transpose each row as it drops down but not sure where to begin on that one.

steve
course 1
100
steve
course 2
94

[Code]...

View 3 Replies View Related

Need Macro To Transpose Data (MS OS X)

Nov 5, 2008

I have excel file that have the following columns: Sample ID, Analyte Name, Concentration, RSD. These columns are filled down.

I would like the analyte names should be the column headings. Then the rows with the sample ID, Concentration, and RSD - these rows are filled in with elemental concentrations, and rsds associated with those concentrations.

It is not quite a simple transpose, the rows should start over every time the sample name changes. I will be very grateful for any help with this and would gladly send a file to anyone who would help me. Sometimes the number of analytes I sample changes, so if anyone has any ideas on how to write a macro that can do this by recognizing when the analyte name repeats itself (to know when to start a new set of rows).

View 9 Replies View Related

Macro To Transpose Multiple Data In Cell Separated By Commas To Each Data In Column

Jul 15, 2014

I have a table in the format below with about 3500 rows

Column A
Column B

0001
All vehicles, Retirements

0002
All vehicles, Retirements, Addition

0003
All vehicles, Retirements, Addition, Deletion from Y

I would like to change it to the following format:

Column A
Column B

0001
All vehicles

0001
Retirements

0002
All vehicles

0002
Retirements

0002
Addition

0003
All vehicles

0003
Retirements

0003
Addition

0003
Deletion from Y

View 3 Replies View Related

Transpose Data With Macro And Add One Column

Feb 18, 2014

I got to transpose the data from sheet "Data" into new sheet "Actual". Now One row has been added on the top (R1) to categorize the whole data in terms of Major and minor.

modify the macro which add one column (K) with header as "Error type" in sheet "Actual" and then display the above two parameters.

I want exact type of data in sheet "Actual" from raw data sheet "Data"

View 3 Replies View Related

Transpose Macro For Erratic Data

Jun 23, 2007

Need macro that will transpose data from rows to columns

TAN KOON TECK
64 JALAN SEMBILANG DUA KAW 7
OFF JALAN TELOK PULAI
**blank**
**blank**
41100
KLANG
**blank**
next entry

There are blank rows in between the address, and 1 blank row between new entry.

Furthermore, the blank rows between the address are not consistent

e.g.
AZAKI B ISHAK
PT 26 PEKAN JELAWAT
**blank**
**blank**
**blank**
16070
JELAWAT

I am wondering if there is a code that could execute a macro to transpose such data automatically instead of me transposing it one by one

View 9 Replies View Related

Create A Macro To Transpose Data

Jan 28, 2008

I have a spreadsheet, with over 9000 line items. And to give you guys an idea, these items are products that we carry at our stores (convinience stores). Most of our items are sold to the customer by eaches or unit, but we do carry beverage items which can be sold several ways (single can, 6pk, 12pk, 24pk etc). Anyway, on the spreadsheet, these sell units(single, 6pk, 12pk etc) have their own line, per each sell unit. I want them to be all in one line. Heres what it looks like:

I want columns F, and G's values be transposed to the first line, after the RET column. Like this:

View 9 Replies View Related

Macro To Transpose Data And Repeat Itself

Nov 27, 2008

I have spreadsheet which consists of two columns of data.

Column A contains a gerneric heading/group and Column B details some results for each heading/group; these results cover between 16 to 40 rows.

Basically, I need to transpose each heading/group's rows of results data into the same row as the heading/group row; then delete the rows where the results data was copied from; then I want to go to the next heading/group in Column A and repeat the process - transposing the results into a row.

I have written a simple macro which seems to work intermittingly - one which doesn't repeat or loop though. Sometimes I get the Runtime Error 1004 and sometimes the macro overwrites the transposed row if the results are listed over 16 rows.

My draft macro code is as follows:

Sub Transpose()
'
' Transpose Macro
' Macro recorded 27/11/2008 by Hunter
'
' Keyboard Shortcut: Ctrl+p............

View 9 Replies View Related

Offset & Transpose Data Macro

May 2, 2007

I am in need of perhaps a code that will allow me to offset the data which is highlighted in yellow to something that is similar to the data which is highlighted in green. The logic behind that is i do multiple loans that begin at various months of the year and must be presented into the business plan accordingly.

In this example "spreadsheet included" i chose payment 1 as January but some loans dont begin payment for 2 or more months. Hence the expense and hence the numbers located in the "Control Box" will then be able to offset the data down the number of rows that i specify in the control box at the upper left most of the screen into the section that is highligted in green respectively.

Once the data has been shifted i then need to transpose the data to every two columns in the far most payment schedule which includes the principle "prin" and the interest "int" in the respective months broken down. I need the ability to offset this data a maximum of 11 months as 12 would push the loan into a different year.

I have 15 simultaneous loans so i would need a macro that can do this for me. I am a beginner coding but very familar in excel and a formula would not work as it would be over written each time. I am thinking of if statements but that would be a pain in the rear.

I would then need to repeat this macro for the next 14 loans but in this case i would need to do it four more times and then i would need to do the same procedure for the interest side of the loan.

View 11 Replies View Related

MACRO To Copy And Transpose Data In A Column

Oct 5, 2011

Im trying to create a Macro which can do the following: Go to the selected cell when Macro is run, keep going down cell by cell until it finds a blank cell, select the values, copy them and paste them by transposing into the cell next to where it started from in a row, carry on doing this procedure and pasting the transposed values next to the first non blank value until it gets to the end of this column.

View 4 Replies View Related

Macro To Transpose Data From One Column To Several Columns In Steps?

Jan 25, 2013

I am looking for a macro that works like the ASAP Utility (Transpose data from one column to several columns in steps). To elaborate the work done by the macro it should transpose the values in a column to the number of steps that is user defined (Using InputBox) that is if there are 103 values in the column and the user enters the number of steps as 24 then the macro should transpose the data up to 24 columns and the rest in the next row up to 24 columns and so on unless the complete data is transposed.

For more clarity refer the attached excel sheet or the "Transpose data from one column to several columns in steps" utility of ASAP Utility.

View 3 Replies View Related

Macro Using Transpose Function For Multiple Years Of Data

Jul 6, 2014

I need to create a macro in excel that will take data for a particular year in vertical rows and transpose it to horizontal rows.

What the data originally looks like:

380204198401014.72
380204198402016.34
380204198403015.66
380204198404013.71
380204198405013.86
380204198406013.51

[Code] ........

What I want the transposed data to look like:

StationYearJanFebMarAprMayJunJulAugSepOctNovDec
38020419844.726.345.663.713.863.5113.69 3.611.362.812.522.25
38020419853.194.211.021.292.372.416.082.500.143.196.122.04

I have never written a macro before and have tons of records (over 40,000) so using this will save me a lot of time.

View 5 Replies View Related

VBA Macro - Formula Extracting Data And Transpose Into Another Sheet

Feb 3, 2014

Extract data from one sheet to another sheet then transpose automatically.

I have attached the work book of what I'm trying to accomplish.

View 14 Replies View Related

Creating Macro To Transpose Column Data To Rows

May 22, 2012

How to create a macro to transpose rainfall data (in a column) into rows.

I have over 7200 years of data so using paste special will be very slow.

I have attached a sample of the spreadsheet below.

YearMonthRainfallYEARJANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC
11105.5841126.1212131.72131412.0541514.15451646.6716179.75571824.4838193.
25291105.931011131.1781111231.943122161.0321322109.9142324.751152416.501162512.
164172613.222182787.3719285.5202931.944212104.019222111.1642321221.049243117.

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

View 6 Replies View Related

Vb Code Macro Needed To Transpose Data From Columns To Rows

Oct 14, 2008

i have the following spreadsheet with dummy data however, there is a before and after scenario i have posted is this possible with a macro ...

View 9 Replies View Related

Macro To Move Data From Data Entry Update Master Sheet Using Formula To Allocate

May 12, 2013

I am working on a project and would like to see if there is a solution for it. i have a workbook that has data entry that is summarized at a master level but I need to automatically use a formula to update another sheet after clicking an udpate button. The data from the data entry sheet needs to be allocated to all the lines that has the same master item based on the formula. A test workbook is attached ...

View 1 Replies View Related

Looping Data Entry Macro

Sep 26, 2008

I want to use a piece of VBA to copy values from cells A1, C1, E1, and G1 and paste them into the next blank cell in an existing range called "DCopy". I am trying to use the following code, but as I have never tried writing a looping macro, have no idea what I am doing:

View 2 Replies View Related

Tranferring Variable Entry From Form Entry To Macro

May 1, 2009

I used a form with textboxes for data input for one of my vb macros. Currently I have the private sub from the form transfer those entries to a remote cell on the spreadsheet, (like in column "HZ"), so that the macro that will actually utilize them can retrieve them. Is there a way to pass that data directly from what is entered in the form in the textboxes to the macro that will actually use them?

View 4 Replies View Related

Macro VBA Code To Allow Data Entry In Few Cells

May 21, 2014

I have an excel spread sheet with the page title "Main". I would like to add a macro by pushing a button and a window pops up. It will have 4 columns or 4 questions. The first question will ask what is the date? You enter date, next question asks, What is the fundamental? You enter the fundamental. Next question is what is your name? you enter name and next question is enter what you need fixed. Once you enter that and press finished, the data is then place in the spreadsheet. All rows shift down 1 spot. B2 answer is posted in B2, question 2 answer is placed in C2, question 3 answer is placed in D2 and question 4 is answered in E2.

Each time someone presses the NEW ENTRY button this window pops up asking these 4 questions. The answers are then posted in cells B2 through E2 after shifting the entire page down 1 row.

View 2 Replies View Related

Format Mutiple Ranges & Transpose Another

Sep 14, 2007

At Line 40, the program stops running. It asks for an object, but Im not sure why.

Also, I realized that there is an issue with sub twodeux copying the range selection from sheet1 of oldbook to the newly created sheet1(transfer template) of newbook.
How can I cause the form to hold that selection of values until its ready to put them into the newbook? ....

View 9 Replies View Related

Macro For Data Entry That Checks For Duplicate Record

Dec 31, 2013

I have a spreadsheet that uses a Form for Data entry. Each record has ID, Name, State, and about 20 more columns of information for each ID.

The data entry is working well.

What I need now is to add a check for a UNIQUE ID. If they are adding a new record I need my form to return a message if the ID they use is already in the database. So if they enter XXXXX and that is in the file already - they should get a message that XXXXX is already in the database and to please enter a new ID.

And once they fix XXXXX to XXXXY then the record is added.

I should add that the ID is stored in column A.

View 3 Replies View Related

Convert / Transpose Label Format To Rows

Feb 20, 2008

I need a list with a row of column headers (optional but recommended) and then rows of data. An example of what I'm working with is as follows:

ALAMEDA FAMILY SERVICES
ALAMEDA FAMILY SERVICES
2325 CLEMENT AVENUE
ALAMEDA, CA 94501

ALLIED RE-ENTRY PROGRAM
ALLIED FELLOWSHIP SERVICE
1524 29TH AVENUE
OAKLAND, CA 9460L

ALLIED FELLOWSHIP SERVICE
ALLIED FELLOWSHIP SERVICE
1851 10TH STREET
OAKLAND, CA 94606...........

View 3 Replies View Related







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