i have a spreadsheet with 21,000 part numbers. I am trying to group the like part numbers, then leave a space between the unlike part numbers. right now my spreadsheet has a space between each part number and i want to eliminate that. but also keeping the part's qty, date, etc. with it.
so this gives a part number depending on what number is placed in O6. What I need to do know is look at 2 different cells and for each combination of numbers give a different part number. so if A1 is 2 and B1 is 3 give a certain result.
I want to do is insert a new blank line after each group of values eg
Column A Dave Dave Dave Richard Sam Sam
In this I want a new blank line to run in between the two names. However, the problem maybe when I add in new names because I will want them to be all grouped in eg Adding another Richard in will sort out the group to be this
Column A Dave Dave Dave
Richard Richard
Sam Sam
Would I therefore be better off running a simple tidy up macro after new text had been inserted which reordered the text in column a alphabetically, then added a blank row between the names. Does anyone have some VBA code knocking round that does this? I have found this code here as a starting point (though I dont understand it)
Sub InsertBlankRows() Dim currentCell As Range Dim s As Integer, i As Integer, e As Long, c As Integer
Range("A4").Select Set currentCell = ActiveCell
Do While Not IsEmpty(currentCell)
s = currentCell.Value e = currentCell.Row c = currentCell.Column
Creating a macro that will identify the last blank line in column J and insert a line in it? The macro will need to look from the "bottom" as there is blanks cells above the last line.
What is the formula to plug in a THICK border between unlike cells?
Example: A B C 1 TOM BROWN CO. 2010 Sales $800 2 TOM BROWN CO. 2011 Sales $720 3 JANE SMITH CO. 2010 Sales $300 4 JANE SMITH CO. 2012 Sales $100 5 JANE SMITH CO. 2013 Sales $250 6 ABC CO. 2010 Sales $100
I tried to make something to find a certain value (from a userform) in a range, and then copy the line partially to another sheet. Then go forth to the next found item and do the same. But... I cannot seem to make this loop.
With Sheets("Data input").Range("N5:N1100") Dim FoundRange As Range Worksheets("Data input").Activate
ram ram ram reddy reddy reddy lakshman lakshman lakshman and i want to incert blank after the end of each group and i am expecting like this ram ram ram
reddy reddy reddy
lakshman lakshman lakshman
is it possible to do with simple formulas or i need macro for this? i have huge file with lot of groups like this i can not do this manually by using filters. have look on attched sheet for better understanding.
I'm trying to find a way to sort or use a formula to group same numbers that are positive and negative together for reconciliation purposes. What part of my spreadsheet looks like is this:
i have a range of numbers, 800 000 from 2 600 000 but i need to get them into numerical order packs, so i might end up with 100's of packs due to the ranges of numbers.
The numbers are file attributes, as you know these are
Normal = 0 Read Only = 1 Hidden = 2 System = 4 Volume = 8 Directory = 16 Archive = 32
These numbers are cumulative, so if a file has an attribute of 5 it is Read Only and System (1 + 4), it can't be anything else. Or if it has an attribute of 6 it can only be Hidden and System (2 + 4).
What I need is a spreadsheet that calculates every possible combination of these numbers, so I can check my Select Case statement has covered all possible combinations.
If it was just a one off project I could just work it out "by hand", but I have realised that there are several other projects I have that this would be useful in.
e.g. I am doing a skills matrix at work. If I give each skill a number, then give each employee a cumulative total number then I can have a spreadsheet that shows their skills. For each employee number there will only be one possible combination of skill that add up to that number.
My employer often adds new skills, so each time this happens I will have to check every combination is covered.
So I really need a spreadsheet solution, something I can input a group of numbers and it will show me a list of every possible combination of those numbers. The number of numbers in the group will vary, so a solution that only works for a group of (say) 6 numbers won't work. It has to work on a variable group of numbers.
I have numbers in 7 groups in cell B2:H8 and winning numbers in cells B11:H27 The function below works fine with: For example if I select cell A2 (G1) numbers are in this row in the cells B2:H2 highlight perfect in the winning numbers in cells B11:H27 As shown in the picture below
I am trying to do a VLOOKUP on a worksheet with a list of our Part numbers. The Part numbers begin with zero and go into the alphabet with anywhere from 3 digits upto 18.
When I sort the sheet Excel sorts the numeric by the number of digits in the number AND totally ignores the first zero. I can not format as numbers since again Excel drops the first zero. Therefore, when I do the VLOOKUP it will not look through the entire numeric list for the higher digit numbers. Is there anyway to resolve my VLOOKUP issue with indexing or?
Am currently working on a sheet (Attached), which is attempting to take data input in a sheet (PnL tab), and work them into manageable data on the Frontsheet, via the seperate F&O and Equities tabs.
Now, in the Equities section of the frontsheet, my array formula to pull through the data from the Equities sheet is bringing up an erroneous blank line, despite the forumal being told to ignore blanks.
As far as I can tell, this is referencing formulated tabs, and how to stop this from happening.
If cell 1B does not = 0 I want to add a line between line 1 and 2 (I'll call that line "11") and take Value2 and paste it into 11A If cell 1B is blank I want it to do nothing
I want to automate this as much as possible but if it's not easy to do I at least want to at least automatically add a blank row below if value does not = 0 and then I can manually move the values as needed.
I have a ComboBox on a UserForm which is populated with data from a spreadsheet. When I run the program I always get a blank line at the top. Once I select an item from the drop down list the blank line goes away. Is there any way to get the ComboBox to initially display the first item of my list, i.e. no blank line.
I have groups of data in a spreadsheet, I need to assign a value in column f for each piece of data in column e. The value needs to be a relative value for the rest of the group. For example if one group of data has 10 rows I need values 1 - 10 in column F, 10 being for the largest value in the respective row in column E and 1 being for the smallest value.
Each group does not have the same number of rows.
If need be I can add blank rows so the space between each group is equal, (if you can tell me an easy way to do this I would appreciate it as theres quite alot of data).
I am trying to find a way to eliminate endings off of part numbers.
Below are the list of endings that I need to be eliminated from an extremely long list of variant part numbert. This list below may need to have additional endings added, but nothing will be removed. Please see attachment for example of part numbers that need below endings eliminated. Thanks!
R T G4 E4 RG4 RE4 TG4 TE4 G6 E6 RG6 RE6 TG6 TE6 /2K5 /3K /250 /500
I am trying to count how many orders have Part numbers A and B on the same order. If order 123 has part number A and B on it then return true or else false. I think Match and array might be a way to go but I am still not able to come up with the result.
Im using a formula to identify new part numbers. The formula is: =IF(ISNUMBER(MATCH(A217,Existing!A:A,0)),"","NEW"). However you can clearly see from the attached that if has flagged a duplicate part number as new. Why would it do that? Check out A1368 in existing and A217 in new.
I'm trying to run a script from a CAD software which exports property values into an Excel spreadsheet. I need to then sort the spreadsheet by part numbers (which are located in column G) but my script is not working correctly. My data range is A1:G50.
I have a fairly large list (1200 rows) of part numbers that I would like to sort. The part number has text and numbers, with a number in the middle. I need excel to ignore this middle number when sorting (but not any of the other numbers). Excel currently sorts like this:
The first few letters in the part number or the numbers at the end aren't consistant. But it's always the numbers after the "/" and before the "-" (where there is one) that I want to ignore.
At the very least I would I need the list in alphabetical order. I don't need the list to be sorted by the "ignored number" at all. Meaning, I would be happy with this result:
I need to remove duplicate Part Numbers where other information in the cells will not match. In the following two examples, the only difference is that the COMP_ID: number is different, but for my purposes, the second example is a duplicate and needs to be removed. I have hundreds of rows of this type of information with various part numbers: ...
I have a huge column of data. This data has few prefixes that I need to remove. I have a list of possible prefixes. Some prefixes are 1,2,3 or 4 characters long. Could you please suggest best way of removing these prefixes (VBA if possible)?
Following are some of the examples of prefixes: AB GD KR BCD FP- TJ- W
I have the following code that works just fine half of what I need it to do. The line that adds the text in column A functions correctly but the code for column B fails because column B is empty by default. The goal is to have the information in column B on the same row as column A. As well as adding two more cells on the same row as column A. The two new columns would be E and G and should be in the same row as the information from Column A. with formulas copied from e2 and g2.