I need to check, if in A1:BU1 are any duplicate words. All the formulas I found deal with finding duplicates downward (like A1:A1000). Have not seen any formula which works across (from left to right)
Is there an easy way in Excel 2010 either to tag/ and -or remove the duplicate which I could apply and then just copy downward? The formula must work from left to right, because many words repeat downward.
I have an excel workbook where some sheets have a column called "Name" in Row 3. The column where "Name" appears shifts based upon other criteria so it's not set within 1 specific column.
The real data for the "Name" column starts in Row 5. Is it possible to create a macro that looks in Row 3 for "Name", then once it finds that column, it does a find and replace from Row 5 to the end of the data and replaces every space with a ^.
For example, if I have:
Row 3 Name Row 4 Row 5 John Smith Row 6 Jane Doe Row 7 John Doe Row 8 Jane Smith
I am having trouble creating a function to count duplicates of duplicates.
An example of the data table 1 is:
Product 1 2nd Product 1 2nd Product 1 New Product 1 New Product 1 Flt Product 2 2nd Product 2 New Product 2 New Product 2 Flt Product 2 Flt Product 3 2nd Product 3 2nd Product 3 2nd Product 3 New Product 3 Flt
I created a new table (table 2) and made a list of all the Products on table 1 and removed the duplicates. I now have 3 columns with titles New, 2nd and Flt as follows:
New 2nd Flt Product 1 XX XX XX Product 2 XX XX XX Product 3 XX XX XX
I am trying to count the duplicates for each product (XX), but I can't seem to work it out. I've tried the MS help function, but unsure of the actual formula I need to be using.
I have a spread sheet with 2 columns that I have applied conditional formatting to to find duplicate values. So the duplicate cells are highlighted in red now.
Problem - I want to copy only those red cells to a new column in a new tab, and am having a devil of a time figuring out. Best case would be some sort of formula I could use on the new tab&column to do this.
Column A consists of a list of the barcodes I've scanned.
In column A there is sometimes more than one of the same barcode when i have more than one of the same product. is there a way of deleting duplicate barcodes in column a and replace them with a 'Quantity' column?
I am having trouble setting up a query for a recordset that will list duplicates for an automated process to clean up. I am using Excel 2010 with Microsoft ActiveX Data Objects Recordset 6.0 Library and Microsoft ActiveX Data Objects 6.1 Library as references.
So far, I have chopped the query down to it's most basic elements and reassembled until it broke. Necessary pieces work well, but when I combine them, I get nowhere.
Here is the working simple query to retrieve a single row:
Code: dupeSQL = "SELECT PSID FROM [Obstructed$] "
Here is the working single query to retrieve a count:
I've got 3 columns of formulas that end up doing what I need, but I'm thinking it could probably be done easier with VBA.
I have 1 book with a sheet I'll call Log & another book with a sheet I'll call Source. On the Log, column E has the first 9 characters of vendor names & /vendor number (ex: EDMUND FI/00250), along with other data out through column P. On Source, the vendor names are in C & a short code for their name is in A.
I need to compare the first 9 characters in Log col E with the first 9 characters in Source col C. When a match is found, I need to return the short code from Source col A. BUT - if there's a duplicate in either Source col C or A, instead I need to return the word VERIFY, preferably with the cell highlighted in red.
Right now, I have, on Source col L:
Code: =MID(C2,1,9) and in source M:
Code: =IF(OR(A2=A1,A2=A3,L2=L1,L2=L3),"VERIFY",A2) This gives me the first 9 characters of the vendor name in L & the short code OR VERIFY in M
Then, in Log col R, I have an array formula:
Code: =VLOOKUP(MID(E4,1,9),'[PRETICKET P ADDRESSES working.xls]Paddress'!$L:$M,2,FALSE)
This gives me either the short code or VERIFY from Source M. Also, sometimes it doesn't find a match & it returns #N/A. Then I have to do Conditional Formatting to make the VERIFY cells red & I thought I'd make the error cells be yellow (although I haven't figured out the CF for that yet)
Is there a better way to do this with VBA? I'm working with Excel 2010; just got it & still figuring it out.
I have 2 separate tables.. both a list of contacts of sorts.
In one table I have a list of all my clients (table A), in the other I have a list of "preferred" clients (table B).
The contact details etc that are stored in table A are more comprehensive to those in table B.
Effectively, I want to search for all of my preferred contacts from table B and filter for them in table A.
Then ideally I will sort alphabetically and just cut and paste the details into my preferred client spreadsheet.
I had a look online and there was something about creating a "relationship" but I don't think excel 2007 allowed me to do it. I certainly hadn't heard of powerview or powerpivot that they were using!
Using Excel 2007 and conditional formatting, how would I find duplicates across all fields in the table, similar to the "remove duplicates" tool that in default mode selects all the fields or offers the option to select fields of choice. I need to look at all the fields.
I've tried concatenation, but only with a limited number of fields; larger amounts slow the process to a crawl. If my table is 10,000 records with 15 fields, what process would I use to highlight the duplicates. How about something in VBA?
I record all jobs that come into my department. Column A contains the Job reference. Column B Contains the date that the job arrived and Column C contains the date that the job was complete.
The job can be split into several sections and can arrive on different days and the sections can be completed in different days.
I am looking to create a table that will show how long the complete job took to complete, so I am looking for the earliest date and the latest date for specific job reference numbers.
An example of my data is:
Column A Column B Column C Ref No Date In Date Out 2013-0055 01/03/2013 25/03/2013 2013-0061 01/03/2013 03/03/2013 2013-0061 02/03/2013 20/03/2013 2013-0055 07/03/2013 28/03/2013 2013-0061 08/03/2013 19/03/2013
From the above data I am looking to create a table that will show
Ref No First Date Last Date Number of Days 2013-0055 01/03/2013 28/03/2013 28 2013-0061 01/03/2013 20/03/2013 20
I am using lesson 33 of Excel VBA and Macros with Mr Excel as my guideline. The coding is as follows:
Dim WBO As Workbook 'original workbook Dim WBN As Workbook 'individual data workbooks Dim WSL As Worksheet 'List of files worksheet Dim WSN As Worksheet
Set WBO = ThisWorkbook Set WSL = WBO.Worksheets("List") Set WSD = WBO.Worksheets("Data")
[Code] ......
I have indicated above with ( ) the beginning of my problem.
From the workbook with the list of workbooks to open, in each case I want to refer to a worksheet in each workbook named "Report" and grab all the rows with data exept heading (rows 1 & 2) and 9 columns.
How do I get WSN in the code above to include the worksheet named "Report" or do I need different coding. Using Windows 7 & Excel 2010.
We were looking at a list of about 100 FedEx tracking numbers, each 30 characters in length, in an otherwise blank Excel spreadsheet. All tracking numbers in column A.
I used the Conditional Formatting - Highlight Duplicates feature to find any duplicate tracking numbers. It highlighted numerous. We sorted the column smallest to largest to look at two duplicates back to back, but found that there were actually no duplicates. Excel was highlighting values that had the *first 25* characters the same, but it didn't matter what the remaining characters were. For example:
1234567890123456789012345XXXXX and 1234567890123456789012345YYYYY
were highlighted as duplicates of each other.
Excel only looks at the first 25 characters when analyzing duplicates (at least in this specific function). That in and of itself blows my mind. Tracking numbers seem like an abundantly common type of data, and to think that Excel would fail to analyze them in such a simple manner seems impossible to me.
It gets slightly more confusing though. If you back a character off the end of the values, it NO LONGER sees them as duplicates. So...
1234567890123456789012345XXXX and 1234567890123456789012345YYYYY
are NOT highlighted as duplicates while
1234567890123456789012345XXXXX and 1234567890123456789012345YYYYY
ARE highlighted as duplicates. So there's some funny business going on about values of the same character length. Maybe Excel first looks at character length before analyzing specific characters. If length doesn't match, it doesn't even bother to analyze specific character values. That seems like a very strange programming choice though.
I have an excel 2010 spreadsheet that lists all of our vendors and the amount we spent with them over the last year.
I want to know how many of them were local vendors.
I have a list of all the zip codes within a 100 mile radius (there are about 500 zip codes). I would like to write a macro or sort function that searches the entire vendor list and only reports back those vendors that are included in the zip codes I specify.
The columns are as follows:
A B C D E Vendor City StateZip CodeTotal AP Vendor 1TROY AL36082527.37 Vendor 2PHOENIXAZ85054100 Vendor 3TUCSONAZ8571416255
I want to keep the all the columns, I just want to eliminate all of the vendors that do not fall within the zip code criteria I set.
how to run some VBA code (written by someone else, unfortunately) only when clicking once in cell A1, and not run in any other cell. This is being run in Excel 2010. The code I would like to run in this manner is below, and currently will run when the user clicks on any cell in the worksheet it is applied.
[ Option Explicit_________________________________________ Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean) 'If IsDate(Target.Cells(1, 1).Value) Then Set DatePickerForm.Target = Target.Cells(1, 1) DatePickerForm.Show vbModal Cancel = True 'End If End Sub ]
I have tried and been searching but cannot find the answer. Is it possible to change the row height and column width for only a selected range in my spread sheet, for example, F13:I23? I am using Excel 2010.
I need excel 2010 to automatically save at 09:30 and 19:45 every day monday-friday. Also need the file name saved to reflect the time and date it was saved - if possible.
My PC locks after 10 minutes of inactivity - unfortunately this has to happen because of where my PC is situated.
I'm using Excel 2010 and I'm having troubles displaying hiding my column B if none of the cells of column A contains either "(Quasi Echec)" or "(Quasi Russite)" at least once.
PHP Code: [URL] ......
Below are my 3 attempts.
Code: Private Sub Worksheet_SelectionChange(ByVal Target As Range) Dim c As Range If Target.Column 1 Then Exit Sub Application.EnableEvents = False On Error Resume Next
[Code] ..........
Code: Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Sub GetUniquesInColA() Dim rng As Range Dim c If Target.Column 1 Then Exit Sub On Error Resume Next
[Code] .........
Code: Option ExplicitPrivate Sub Worksheet_SelectionChange(ByVal Target As Range) Dim x As Long Dim LastRow As Long LastRow = Range("A65536").End(xlUp).Row
How we can select specific cells in the filtered data using VBA in Excel 2010.
I need to select 10th column, 5th row data .. or 10th column, 6th row data .. or 13th column, 8th row data...
How to select this data using VBA.. I am struck here .. If I give the below code.. the hidden cells inbetween the filtered data is getting selected.. only the first row is getting selected correctly.. i.e, ..rnVisible(1, 2).Select .. If I change the row like rnVisible(2, 12).Select its selecting the hidden cells ..
Dim rnVisible As Range Set rnVisible = ActiveSheet.Rows("2:10000").SpecialCells(xlCellTypeVisible) rnVisible(2, 12).Select MsgBox ActiveCell.Address
Have developed a form for my associates and want them to be able to move to the cellls I want them to fill data in to by merely hitting the TAB or ENTER key vs. having to move the cursor to each cell requiring them to input data.
Want cursor to move in a specific cell order. You would think you could merely say 1M, 2C, etc.
I am trying to use the code that can find the last used row in particular column.
Here is the code in module1
Code: Function LastRow(rng As Range) Dim temp, temp1 Dim col As Range With Application.Caller.Parent For Each col In rng.Columns temp = Cells(Rows.Count, rng.Column).End(xlUp).Row If temp > temp1 Then temp1 = temp Next col End With LastRow = temp1 End Function and code in the range
Code: =LastRow(V12:V300)
My problem is, this code was working nicely but now it only shows ###.
I am using a pivot table in excel 2010. 15 columns (fixed) and plenty of dive downs for rows.
I am trying to 'hide' all of the rows containing values less than 10. If it is easier we can start with hiding values of zero and go from there.
It is key to hide the rows as within the dive downs the rows within the pivot are to many to sort through. If there is a way to do this using the grand total columns for each row that would work as well. Just to be clear I need to hide the entire row not just report the empty cells as zeros. If any further detail is needed feel free to ask.
For example: If value of column O "Grand Total" = 0 'hide rows with value 0' ELSE 'display rows with value greater than 0'
I have 2 lists (excel 2010) that I need to compare (they are currently 2 files, but I can combine them into 1 file with 2 worksheets) if it would be better.
The first list is of "All Students" at our college. The second list is those students who live "ON campus". I need a list of those students who live OFF campus.
The common denominator headers in both lists is: A1 Last Name A2 First Name
I would like to keep the "All Students" list as my master as it contains all the data I need such as addresses.
Ideally, I would like to create a macro or lookup or whatever that will take everyone from the "ON" list and remove them from the "ALL" list, leaving me with the data I need.
I have been attempting to cobble together code from different forums for the past several hours to make a macro to unhide a specific number of worksheets based on a cell value, and have failed miserably thus far. Here are the specifics of what I have going on:
Microsoft Excel 2010 Workbook Name: TASERR Model - 06-26-13.xlsm
In this workbook, I have a worksheet called "Input". In cell C21 of that worksheet, workbook users will fill in a number between 1 and 50 (I have the value for that cell limited to those numbers through data validation). Based on the value in that cell (C21), I want to make a macro to unhide that specific number of hidden worksheets. I have 50 hidden worksheets which are named "Route (1)", "Route (2)", "Route (3)", etc.. If the value in cell C21 is 7, I want the worksheets named "Route (1)", "Route (2)", "Route (3)", "Route (4)", "Route (5)", "Route (6)", and "Route (7)" to unhide. If the value in cell C21 is 3, I want the worksheets named "Route (1)", "Route (2)", and "Route (3)" to unhide. I'm sure y'all can see the functionality I'm going for at this point.