Extract Even/Odd Numbered Rows
May 15, 2008What is the fastest way to extract data in all the even numbered rows? Attached is the sample, and shows what i would like to do.
View 4 RepliesWhat is the fastest way to extract data in all the even numbered rows? Attached is the sample, and shows what i would like to do.
View 4 RepliesI'm using an Excel spreadsheet to, both, illustrate and define a daily schedule. The schedule is most intuitive if depicted with time-of-day increasing downward, and different columns dedicated to different days. There's no brief explanation as to why, but this is the only format that "works". The problem is, each day requires three columns, so a schedule can only be defined out to about 85 days because of 256column limit.
It would be nice if I could switch the way the spreadsheet is displayed - so that "rows" (1,2,3) become vertical stacks of cells, and columns (A,B,C) are horizontal. I don't mean move data within the spreadsheet - that's what Transpose does - I'm saying change the way the spreadsheet is "rendered". In this case it would allow data to be presented intuitively, AND provide for growth to the right, rather than downward.
I'd be (really) happy to hear if this was possible(?), but doubt it. I don't think it would require a fundamental redesign of Excel, just a optional way to depict a spreadsheet - to suit GUI needs.
______9/9/2009 | 9/10/2009 | 9/11/2009 | 9/12/2009
08:00
09:00
10:00
1) I would like to be able to filter dates of column B (exemple from 01.01.2014 to 01.03.2014) and that the sum "Invoice Amounts" from these dates ONLY add up in cell G2.
2) I also want cells C2 & D2 to be used in the formula instead of having to select dates manually in column B.
I am trying to write a formula that will count rows. The hard part is when the project is cancelled I have the formula written to not count that row. However, I want the next valid row to be numbered sequentially. Here is the formula I have:
=IF($B2="","",IF($Q2="YES","",ROW($A1)))
So I want it to be numbered 1,2,3...., not 1,3,4.
I have a spreadsheet with data down column A. The data is either numeric or alpha numeric, however, it is not seen as numerical.
Is there a formula I can use to count the total number of cells with only numbers in against other criteria too? I can use Sumproduct for 2 criteria but can't figure out how to do the 3rd.
I need to print hundreds of pre-numbered surveys with two variables: class number and student number.
For example:
District
Number of classrooms
Number of students per class
A
50
20
B
100
25
C
35
20
I can create a separate template with district name, but don't know how to automatically print multiple copies with an auto-number. The result I want would be that it would print the following..
1. Class 1 / Child 1
2. Class 1 / Child 2
3. Class 1 / Child 3
... etc. through class 1 / child 20
21. Class 2 / Child 1
22. Class 2 / Child 2
etc.
I am willing to do this within Word, or as a mail merge with Excel or Access as long as I don't have to create a spreadsheet with thousands of numbers in it.
I have a very large numbered list in MS Word, in the following style:
1. Animals
1.1 Mammals
1.1.1 Dogs
1.1.1.1 Beagles
1.1.1.2 Pugs
1.1.2 Cats
1.1.3 Elephants
1.2 Fish
1.2.1 Cod
...and so on.
I am trying to bring this data into Excel (2007) but in a way so that:
"Animals" goes into column A.
"Mammals" and "Fish" go into column B (in their own cells, in different rows).
"Dogs" and "Cats" go into column C.
"Beagles" and "Pugs" go into column D...
and so on.
The idea is to have each line in a different row, but have the columns serve more or less the same function that the tab indents do when looking at it in Word. (I'm trying to create a "breadcrumbs" style list for each line item). I've tried using tabs as a delimiter for importing text into word, but it doesn't seem to recognize Word's tabs when applied through a numbered list.
Is there a way i can use a userform Textbox labeled jobNum1 in vba code with a counter "ctr" something like jobNum(ctr) = 5. I basically have multiple jobNum textboxes labeled jobNum1, jobNum2, jobNum3.....etc and would like to repeat the code for each counter until reaching 5. Take the following sub:
View 5 Replies View Relatedi have a program that exports multiple invoices to an excel template for ease of formatting and printing. it can export multiple invoices at once, each invoice being on a separate worksheet. i need for the user to be able to print all worksheets at once and have the pages NOT be numbered 1-30, rather 1-2, 1-4, 1-3, etc.
i understand i can use the header to insert page numbers, but they only function the way i would like when you print each worksheet one at a time. however, there could be any number of invoices to print at once. the only drawback is i am unable to use macros due to security risks/settings.
i would imagine there is some concoction of formulas i could possibly use to accomplish what i need, as i know how many rows of data will fit before excel inserts a page break(56 rows of invoice items, and there are 18 rows besides that repeat on every page). so if i could come up with a way to tell excel when to increment the page number in a cell using a formula of some kind, that would be perfect. or, another way of setting up my template so that it will print page numbers as expected.
I would like to be able to enter a number into a cell, and have it change in increments that I specify in another cell. I would also like to specify the number of copies. For example I would enter 2 into a cell, and specify the number be increased by two for every sheet printed. Then I would input how many copies I want into another cell. Everytime each sheet is printed the number would change from 2 to 4 to 6 to 8 etc. This would be for a specific sheet in which I make running total tags for inventory purposes.
View 9 Replies View Relatedfollowing calculation that someone created for me.
=LOOKUP(10^10,CHOOSE({1,2},0,AVERAGE(IF(Sheet1!$C2:$C13=$A2,IF(Sheet1!$B2:$B13-DAY(Sheet1!$B2:$B13)+1=B$1,Sheet1!$D2:$D13)))))
My problem is that I have some customer account numbers that are alpha/numeric (1B0012) and some that are just numeric (1675) . The above formula does not pick up the numeric accounts correctly.
Is there something that I need to add/remove from this formula so that it will pick up both? or is it a format issue?
I have attached an example of the spreadsheet with this problem. If you select either of the alpha numeric codes it works, but if you select the numeric code it doesn't.
I received one excel spreadsheet office 2010 every week from one on the vendor. it has over 55000 rows. I got columns N, O, P & Q. these columns has some value which I use for my pivot tables. However the values in this columns are stores as a text. I select the little small box (information box ) appears on the right side of the cell and right click on that where I get an option to change it to number. This is working well.
However I have over 55000 rows , it takes a lot of times to change all these cells in four columns ( almost over 220,000 cells). some times more than an hours.
I use excel 2010.
How do you make the auto-fill to not automatically use the next numbered cell:
For example:
I want it to fill with every other cell from a different sheet (same column "D") so i would have a cell ='sheet1'$D10 or whatever then how would i do it so it will auto fill every other cell from then on so the first cell below the initial one would copy from the other sheet as D12 instead of D11?
I would like to use Excel as a measurement device. I have an inexpensive digital microscope that will store sequentially numbered pictures at the click of a button. I am then going to import the most recent picture into Excel and place a grid of transparent rectangles over the picture to serve as my ruler. Would it be possible to continuous update the Excel workbook with the output from the digital microscope?
View 7 Replies View RelatedI've been using a script I found on the web to export a book of 15 worksheets so that they are saved into a folder as 15 separate .csv files - these are to then be imported into Adobe InDesign at a later date.
Currently, the code looks like this:
VB:
Sub SheetsToCSV() 'Jerry Beaucaire (1/25/2010)
'Save each sheet to an individual CSV file
Dim ws As Worksheet, OldDir As String
[Code]....
If possible, I would like the sheets to be exported as consecutively numbered files, so that they can be set into the order they are exported in Windows Explorer, rather than alphabetically.
E.g.
Sheet names = Overview, Checking, Testing
.csv export = overview-17.05.2013.csv, checking-17.05.2013.csv, testing-17.05.2013.csv
Goal = 1overview-17.05.2013.csv, 2checking-17.05.2013.csv, 3testing-17.05.2013.csv
I'm not too fussed about the final formatting, as long as the consecutive numbers can be inserted at the start of the string, the rest isn't as important.
To monitor fast moving decimal values in the even numbered cells( e.g. F2 to F 30 ) of a column, ignoring blank cells, and if two of cells values simultaneously fall below a certain value e.g. 2.04 True if not False.
I have two columns of data and cannot get the column to change the format to display as currenty or accounting, with a currency £ sign and comma separator...I select it all and go to Format cells to do the changes, but it does nothing, at all!
View 2 Replies View RelatedI'm working on an inventory spreadsheet that includes a user form to gather the data, inputs that into a new row and then I can't get the formula that counts the total inventory to include the newly inserted information.
Code:
Private Sub AddToInvButton_Click()
Range("C9").Value = Me.BrandText.Text
Range("D9").Value = Me.StyleText.Text
Range("E9").Value = Me.VitolaText.Text
Range("G9").Value = Me.RemainingNum.Text
[Code]...
I know the last Range statement and MyCount are off, but that's my stab at it to try and show you what I want it to do. I want it to count the number of rows between G8 and the end and use that number to modify the cell that has the simple =sum(G8:G-whatever the last number is minus 1 - since the very last row is the one where the sum formula is)
Is there a simple way to find all rows in a 25,000 row worksheet, that contain zip codes from another, smaller, worksheet.
View 9 Replies View RelatedI'm using Excel 2007 and I need to extract values from rows from a data dump into columns. Here is sample data (this is dummy data, but the format is the same): ...
View 13 Replies View RelatedI have been provided a spreadsheet which has a Quantity column "H". In this column is the quantity of the items and a note containing the serial numbers of the items. The note has no real format. Here are some examples:
Example 1: Serial numbers: 161702, 161722, 161740, 161741.
Example 2: Dec 2006: s/n 63194
Jan 2007: shipped 1 widget, 52480
Example 3: Sent in 2004: 717, 718
Apr 07: shipped 63522 and 63524.
Oct 30, 2007: K. Grande reported only two widgets onboard, 63522 and 63524. 717 and 718 are missing.
Nov 2007: 160302.
Dec 14, 2007: shipped 161093.
There are thousands of serial numbers on hundreds of rows like this. I am looking for code that would copy a new row to another sheet for each serial number in the comment with the serial number placed in column "J". I don't know if the extraneous text can be filtered out, but if I can at least get everything on a seperate row, I can sort/delete what I don't need a lot faster than doing this manually.
In have uploaded an example with before and after sheets. The After sheet is what I have done manually so does not match the examples I used on the Before sheet.
I have the following table A
1
2
B
1
1
B
2
1
[Code] .....
I would like to extract all the unique rows from the above table so the outcome will be
A
1
2
B
1
1
[Code] .....
However I can't think of a simple macro to do it.
This is just a screenshot of my huge data of over 60,000 rows. Owing to the restriction of HTML Maker, I am just showing in less than 30 rows in this screenshot.
I need to extract only the UNIQUE ROWS depending upon the column called "Unique Code" to another worksheet. A particular row or a record is repeated as many as 90 times in this database. I need to extract the whole row which is unique depending upon the column C which is "Unique Code".
I have tried the Advanced Filter option a couple of times but it does not seem to work. Also, the Auto Filter option is not versatile for such amount of data.
I had a VBA excel question. I have 2 excel files. Each file has a column on product SKUs. What I need is a VBA function that compares the 2 key columns and extracts the matching SKU and saves them in a 3rd excel file. That is the 3 file should contain only the SKUs that are in both of the 2 files.
View 9 Replies View RelatedHow can I extract rows from one sheet into another, based on certain criteria?
View 1 Replies View RelatedI am struggling with an Excel Database, to make it "cleaner". Here is my problem. My database looks something like that:
Column A Column B Column C ... Column H
ID Age Date of Birth ... Language
00001 14 01/01/2000 ... English
00001 14 01/01/2000 ... French
00002 14 01/01/2000 ... English
00003 14 01/01/2000 ... French
00003 14 01/01/2000 ... German
00001 14 01/01/2000 ... Spanish
Basically, Columns B & C will never change for the same ID, but columns G, H and others contain data that is different from one row to the other. What i wwould like to do is having unique values in Rows, with Languages displayed in Columns. The database would look like this:
Column A Column B Column C ... Column H Column I Column J
ID Age Date of Birth ... Language 1 Language 2 Language 3
00001 14 01/01/2000 ... English French Spanish
00002 14 01/01/2000 ... English
00003 14 01/01/2000 ... French German
The challenge is that I would need this to be done with formulas only, not using any kind of code. Deleting duplicates manually after "cleaning" the database should'nt be a problem. I tried a formula found on this forum, but i couldn't manage to make it work. The formula looked like this:
{=IFERROR(INDEX($C$4:$C$8;SMALL(IF(FREQUENCY(MATCH($C$4:$C$8;$C$4:$C$8;0);MATCH($C$4:$C$8;$C$4:$C$8;0));ROW($C$4:$C$8)-ROW($C$4)+1);ROWS(C$16:C17)));"")}
Heres what I need:
On the 'values' worksheet (first one), a formula in cell M2 that will search the worksheet 'oc_users' (second one) for any row containing "Active" in column G, these rows will return the corresponding email address in column A of the same worksheet. Skipping "Inactive" rows.
End result: anyone with an active status in oc_users will have their email populated in the 'values' worksheet.
I have this data
1 355
1 243
1 567
2 456
2 443
3 889
3 890
3 123
and need to sort it in columns like this
1 355 243 567
2 456 443
3 889 890 123
I have a spreadsheet with company details in a worksheet. Each company details are in a new column. Like the following example:
company name
company name
company name
[Code]....
i basically need each of the bold heading in the first row of the new worksheet. Each company details will then need to be moved into a new row with the corresponding data under the correct heading column. Not all the companies have all the data for each heading it would be fine to have "none" value or blank in this case
I am working with a spreadsheet generated from software that keeps track of fuel usage for a large fleet of vehicles. The data comes out looking like the snapshot below.
******** ******************** ************************************************************************>Microsoft Excel - June Fuel Transaction Listing.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA3=ABCDEFGH3 Transactions for CUSTOMER ID: 0000CUST7 Sales 4 5 6Product summary for Vehicle ID 00001080 7 8Product Description Transactions Quantity9 101 Unleaded 3 57.60 GL11 12Hose summary for Vehicle ID 00001080 13Site ID HoseGradeProductTransactions Quantity140001 2113 57.60 GLJune Fuel Transaction Listing [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.
I am trying to get the data into a more convenient format for analysis. I need a macro that will:
1) Take the text "Product summary for vehicle ID 0000****", extract the last 4 digits of the text, and paste it where the 1 is under the Product heading (a10). Those digits are the actual fleet number, and I need to separate them out from the rest of the text. The digits will change for each vehicle, so the macro should just move down the spreadsheet doing the same thing for each instance (the setup you see is repeated for every vehicle).
2) Once the first goal is accomplished, I would like the macro to then go back through and delete every row except for the rows with the pertinent data in them. So this means I would only want one row per vehicle and all rows would line up directly below each other like demonstrated below.
******** ******************** ************************************************************************>Microsoft Excel - June Fuel Transaction Listing.xls___Running: 11.0 : OS = Windows XP (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)boutA10=ABCDEFGH101080 Unleaded 3 57.60 GL111081 Unleaded 6 84.70 GL121122 Unleaded 5 47.00 GL131182 Unleaded 8 95.80 GLJune Fuel Transaction Listing [HtmlMaker 2.42] To see the formula in the cells just click on the cells hyperlink or click the Name boxPLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.