# Transform One Spreadsheet Data Into Another

May 30, 2014

I have a spreadsheet of multiple entries per person. I need to calculate the total per person and have only one entry per person of different character variables within one column. For example:

Jon Smith Fair

Jon Smith Assignment

Jon Smith Fair

Nancy Drew Info

Nancy Drew Info

Rachael Smith Notes

Turned into this:

Name
Fair
Assignment
Info
Notes

Jon Smith
2
1
0
0

[Code] ........

I can already calculate a 1 or 0 for each row with =SUM(IF(A2:A3442=A2, IF(D2="Fair"))). Which creates a 1 or 0 in each row labeled for each entry but I do not know how to create a new spreadsheet with just one entry per person with the totals for each column.

## Transform Table Data With A Formula

Mar 21, 2014

I have a table with data and I want to transform the data in table 1 to the format in table 2 with a formula. I want to change the table format since I have data with 12 000 rows in table 2 format. I haven't been able to find any formula that works, so I will try to explain my problem

Table 1: How the data looks like

Account number
Account Name
Description
2013-01
2013-02
2013-03
2013-04
2013-05

4010
Bank
Sales
0
10
0
5
0

[Code] ........

Table 2: How I want the data to be transformed

Account number
Account Name
Description
Month
Amount

4010
Bank
Sales
2013-02
10

[Code] ........

1. The same accounts are used several times, but with different description or months.
2. All "0" values are eliminated in table 2.

My first thought was to use a pivot table, but I can't use it on sheet 1 since each month become a separate value.

Maybe there are some setting in pivot tables that makes it work, but I would prefer a formula to solve the problem.

## Excel 2007 :: Modify / Transform Daily To Weekly Or Monthly Data

Nov 14, 2013

I have an excel 2007 script that downloads daily stock data and prices. I do analysis and graph the data.

I would like to keep the download the same, but modify my analysis so as to obtain weekly and/or monthly data.

I am sure this is commonly done, and is not rocket science, but so far I am baffled as to the procedure / algorithm to do this.

## Select Data From Spreadsheet Column If Condition In 2nd Spreadsheet At Same Time Is Met

Aug 11, 2013

I have two spreadsheets, one gives me the beginning and end of civil twilight as a measure of day vs. night. The spreadsheet has Date/Time in the first column, and the value 45 in the 2nd column when it is night. The second spreadsheet has also 2 columns with date/time and body temperatures of a squirrel. I want to get basic statistics (mean and standard deviation) of the squirrel's nocturnal body temperature, that is for times when it is night (value 45). The tricky part is that Date/Time of both spreadsheets are different. The procedure has to recognize that the date/time of body temperature lies between the beginning and end of the value 45 blocks of the first spreadsheet.

files: twilight sheet squirrel temperature

## Transform 12,50 In 12.50

Feb 17, 2010

In a workbook some of the numbers I have to use are in format: 12,50. How can I modify the formula so it transforms it to 12.50 (so that excel knows this is a number)? I am getting the values with:

Feb 6, 2009

Often I need to add data from one spreadsheet to the appropriate places on another spreadsheet. For example:

Sheet A has 10,000 records with these fields: id#, name, address, place of employment.

Sheet B has 5,000 records these fields: id#, GPA, college major, type of degree.

Some of the records in B contain information for the same id#'s as sheet A. I want to add this information together so that a Sheet C will have these fields: id#, name, address, place of employment, GPA, college major, type of degree.

## Transform Text To Number?

Mar 13, 2014

I need to transform many text (that Looks like numbers) in to numbers. The thing is that, there is an option to search for errors in the "formulas" menu, but I want a code in vba that I can run.

so in conclusion the thing is:

1. look for text that "looks like" numbers

2. turn them into numbers

## Transform-column-into-a-row Macro

Jun 10, 2008

there is a ONE column containing data. it looks like 7 rows of content, 2 blanks, 7 rows of contant, 3 blanks etc. there can be more than 1500 rows in this document.

i am looking for a macro which would copy these 7 VERTICAL rows in 1 column and transform them into a NEW HORIZONTAL ROW IN 7 COLUMNS.

step by step it would be like:
- copy 7 rows in 1 column
- transform it into 1 row, 7 colums and put it ONE ROW ABOVE THE ORIGINAL
- delete original 7 rows in 1 column

i did macro by recording the whole action but it works only for first repeat. it does not work then because the macro keeps the row number and rewrites the content. i would need a macro which works independently of the row number.

## Transform / Replace Command..

Apr 23, 2009

Is there a ATransform or replace command in Excel. i have a value of 04/23/09 which is a date and would like to replace all "/" with "-' thereby making the value 04-23-09. I could examine each character value within a cell but this would just make a long coding and would like to know if there's a shorter way to do this?.

## Transform Rows Into Columns?

Jan 20, 2003

I have a spreadsheet which has data in the format of

Name
City
State
Zip
Phone

This appears in the form of rows. How do I make the data in a table meaning,,,

Name Address City State Zip Phone.

## Transform Column A To Rows

Jan 24, 2009

I need a macro that will transform numbers in Column A to rows. i.e.
The (6) astericks will determine the start of the next row.
Transformed to:
******
0
-23
700
-12
701
0
698
12
699
******
100
-50
670
-25
688
0
600
12
700

Transformed to:
0>>> -23 -12 0 12
>>>> 700 701 698 699
100>>-50 -25 0 12
>>>>>670 688 600 700

## Transpose / Transform A Table To One Column?

Jul 10, 2013

i have a data as below

abc1
def2
ghi3
jkl4

and i need the data as below in one column

a
b
c
1
d
e
f
2
g
h
i
3
...........

needed in this regard either macro or formula

## Transform Thousands Of Columns To Single Row?

Jan 7, 2014

how do I transform thousands of groups of columns (each group has 6 columns) into A Single row (placed into another sheet) using Macro?

Since my data is large, so efficiency is also important.

## Transform Text String Into Formula

Aug 23, 2013

How can I transform a text string into a formula. ='F1'!\$C\$2

This appears as a text and I want to convert it to a formula exactly like it's written. I made this formula like this because I need to get the value from 1000 sheets. So I use the formula to change the sheet number automatically.

But now I can not convert the text into a real formula.

I know that I could do it with a macro but I prefer to do it without using a macro.

## Transform Series Of 7 Numbers In 0 - 4 Scores

Apr 5, 2014

I have a series of raws with 7 numbers in each raw; sums may vary a lot from raw to raw, and also differences between one number and the other in a same raw.

Now, i need to obtain a much simpler distribution of scores, so reducing differences.

I would need to transform all numbers into a 0-4 score distribution, according to differences between numbers in a same raw. It's like a kind of rank score.

I want to obtain in each raw:

- 1-2 numbers with score = 4 (if three or more numbers have similar values: no 4 scores)
- a maximum of 3-4 numbers with score 2-3 (according to differences between these numbers but also also according to the 4 scores already assigned)
- all other scores = 1 if the numbers are >0
- all other scores = 0 if the numbers are 0

example: |14|23|3|0|45|0|10| => |2|3|1|0|4|0|2|

Would it be possible to do with Excel?

## Transform One File From 2000 To 2007

Jan 8, 2010

I would like to know if there's an easy way to transform an excel file from 2000 version to 2007 version or if I have to redo completely my file

## Transform Dates Format And Filter

May 24, 2007

I have a sheet with data imported of another software. In the column "G" are all the dates, and the problem is how can i change the format, because, some of them are "mm/dd/yyyy" and the rest are "mm/dd/yyyy".

Is there a way to change it to the same format? maybe there are some dates like "11/02/2007" that are "02/11/2007" (i don't know how change it with code), and others that the difference between formats is logically clear. I want to get the format "dd/mm/yyyy".

After this i want to apply a filter between two dates, for example, (in dd/mm/yyyy) from01/05/2007 to 30/08/2007.

I've tried different ways, but i'm not able to transform the format of the dates to the same format, although i've read your help and other posts that talk about this.

## Transform Cells With Visible Values (formula To Value)

Mar 11, 2014

I want my macro to transform the cells whom values are visible into pure value no formula "behind them". I have simple multiplication formulas in those cells. If The result of a multiplication is 0 and I format that cells to not show me that 0 with "0.000;-0.000;;@" the macro still deletes the formula from that cell.

[Code] .....

## Macro To Transform Formulas Into Values Across Multiple Tabs

Feb 7, 2014

I have never written a macro and when I record one I usually have trouble with the relative references.

I am trying to write a macro to transform formulas into values every month.

I want to transform formulas:

- across a range of tabs: each tab is exactly alike and is named page-1 to page 25
- on a different column every month (same column across all tabs)
- on the same rows: L168 to L227 and L266 to L277 (same rows across all tabs)

## Transform 1000 Rows X 50 Columns Table Into 2columns

Mar 16, 2009

Am working with a spreadsheet of about 1000 rows and 50 columns which I need to transform into 2 columns and as many rows as needed. I have attached a simplified example of a 3x3 spreadsheet so you can see what I mean. I have already managed to get my result using Filtering and some copy and paste but I am struggling to now fully automate the solution.

Apr 2, 2014

Wondering if there is an easy way to compare 2 spreadsheets that should have identical data on them? The first spreadsheet (Before) has the output data from 'before' a code fix was applied. The second spreadsheet (After) has the output data from 'after' a code fix was applied. The spreadsheets have 7 columns of data and almost 500 rows.

I've already copied the data from the source datasets provided by my IT folks into Notepad (.txt) files and then used Excel to open them as fixed width spreadsheets. I have 1 workbook with 1 spreadsheet with 'before' data. And, I have 1 workbook with 1 spreadsheet 'after' data. And, I have another workbook that contains both worksheets. So, I'm ready to go whenever I get hints of what to do next. :-)

I need to be able to show my client that we did not impact the data with the code fix that was applied. I want to be able to show my client contacts (business folks) an end result via Excel that confirms that I actually compared the 2 sheets and there were no differences. In other words....I can't just show them a formula with '0' as it end result (even tho that's basically what I'm trying to prove).

Apr 24, 2006

I need to write a macro that will import data contained in another spreadsheet, but am unsure how to do this. I have several (about 15) spreadsheets that contain data. I need to import key bits of this data into one central spreadsheet that will be used for reporting purposes. I only need 2 cells worth (values) from each source spreadsheet, to be pasted into the destination spreadsheet, into designated cells.

The source spreadsheets are usually closed down and kept on a file server, which my PC has access to. Ideally I want to activate this macro with a control button - i.e. I press the button once and the macro goes off and collects/updates each field with the latest data stored in each of the source spreadsheets.

## Auto Copying Text (Not Data) From Cell In One Spreadsheet To Another Spreadsheet Cell?

Nov 4, 2012

I wish to Automatically copy the TEXT that is written from Spreadsheet 1 cells D5 to F5 to Spreadsheet 2 cells F5 to J5 .... a similar range of cells.

Is there a formula I can use or do I need to venture into the programming side of things.

## Excel 2010 :: Link Data In Different Spreadsheet And Data Will Be Automatically Updated

Nov 3, 2013

I am working on Excel 2010. I want to find a way to link data from one spreadsheet to another one and whenever I update the first spreadsheet, the second one will be automatically updated?

## Excel 2010 :: Comparing / Merging Child Spreadsheet (purified Data) Into A Parent One Raw Data)

May 17, 2014

I have a parent spreadsheet with raw data(with errors) and a child spreadsheet without errors. I want to merge the child into parent. (:{). I am thinking of comparing multiple columns from each sheet to ensure maximum accuracy. And when those columns match up we paste the corrected column data from child sheet to parent one. I am using windows 7 and Excel 2010.

## Exporting Data To A Spreadsheet Based On Matching Data

Apr 24, 2009

Rylo thanks for your help on the other project. Here is step two for the same project.

Basically I'm going to list a step by step list of what needs to be done then attach some sample sets so you can see what I'm talking about.

Step 1 ........

## Update Data By Ado - Change/delete Data And Then Run Macro For Update Data In Source Spreadsheet

Dec 6, 2006

I have one source spreadsheet, where are columns NAME, DATE. I read these data by ADO to other spreadsheet, where I can change/delete data and then run macro for update data in source spreadsheet. The problem: In source spreadsheet is column "NAME" and column "DATE", with values e.g. "Joseph"; 1.1.1980. I read this data to other spreadsheet, then I delete in it value 1.1.1980. When I run macro Update, it messages error.

Sub UpdateItem
...
.Fields.Item(1).value = activecell 'activecell value = "Joseph"
If Not isempty(activecell.offset(0,1)) Then
.Fields.Item(2).value = activecell.offset(0,1).value
Else
.Fields.Item(2).value = "" 'I tried Empty and 0 too but when I read data again then, it displays 0.1.1900, nothing works
End If
...
End Sub

It seems that in source spreadsheet has data in column "Date" format Date and when I try to update data in format String ("") in source spreadsheet by Update macro, it messages error. When I used

.Fields.Item(2).Value = Empty
' or
.Fields.Item(2).Value = 0

after rereading data it displays 0.1.1900 What I want to get is that if the cell with date (in other spreadsheet) is empty, the cell in column Date in source spreadsheet after updating will be blank (contains no values).

## External Data In Spreadsheet Without Having To Import All The Data

Aug 6, 2009

I'm wondering if I can use external data in an excel spreadsheet without having to import all the data. I basically need a persistent connection with the external data and I want the excel spreadsheet to get the item descriptions by using the item number as the user types in the item number. Writing out the descriptions is killing me and I have all my products in an excel spreadsheet already. I really need someway to link two separate excel files together. One with data and one with user input that searches that data as I type in the item number.

Aug 21, 2007

I have a spreadsheet with approx 60,000 lines and 14 columns. Col N is month (June to July).

In another spreadsheet, I want to return the data for a specific month. Is this possible?

## Rearrange Particular Data In Spreadsheet

Jun 11, 2014

Looking to re-arrange particular data in attached SS. Sample has the highlighted data which is then converted to the result SS. Have many rows with variable lengths for each record.