Splitting Out Value In Row Into Multiple Rows Based On Particular Percentages?
Apr 11, 2014
I have two tables of data (each on its own sheet). One contains cost centers and dollar values (Sheet1), the other contains cost centers, secondary cost centers, and percentages (Sheet2). Each cost center can have any number of secondary cost centers, from 1 to almost 100.
The issue is that I need to have the single-row cost centers on Sheet1 broken down on a third sheet where the dollar amounts are distributed to the secondary cost centers according to the percentages on Sheet2. There is a lot of other data that will be pulled into this but that doesn't need to be modified in any fashion.
I can do it in Access, but doing it purely in Excel (which is the task I am given) seems problematic.
I tried using the Microsoft Query, but it only allows me to query from earlier versions of Excel, not the present version. I am debating saving the sheets out to individual CSV files, then importing them through Microsoft Query, but am hoping for a more elegant solution from this forum.
View 6 Replies
ADVERTISEMENT
Apr 22, 2014
I need to split one row of data into multiple rows. I have one column which consists of a list of companies and Next to it I have a series of attributes for every year. I need to transpose the years into a single column and next to each year I need the values of the attributes.
Have a look at the attached file : Abrasives.xls.xlsx
View 1 Replies
View Related
Jan 17, 2013
Formula or macro that can accomplish the following? In the original data, the text under 'A_Services' is contained within one cell. I want to break out the data as indicated in multiple rows, but only include the first 5 characters.
Orginal Data
appt_number
date
length
A_ICOMS_WO_TYPE
A_TOTALPOINTS
A_SERVICE_CODE
A_SERVICES
[Code]...
View 8 Replies
View Related
Apr 26, 2009
Faced with a problem. I have steps for doing testing in one cell but I need to put them in multiple rows.
Example ....
View 7 Replies
View Related
Jan 22, 2008
i have 4 worksheets with various names. i have an 5th worksheet with a named list (TabNames) of the 4 worksheet names
each of the 4 worksheets have cells with percentages in them.
i would like to check a cell from each sheet and see if the percentage is equal to or above a certain %, for example anything equal to or above 90%. then return the number of cells that meets or exceeds that 90% criteria.
so for example
sheet1 sheet2 sheet3 sheet4
A
1 80% 91% 76% 82%
2 80% 95% 92% 43%
so checking cell A1 in list TabNames would return 1, and checking cellA2 would return 2.
View 14 Replies
View Related
Jan 15, 2013
I am looking to split multiple different entries in a single cell into multiple columns and repeat this for all rows
Example (I have the below in a single Cell as column headers)
NCM Server Mgmt VLAN Site ID
Next Line down is the data (Each row in a single cell)
Enabled 10.10.10.0 50 TEST SITE 1
Enabled 10.10.20.0 50 TEST SITE 2
Disabled 10.10.30.0 50 TEST SITE 3
How I could achieve this as I have a number of projects where this would become useful
I know you can use delimiters but with spaces between the values I just can't fathom a way forward.
View 12 Replies
View Related
Jun 27, 2014
I need a formula to create the following:
In Cell F5 is 26, so the percentage should be 101% (100+1). How can I modify the below to add 1% when the number goes over 100%?
Do I have to create two columns? one for the below and one if the F6 is over 100%?
IF(F6="N/A","N/A",IF(F6>=25,1,IF(F6>=19,0.8,IF(F6>=13,0.6,IF(F6>=7,0.4,IF(F6>=1,0.2,IF(F6
View 5 Replies
View Related
Nov 24, 2008
I am trying to split up an excel file that has 18000 lines, i want to break this into groups of 100 lines and retain the original header info on line one for each file. Is this possible to do with a macro. I have NO experience with macros of programming so go easy on me. It would be great if it could autosave as book 1 book 2 book 3 or whatever, file name doesn't matter that much.
View 9 Replies
View Related
Apr 6, 2014
I have a checkbox where the values are reflected as True/False in a seperate column, what i simply want to do is take the value from one cell, and add 10% of the value each time a value becomes True.
For example in this value column after the check box has been filled out it might look like this:
False
True
True
True
False
False
False
The cell then needs to take the figure, lets say, 100, add 10%, then add 10% to 110, then again and so on for however many "True" statements are in the column.
I have tried with no success with various SUM/SUMIF/COUNT/COUNTIF/IF etc cant seem to get it to work, im not sure the cell refreshes correctly after the checkbox is filled out and its not registering the new "True" value as by default its all set to "False".
View 7 Replies
View Related
Jul 29, 2009
I'm currently working on a little project and at the moment it's my programmign skills letting me down lol, I'm litterally about to start pulling my hair out over not getting this to wokr. I extract data from my device which is in the following format.
View 14 Replies
View Related
Feb 13, 2014
I basically have a five column spreadsheet containing address information. While most cells only contain one piece of information, I have quite a few cells that have multiple lines of data in them because the individual has more than one address.
Here is an example. Note that Rows 1-2 contain single address info for each individual person. However, row 3 contains an individual with 3 pieces of address information in the four right hand columns:
Row 1: Unique ID | Name | Street Address | City | State | Zip Code
Row 2: Unique ID | Name | Street Address | City | State | Zip Code
Row 3: Unique ID | Name | Street Address | City | State | Zip Code
[carriage return in street address, city, state and zip cells]
--------------------------------- |Street Address | City | State | Zip Code
[carriage return in street address, city, state and zip cells]
--------------------------------- |Street Address | City | State | Zip Code
Row 4: Unique ID | Name | Street Address | City | State | Zip Code
Row 5: Unique ID | Name | Street Address | City | State | Zip Code
Please note that some individuals have 2-4 different addresses.
I would like to manipulate the 5 rows of example data above so that when I am done I have the following:
1. 7 rows of data (5 individuals with 7 total addresses)
2. Automatically copy and paste the unique id number and name into the two new rows that were created so that I have the following:
Row 1: Unique ID - 001 | Joe Chang | Street Address | City | State | Zip Code
Row 2: Unique ID - 002 | Joey Chung | Street Address | City | State | Zip Code
Row 3: Unique ID - 003 | John Smith | Street Address | City | State | Zip Code
Row 4: Unique ID - 003 | John Smith | Street Address | City | State | Zip Code
Row 5: Unique ID - 003 | John Smith | Street Address | City | State | Zip Code
Row 6: Unique ID - 004 | Jane Derry | Street Address | City | State | Zip Code
Row 7: Unique ID - 005 | Julie March | Street Address | City | State | Zip Code
View 9 Replies
View Related
Mar 6, 2007
I have sets of data (A1....F50000 or more) that I need to sort out based on the cell value in column F. Based on the cell value I would like the info on the row (A to F) put into a different sheet. There would be 8 different sheets and each sheet would include 1 to 50 different sorts from column F.
The macro could start with one material sort each and I could fill in the rest of the sorts. The 8 different materials (one for each sheet to start) could be "34b2p""ptop27""pdw19""p58leg""ppdpts""mirror""Pdoor""bent""p4545".
View 9 Replies
View Related
Aug 26, 2012
I have master sheet which is not fixed row (rows are variable)
In Column A has customers name (customer names are repeating more than once).
Table range("A1:D30")
I want to create a sheet with customer name and related data should be copied from master sheet.
This can be done by advance filtering and coping but I failed to create sheets automatically.
View 4 Replies
View Related
Mar 5, 2013
I have a sheet with about 200 columns of data and 1000 rows . I'd like to split this sheet into multiple sheets based off of info in column A. Column A contains numerical categories 001, 002, 003 etc So my result would be a sheet for each numerical category with all info from previous sheet. Each category contains 5-30 items associated with that category. Any other way to split this without sorting, copying, and pasting?
View 7 Replies
View Related
Feb 5, 2013
I've attached a workbook to explain my query further but essentially I have a data range, variable in size and I would like to split the range based on values in the range (delimiters if you like) into discreet ranges.
RanaldRangeSplit_01.xlsx
View 6 Replies
View Related
Mar 22, 2012
I need a formula that splits a cells contents based on a character. Example:
LEATHER GLOVES PAIRS - LARGE PART#4000-0501
I want a forumla that returns everything right of the #. the number of charters changes so i need to reference the #
View 6 Replies
View Related
Apr 24, 2013
Writing code in VBA for splitting data into multiple sheets?
The split needs to be based on value in one of the columns and the sheet where the data will be sent to should get sheet name same as value in the column.
Following is the input sheet, the data needs to be split based on entry in the column "Job Type".
Excel 2007ABCD1Invoice NumberJob TypeInvoice DateAmount21234Repair
04-Apr-13$20033456Contract Work10-Apr-13$40047896General23-Apr-13$100Input Sheet
Following tables are showing data split into multiple sheets and the sheet names are the same as entry under the column "Job Type"
Excel 2007ABCD1Invoice NumberJob TypeInvoice DateAmount21234Repair04-Apr-13$200Repair
Excel 2007ABCD1Invoice NumberJob TypeInvoice DateAmount23456Contract Work10-Apr-13$400Contract Work
Excel 2007ABCD1Invoice NumberJob TypeInvoice DateAmount27896General23-Apr-13$100General
View 9 Replies
View Related
Jul 6, 2014
I have excel data file where the code can split the data into different xls file on the basis of country for first sheet only.
execute the code so as to create single country wise files for all sheets. i.e. file consisting of data with sheet A1,B1,C1. The present code works only for sheet A1 and it creates different files with data related to that country. I was looking for the output file with B1 and C1 as well for that country. Also new output file needs to be renamed just as of original one.
View 3 Replies
View Related
Dec 18, 2013
I have a data that has several columns. But I need to separate the spread sheet based on one particular column values.
View 14 Replies
View Related
Aug 7, 2012
I've tried several approaches on how to code this, but can't figure out how to work it. I have a large spreadsheet; which dynamically changes in both column and row counts. So, I have an array of values. If any cell has a negative value, that cell text needs to be changed to red AND that row needs to remain displayed. If ALL values in that row are >=0 then the row can be hidden.
The array is actually a pivot table named QTD
For Example: If cell D5 = 5 and F5 = -3 then Row 5 should remain displayed.
If Cell D6 = 5 and F6=0 then row 6 should be hidden because all values are > 0
Then I was thinking of using the case statement to hide the rows but can't figure the syntax. I'm open to any other means of performing the taks as long as the initial array dynamically to encompass all the data.
View 7 Replies
View Related
Oct 29, 2013
There is no where else for me to go. My problem is: I have a table with over 30,000 rows and columns A - W. The first column A contains UNIQUE ID. Column G contains CATEGORY CODE.
Example.png
Since Unique ID (column A) can be listed more than ones, I need to select only those records (rows) that correspond to the following: Category Code (column G) is either 14, 15, 16, 17, 18 and not any other. I hope you can see the attachment, UNIQUE ID = a;does not satisfy my criteria as it does contain Category Code 14, it also contain other codes. The final result from the sample provided would be extracting data for UNIQUE ID = e (since it is the only record that does not contain any values other than 14, 15, 16, 17, 18).
View 6 Replies
View Related
Apr 2, 2014
I have the following code to delete rows based on the value "No" in cloumn "L". This code should loop through all sheets and delete the corresponding rows.
[Code]....
The code works perfectly but with one little issue. It fails in the first run always with the following error message.
VBA error.png
I need to comment out the line
[Code] ....
continue it with a breakpoint to "End With", remove the comment. Then it loops all worksheets and deletes the rows.
There is no protection or similiar on any sheet.
View 1 Replies
View Related
Apr 26, 2012
I have a 'dump' of a general ledger accounting system....about 20,000 rows. Column A contains the journal number for each set of transactions (there are usually two rows in each set but sometimes three), column C contains the name of the account, and column E the amount. For example:
Row 269 cell A269 = 487 (journal number) cell C269 = Cheque, cell E269 = $50
Row 270 cell A270 = 487 (journal number) cell C270 = Travel, cell E270 = -$50
What I am wanting to do is to extract the sets of journal entries, where the account name (in column C) is "Cheque"....so I would want to extract rows 269 and 270 based on the above example. If I filter using the account name it only gives me one row for each journal transaction - only half of the story. Given that the journal number links the two rows.
View 3 Replies
View Related
Jan 29, 2013
a code that will search each cell across 4 columns and hide the row only if all cells are blank. The macro should search columns "b", "c", "e", and "f" to display all rows where at least one of the cells has a value.
Ex.
Col.B Col.C Col.D Col.E Col.F
1. 123 xxxxx 150
2. 56 xxxxx 50
3. (blank) (blank) xxxxx (blank) (blank)
In this ex. row 3 would be hidden.
View 1 Replies
View Related
Oct 31, 2006
I am trying to loop through a column and cut and copy cells containing one of ten or more criteria (text strings) to the next worksheet, which already exists.
The basic loop is set up, and I understand that an array for the multiple criteria is needed but am falling at this hurdle, as well as struggling with the routine to copy the row to the next available row on the next worksheet.
I have omitted to post my effort so far, as it's embarrassingly basic, but can anyone help with the code?
View 9 Replies
View Related
Mar 19, 2007
Example attached. I need to filter rows based on a start date and stop date, columns C and D. So for example the filter date is 01Mar07 (located in A5). As this date in this cell is changed the rows are filtered accordingly. I need to filter rows so that any row with a start date which includes Mar 07 is shown and I need to include all rows that have an end date in Mar 07. This would result in the inclusion of an event that started in Feb and Ends in march being displayed.
Additionally, I would need to clear the filter. I'm just starting out, I'm sure this is easy for you all the excel experts., and you may probably have a better method to approach this.
View 2 Replies
View Related
Apr 18, 2014
I have a table based on transport numbers who sometimes have doubles. Example:
Number Postcode Value1 Value 2...
106200 8500 10
106200 8500 5
106200 8600 6
106201 5500 4
106202 4000 1
106202 4000 1
So it works as following:
A transportnumber can have multiple instances of itself, such as 106200. This transport number can also have multiple instances where the postcode is the same. These are the rows i want to combine
So shortly:
Transportnumber double/triple...+ Postcode double/triple...= combine these rows.
if only transport number is double, or only postcode, then dont combine. I want it to combine 2 columns of values, one will b the kgs, other one a price.
So example of end result for 106200 would be
106200 8500 value+value (these 2 rows matched so it combined the 2 values i want it to)
106200 8600 value ( this was unique so it stays unique)
View 4 Replies
View Related
Jun 5, 2014
Maybe this has been taken care of in another thread, but still:
ROW ID NUM OCC K OCC I
1 222222 0 0
2 222222 0 0
3
4 333333 0 0
5 333333 0 0
6 333333 0 0
7
8 444455 1 1
9 444455 1 1
I have a situation like above, but what I want to do is:
=FOR(ROW1:ROW9, IF COUNT ROWS(ID_NUM)>= 2,
(create name for set?)
AND
IF OCC_K AND OR OCC_I VALUES >= 0,
THEN DELETE ROWS(within set) >=2
Or more simply:
If there are rows with multiple Accident ID numbers, name that set,
and if OCC_K and/or OCC_K values are BOTH >= 0,
then delete all duplicate rows?
Yes I figure there needs to be some way to distinguish Row 1 from Row 2, (flagging one of the two?) so that ROW 2 can be identified, and similarly with Row 4 from Row 5 from Row 6, but the general flow of commands is what I'm trying to get at.
Is it also possible to use AND and OR in the same line? Or BOTH?
(I have other variations on this that I also like to ask about, such as multiple rows within a set that meet certain conditions that are identified in a different field, but for now this is a simpler version.)
I would like to think I'm not going to need a macro, and that I can do this in a Formula.
View 10 Replies
View Related
Jul 10, 2014
A macro is required to identify rows within a selection e.g. entire column A, that share the same value, then delete appropriate rows depending on the values in another column. The attached example details the requirements.
Extract Rec1.xlsx
View 6 Replies
View Related
Aug 3, 2012
I need to review a 400,000 row spreadsheet and remove all records where 5 columns are populated with data so I am only eft with records that are missing information.
View 9 Replies
View Related