1) Type in a text data in a predesignated entry box
2) Excel automatically inserts that text into a table
3) If that text is already in the table, then adds a counter next to it (or increases the counter by one)
4) Excels then clears the text data in the entry box
Basically, I want to tabulate the number of times a specific entry comes up, and it would be much faster if I can just type it in, press enter, and let excel do the rest. It would be ideal if I can also add a date to that entry, so the data table comes up to something like a date vs the entries table, and the intersection would be the number of times each entry comes up on that day.
I need to count the number of unique text values in the first column given a condition in the 2nd column. For example, the formula that I'm looking for should give a result of "3" because it is an SME, and there are 3 unique companies that are classified as SMEs.
Company Name Company Type
Company A SME
Company B SME
(I cant seem to make the tables visible but Company A and Company D right below the header should be in one cell) This should still yield a value of "3" despite having Company A and D in the same cell.
I have a column that is filled with different names. Some names appear more than once. There is one name in fact that appears four times.
I am looking for a formula, or VBA if that's necessary, that will look through the range Y2:Y50, and return a value of 4, because the person that has the most duplicates, her name appears 4 times.
If everyone's name appeared only once, except for a person whose name was in that range twice, then the formula would return a 2.
I have the following two columns, and would like to obtain for each individual Company, the corresponding Country values excluding duplicates as text in a single cell.
Company 2Country B Company 2Country C Company 3Country C Company 3Country C Company 5Country A Company 5Country C Company 5Country C
For example: - For Company 2, a cell containing "Country B, Country C" - For Company 3, a cell containing "Country C" - For Company 5, a cell containing "Country A, Country C"
I've approached generating an array using an IF statement, as in =IF(INDEX(A1:A8="Company 5",,),INDEX(B1:B8,,)," "), which returns the following array: ={" ";" ";" ";" ";" ";" ";" ";"Country A";"Country C";"Country C";" ";" ";" ";" "}.
The question is: how do I get that array to produce, as text in a cell: "Country A, Country C". Note that the duplicate Country C has been removed.
There are a few "StringConcat" User-defined functions that I've found elsewhere on the internet, but they don't seem to be able to handle to conditionally generated IF Index array, which I would think is key to parsing between Countries corresponding to each Company in the list.
I am trying to find a formula that will count the number of unique entries there. I have tried the solutions posted on various websites to no avail (most recently:
I was given two files from an old DOS pos system to make a current mailing list with.
The first file is a list of all the customers from this company(full list), the 2nd is all the customers active within the previous year(active list). I don't have any access to any information other than what is on the 2 lists I was given and I need to use the active list to make sure that only the current customers get sent anything. Not normally a big issue, if it weren't how these lists were formatted when given to me. The full list is a mailing list that was formatted to run labels from a dot matrix printer and imports to excel in the following manner,
John & Jane Doe 1234 NE Road St Someplace, OR 97056
The active list is formatted like:
Doe | John & Jane
Because there is no address information on the active list I can't just generate a full mailing list. I am able to seperate the values from the full list by referencing cells onto another worksheet (it seperates as 'name' 'address' 'city/state/zip') but I need to find a true/false formula, or something similar, that will tell me which names on the full list are also on the active list. I can do it the other way around, and check to see which names from the active list are on the full list (all of them) but because of how the values are seperated on each worksheet I can't seem to figure out how to make this work.
I created a UserForm to populate client billing info and job location info (so it's a two-parter). A clicked button will then populate a spreadsheet with all of the information. That part works fine.
When the client billing info is the same as their job info, I'd like to offer a checkbox that will populate the job info with the billing info rather than having to type everything twice (like you see on online billing and shipping orders).
I am writing to a text file and only want to allow 10,000 lines. There is only one value on each line. How can I trim the top of this text file to allow for more entries to be appended to it and still keep it at no more that 10,000 entries?
I have a list of names that are mixed and in no order (and need to stay out of order, so not sorting allowed). I need to parse this list to give me the FIRST instance that each name shows up in the list. The one exception is that the first name, cell A1, will be auto-generated from a different workbook, and it is automatically named Name1.
So, in the example spreadsheet, Name1 (cell E2) must equal "Alice". The problem arises on Names2-4. Name2 (cell E3) should be David, Name3 (cell E3)=Jerry, and Name4 (cell E4)=Mark. I tried an array formula:
{=INDEX(A2:A13,MATCH(TRUE,A2:A13<>Name1),0)},
But it is yielding "Jerry" as Name2, when it needs to be Name3. And, of course, this doesn't work on Names3-4 at all. I don't think it matters, but just in case, A2:A13 will be data validation lists.
I think it's an easy one but for the life of me I can't get around it. ccasionally while re-typing data in fields with the intention of saving-as a new file, an error message appears saying "no more than 20 characters" This happens even when the number of characters is LESS than 20! I have tried clearing cell contents, copying & pasting, re-setting conditions/parameters for columns/rows etc., and nothing seems to work with any consistency. Instead of looking for a work-around solution I'd like to find the actual corrective action.
I have a user form with 10 textboxes on and when you press the command button, VBA will send the values in each text box to a cell on the sheet. If a user only wants to enter one value, it zeroes all the others in that row!! Does anyone have any ideas please in very very basic lamens code!! It is only relating to the user form called "Figures1". I had an if command running in the "decweek1" modules, but it makes my procedure too long to do the same with the other one!
If you look at my code, you can see how unadvanced I am with this so really simple code would be gratefully received!! If anyone feels nice enough you could always write the code for this problem for me and send me back the workbook, however I don't expect anyone to do this!
I'm using WinXP with Excel 2003 - I have a column of highway sign description data (16k+ rows).
Example:
Curve Arrow Right Curve Arrow Left Turn Arrow Reversing Curve Arrow Right Winding Road Arrow(plus many more unique entries)
I'm using SUM and COUNTIF to total the number of times "Curve", "Reversing", "Turn" and "Winding" appear in the column.
My formula is: Code: =SUM(COUNTIF($F11:$F16196,{"*CURVE*","*REVERSING*","*TURN*","*WINDING*"}))
Which works great EXCEPT what I really want is the number of cells with any of those key words, not the total count of those words. The example above should be 5, but since row four contains more that 1 of the key words I'm getting 6.
Please refer to attached spreadsheet I receive data from an external source and it displays what appears to be dates in column B. In column G I apply a formula to display month/year info.
It turns out that some of the data in column B is valid date data, but other data imports as plain text and therefore I can't get the month/year info that I require. I have attached just a small example.
I get this data monthly and it usually covers thousands of rows and therefore impractical to change manually.
Basically I first want to be able define around 100 variables such as:
Dog = 1 Cat = 2 Mouse = 3
And so on. The reason being my final data needs to be the numbers for it's purpose but because there are so many I can't possibly remember them all to just type out 23 | 44 | 76 | 2 etc. What I would like to then happen is that whenever I type out the words in a cell it's automatically replaced with the number ID.
So typing in
Dog Mouse Mouse Cat Dog
would automatically result in
1 3 3 2 1
In those cells when I hit enter or at the end in one go. Is this at all possible in Excel 2010?
I am not sure if this is possible, but worth a shot. I am using a countif function to count a cells and I want it to count only if it has text, followed by a space then more text. I've been able to count the text only followed by a space, but cant figure in the more text part.
1. Search an excel sheet "column" for a particular type of text and insert values based on that text (if found) in another column.
e.g I have column A1 to A10 with different types of text. I would like to search for the keyword "Risk is high" OR "Risk=High" for each cell in the column and insert a "1" if found beside it's corresponding "B" column. If not found, I would like to insert a "0".
So, if the text "Risk is high" OR "Risk=High" was only found in A6, I would like B6 to be "1". Rest of the values in the B column would be "0's", since the text was not found in any of the other cells.
I have a macro which imports data from a mainframe dump text file and performs 'Text to Columns' on the imported data so that formula in the spreadsheet can act on the data. The code works perfectly well when I use it, but if a different user logs on and performs exactly the same mainframe dump and import macro the Text to Columns action splits the raw data in a different way and the result is that the split renders the formulae useless.
I've experimented a little and for some reason it appears that the 'Field Info' parameters which are produced when the Text to Columns function is recorded in a macro differ between users even though the raw data is exactly the same.
I have been using the wrong formula to count total entries in columns and only just found this error. The MAX formula in cell B4 is: =MAX($B$12:$B$36). If the all the rows are full within range F12:F36, then the MAX formula is fine to count the total within range B12:B36 (25) so I thought. But sometimes there are omissions between F12:F36. If there are 2 blank cells anywhere within F12:F36 for example, then B4 needs to show 23 respectively. In the sample WkBk B4 needs to show 8
First challenge will be assigning point values to Words so I can them up and create averages etc
So I have 4 words I need to learn to assign point vales to, then create a formula that will count the points in a row. That will get me off and running,
So here is a very vague idea of what I mean, this would go in A5 as a example
if A1:D1= complete+2 incomplete+0 submitted+1 missing-1
I have a textbox and would like to create an updating word count when a user types something into the text box. I want the word count to display in a lblword as the text is being typed.
Private Sub txtInput_Change()
cmdNext.Enabled = (txtInput.Text "") 'm_Validation m_Response = txtInput.Text ' txtInput.Value = Format(m_Response, "dd mmm yy") End Sub
Say I have a userform that has a bunch textboxes on it. If I wanted to take 20 of those textboxes, and scan through and count which ones have values, is there a simple way to do that?
I need to make it so that if more than 11 of those 20 textboxes contain text, a msgbox will popup and tell my users they are exceeding their limit.
I was thinking one way may be make them all a list, and then somehow count through the list and once the count reaches a specified number it msgbox them...but I'm not sure exactly what the process is for that.
I have sheet from 1st to 31st of the month wherein I feed the employees details in codes or legends. I need to count certain codes as detailed below: ....
Here I come with yet another question in excel, how do I count/sum text in a column. E.g Column B Fish Eggs Meat Fish Fish Chicken this would basically be # Fish 3, # Eggs 1, # Meat 1, and # Chicken 1. Hope I make it clear,