Deleting All Names Quickly?
Dec 1, 2011
Any quick way of deleting all named ranges within a given workbook? I can loop over them, but it takes forever. (I've got about 20,000 names in total).
Turning the normal things off doesn't do much good either (e.g. auto-calculating, events, etc)
View 2 Replies
ADVERTISEMENT
Nov 1, 2013
I am trying to find out how to quickly remove do not mail names from our mailing lists. We have several lists and our do not mail list is huge(280) so it's getting very time consuming to clean the lists. I'm assuming I can copy the do not mail list names to the current mailing list and then remove duplicates..but I want to remove both duplicates when i do that. My understanding of the remove duplicates feature and unique values is already a bit foggy.
View 6 Replies
View Related
Apr 7, 2008
I tried a simple for I loop to remove all Named Ranges in a workbook, Unforunately I got a subscript out of Range Error. Is anybody aware of a way this can be done with code?
For i = 1 To 4
ActiveWorkbook.Names(i).Delete
Next i
View 9 Replies
View Related
Jan 19, 2009
Is it possible for a macro to delete any sheet that within a workbook that does not match a specific list of sheets. For example a workbook will always have Sheet1, Sheet2, Sheet3, Sheet4... but it can have many other sheets added to it. The names of the sheets can be completely different however the sheets that I want to keep will always have the same name.
View 9 Replies
View Related
Jun 2, 2014
If I have a spreadsheet with 52 weeks or 365 days worth of data on it, is there a way (without using the hide function) to display dates of a certain range? For example, I only want to see the data from week 30 - week 40. Is there some kind of macro out there that I could maybe enter start date and end date in to a 2 cells (start date & finish date) and it will automatically filter it for me?
View 9 Replies
View Related
Mar 16, 2013
I am building an excel folder with 200+ work sheets in it. there is a master sheet which i collect the rest of the data for the other sheets. My problem is, is that i want to be able to change the sheets quickly on the master sheet when i copy and paste or drag down. The formula that i am using in the cell on the master sheet is =SUMIF(sheet18!$B$4:$B$30,"rd1",sheet18!$E$4:$E$30)
Is there a way to quickly change the sheet from 18 to 19 to 20 and so on, or do i have to go into each formula and change it manual??
View 6 Replies
View Related
May 9, 2009
I have a single column with references on sheet 1, on sheet 2 I have a single named cell 'FormRef' which contents change (references). Active cell is in sheet one column A (column with references). If I use the FIND function dropdown and enter the '=FormRef ', Excel to quote "cannot find data".
Like a shortened version of vlookup I think. I want the active cell to go to the cell that has the contents of the single named cell in
sheet 2
View 3 Replies
View Related
Jun 20, 2013
How do I duplicate the values to say 4 times in a column?
So I have in a column,
dog
cat
bird
fish
I want to duplicate the above to look like this below,
dog
dog
dog
dog
cat
cat
cat
cat
bird
bird
bird
bird
fish
fish
fish
fish
I'll need to do this for 500 unique values 12 times each, so is there a formula to do this easily?
View 5 Replies
View Related
Feb 19, 2014
Is there a way to quickly format a cell so that it acts as though it is just a number and can still be used in a formula but also have a label? For instance I would like to be able to type in "10cm" and have the cell equal 10 and have it formatted to "General cm".
I realize that this is possible with the cell formatting menu, and can be applied to lots of cells at once, my question is can this be done somehow by just typing into the cell so that I can enter lots of cells that may have different labels without having to go into the cell format menu for each one.
View 3 Replies
View Related
Jul 5, 2014
I've built a simple inventory tracking system, and decided a reporting feature would be nice. There are four categories that are entered when inventory is removed...Date, Employee Name, Item Description, Location, and quantity.
Four my reporting purposes I'm only concerned with Date, Employee name and Item Description.
I've been able to write code that does what I want using a multiple Cases and a For loop once the case is identified. However, the more data there is the longer this takes...so I decided to stretch myself and try my hand at arrays (first time really working with arrays), but I'm having trouble figuring out exactly what I need to do.
Here is what I think the steps need to be.
1. Store my data (the categories above) which are located in the Check Out sheet
2. Go through the arrayed data to find exact matches based on my search criteria (here is where the Cases come in)
3. Pull out only that data and write the information to a "Report" Sheet
4. Export that sheet to PDF (this part I already have)
Below is a copy of what my current "working" code looks like (I should mention that the search selections are made from a userform this is what the Cases are deciphering between which ones are blank etc...), also most of my variables are instantiated as Public variables within a Public_Variables module also below.
[Code] ....
And the Public Variables...
[Code] ....
View 4 Replies
View Related
Feb 1, 2013
When I type an 11 into my textbox (in my userform), I believe that the moment I type the first 1, the "event" kicks in. Is there anyway that I can have the change even "wait" until I am finished typing in all the digits of my number?
Code:
Private Sub TextBox1_Change()
Dim prime As Integer, divisor As Integer, currentcol As Integer
Dim faccount As Integer, currentresidue As Long, currentfactor As Long
Dim i As Integer, j As Integer
prime = TextBox1.Value
TextBox2.Value = prime - 1
'Write divisors across and phi of the divisors across at the bottom
Spreadsheet1.Range("c2").Value = 1
[code].....
View 9 Replies
View Related
Jul 13, 2007
I want to clear the range A10:IV65536 or all the cells containning numbers under the row A10.
Right now it takes for ever to clear it mannually because excel recalculates everything... i have over 100 000 data and id like to find a way to delete them quickly.
Is there a way to clear a range without excel recalculating everything???
If not the best way i think would be to clear the last columns first all the way to the first columns.
View 9 Replies
View Related
Apr 10, 2009
I am using Excel 2003 to run a workbook that contains 60 separate worksheets. To make it easier for the techs to navigate the workbook I created a block of 60 autoshapes, (5 blocks high x 12 blocks long) each block hyperlinked to each worksheet and labeled with the worksheet name. I then placed one of these blocks at the top of every worksheet. A tech can click on the block and it takes him right to the page he is looking for, pretty straight forward. It works very well, but as you can guess this is a lot of autoshapes to be stuck in one workbook (3600) and whenever you make major changes to the workbook than the blocks become a factor, and if you resize the columns or add one, or change a worksheet name... I thought about just creating 60 custom buttons and sticking them on a custom tool bar - but I found trying to create a button with a number on it like "34" (for "worksheet 34") was pretty tough in the button editor.
way to create a set of hyperlink buttons that will allow you to quickly navigate through 60 worksheets?
View 9 Replies
View Related
Apr 29, 2009
What is the quickest/best way to find out exactly what is causing a Type 13 Mismatch error?
Debugging with F8 is taking forever as I have to go through loops that go through 6000+ rows each...
View 10 Replies
View Related
Feb 21, 2014
I have formula that looks for information from another sheet (sheet name "ValidationLists")in Column A (list "billto") and returns all the occurances in my current worksheet (including the 10 columns next in the array). What it looks for is based on whatever value is currenty in Cell A2.
Example of formula is as follows:
{=IF(ISERROR(INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,ROW(billto)),
ROW(1:1))-1,1)),"",INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,
ROW(billto)),ROW(1:1))-1,1))}
Basically I want to return everything that matches cell A2 of my current sheet from sheet list "billto" in a different sheet but I need the adjacent cells as well. So one cell below this would read the following (Just the Row Changes):
{=IF(ISERROR(INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,
ROW(billto)),ROW(2:2))-1,1)),"",INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,
ROW(billto)),ROW(2:2))-1,1))}
And the column B next to the original formula reads the following (just returning one more column from the array):
{=IF(ISERROR(INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,ROW(billto)),
ROW(1:1))-1,2)),"",INDEX(ValidationLists!$A$2:$J$300,SMALL(IF(billto=$A$2,
ROW(billto)),ROW(1:1))-1,2))}
It is working exactly how I want it to. The problem is it is taking 2-3 minutes. I can just get a list of rows with the value in A2 from List "billto" very quickly but then how do I get the entire row to appear in my current sheet quickly?
View 2 Replies
View Related
Jul 21, 2009
I am interested in selecting cells in alternating rows as follows:
12 Red Happy
00 Unique descriptor
13 Grn Sad
03 Unique descriptor
14 Yel Happy
02 Unique descriptor
I am interested in selecting all the "12, 13, etc", "Red, Grn, ..." and "Happy, Sad..." for analysis, but want to skip all the rows containing the 0- numbers and the descriptors for them. How do I quickly select only the alternating cells in a column within a selection?
View 9 Replies
View Related
May 25, 2009
Let`s assume that I have numerous "Serial Number" in "Sheet1" : http://i40.tinypic.com/2iqbspt.jpg
Now I want to create some cards in "Sheet2" that each card have a serial number that related serial number there is in "Sheet1" : http://i43.tinypic.com/34fz690.jpg. Need easy solution for doing it while when I drag one card to copying it then related serial number in sheet1 would be appear in required field. I mean first card has first serial number of sheet1 and second card has second serial number of sheet 1 ; but I want to doing it quickly with dragging.
View 4 Replies
View Related
Jan 7, 2014
I need to select and filter all highlighted data quickly in excel 2007.
View 1 Replies
View Related
Dec 18, 2013
I have a Pivot Table with fields for months and weeks. I also have a "Show Values as % Difference Field" that shows monthly or weekly % change. When I collapse the fields so that it goes from weekly to monthly (or vice versa), I have to manually change each Show Values As % Difference column. Is there a way to do this automatically or quickly?
View 1 Replies
View Related
Jan 13, 2014
I have a long customer listing, names 5 to 36 characters and several with their location in the name as well as a few common duplicate names. I am trying to produce sheet where the customers name once selected opens in the customers spreadsheet and data can be added/amended for sales etc.The lists are not in alphabetical order as when created a customer number is automatically allocated. My aim is just to type in the first letter of the name and the dropdown appears the customer is selected and their card appears. I have tried data validation, lookup, vlookup, Dropdown and Match/find. they only return the first record found and no sign of any others. Find returned all instances of the letter appearing in every name.
View 9 Replies
View Related
May 7, 2012
Can I create data validation list of the names created in the name box or of the sheet tab names?
View 5 Replies
View Related
Oct 15, 2013
Code:
Sheets(Array("Sheet 1", "Sheet 2")).Visible = False
How do I convert the above to using Sheet Codes Names, Sheet1 and Sheet2?
Want to ensure my code will work if the user changes the sheet name.
View 2 Replies
View Related
Jan 4, 2013
I have a worksheet with many tables that I use in formulas.
I like tables for a couple reasons, one being the ability to insert/delete rows without affecting the rest of that worksheet row.
Also, automatic copy of formulas/formatting is great.
But, what I really like about tables is the ability to use the naming conventions in formulas.
Problem is when I save this worksheet, after I close it and open it back up, all table references in my formulas have been converted to cell references.
Example:
Code:
=IF((SUMIF('Quote 1'!$M$28:$M$43,">"&'Quote 1'!$J$57:$J$60)*'Quote 1'!$G$57:$G$60)+(COUNTIF('Quote 1'!$M$28:$M$43,""&'Quote 1'!$J$57:$J$60)*'Quote 1'!$G$57:$G$60)+(COUNTIF('Quote 1'!$M$28:$M$43,""&tblOSSRV[Min Order Cost])*tblOSSRV[Cost / Part])+(COUNTIF(tblFam[[#Data],[Qty by Factor2]],""&tblOSSRV[Min Parts Per Line])*tblOSSRV[Cost / Part])+(COUNTIF(tblFam[[#Data],[Qty by Factor2]],"
View 4 Replies
View Related
May 1, 2008
Two part question:
1) I'm relatively new to arrays, but what I need to do is generate a list of file names and the sheets within each one. I would like to use an array for this, but since I don't have much experience.... well....that's why I'm here. Can someone point me in the right direction?
2) And the second part of this.... I was planning on using the FileSystemObject to determine the files in a selected folder and loop through that list of files, opening each one and harvesting the required info (file name and all sheet names). Should I use the FSO or is there something built into Excel that might be better (and also limit the number of dependencies for this little "project" of mine).
View 9 Replies
View Related
Feb 25, 2011
Is it possible to produce a list on a new worksheet of all sheet names and their their internal names within a workbook?
If so I would like the tabbed name's to begin in say A2 with the corresponding internal name in B2.
View 3 Replies
View Related
Aug 26, 2008
I am using Excel 2003 and Windows XP.
I have been given a list of my firm’s target clients (in excel) and an opportunities report (exported into excel) from our CRM system, which lists all the opportunities (i.e. opportunities to sell/provide products/services) that have been created for each client. Some of the column headings in the opportunities report are as follows:
Client; Opportunity ID; Opportunity Name; Opportunity Description; Created by; Date Created etc.
What I need to do is lookup each client, from the target clients listing, in the opportunities report to see whether an opportunity has been created; and if so, return the row of values (i.e. the Opportunity ID; Opportunity Name; Opportunity Description; Created by; Date Created) for that client. The result will be placed next to the name of the client in the target client worksheet.
I have a couple of problems. Initially I tried to use the VLOOKUP function to lookup the client name in the opportunities report and return the Opportunity ID (I then planned to use the same formula to return values from the other columns); however, as the client names in the target client listing were not always written the same way as they were in the opportunities report, the formula often returned #N/A. The formula I used was
=VLOOKUP(A8,'Opportunities Report'!A2:F51,2,FALSE)
So for example, the first client that I was looking up was written as “ABC Ltd” but in the opportunities report it was written as “ABC Limited”.
My second problem was that for some clients, there were multiple opportunities listed in the opportunities report. Where this was the case, there was a separate row (repeating the client name in the first column) for each opportunity created. I think that was messing up my VLOOKUP formula as well.
Is there a way to look up the client name, from the target client listing, in the opportunities report even if it’s slightly different and return the row of values for each opportunity created for that client on a separate row?
View 9 Replies
View Related
Sep 1, 2009
I have a list of names in a single cell. They are all seperated by a comma, then a space. Example would be: John Smith, Steve Wilson, Wallace O Malley, etc. What formula could I use to pull out the names individually, starting from the farthest right?
View 2 Replies
View Related
Feb 24, 2014
I'm trying to sort out a list of names from a website that publishes names in the following format:
DOE John
VAN GOGH Vincent
DA VINCI Leonardo
NADAL PARERA Rafael
JIMENEZ RODRIGUEZ Miguel Angel
What I'd like to do is get the names in the following format
John Doe
Vincent Van Gogh
Leonardo Da Vinci
Rafael Nadal Parera
Miguel Angel Jimenez Rodriguez
Basically all the last names - which are all capitalized - would be moved to the end of the text string. Of course any leading spaces should be removed and I guess using the Proper() function, all capitalized words could be capitalized in a standard way.
I found the following function, here: [URL] ...
but what it does is just take the capitalized words and separate them into a separate cell, which is not all of what I want.
View 1 Replies
View Related
May 14, 2009
create a script that will replace the names in column A on sheet1 from a Master sheet in the same workbook?
The problem is that different users are entering data on sheet1 col A in different ways example someone may enter Johnc or John C Or John What I want is for something to run down col A on sheet1 and look for the like name on the master sheet if the name matches then do nothing but if the name is like another name on the master sheet then replace the name if they are almost alike.
View 11 Replies
View Related
Jan 22, 2014
I need to create a function that selects 4 names randomly from a list of 15 names and displays the 4 randomly selected names in the one cell. Also, you cannot repeat the same name in that cell, (i.e. bob cannot be selected twice in his group of four)
View 1 Replies
View Related