I have some text I wish to add some content to the front and back of it. i.e. the text in the cell is "188.8.131.52" and I want to add "http://" to the front of it and ":9999" to the back to it, so it looks like "http://184.108.40.206:9999" in a different cell.
I have a list of numbers in column A (i.e.: 1234)and I need them to show up in column B in with an "*" asterisk on each side on the number (i.e.: *1234*). So I was using "=a1" in cell B1, is there away to add the asterisk to the formula as text?
I was able to find the syntax to add a cell within a text string but I am having a formatting problem. The cells which I am adding were using formulas that left decimals. Although I turned off all of the decimals on the cell, the values when I used the cell within the text string included all of the decimals and in some cases 6 or more decimal places. Is there a way to keep the formatting of the cell?
In a userform i have created an textbox. The user types some text in it and after clicking an OK-Button this text must be copied to a cell To allow multiple lines (enter = new line in textbox) i have changed the textbox property EnterKeyBehavior to True. The problem is that after copying this textbox1.text to a cell in see square blocks in the cell.
instead of line1 line2
I use the following code to copy the text into a cell:
Private Sub CommandButtonOK_Click() Dim TextboxText As String TextboxText = TextBox1.Text ActiveCell.Value = TextboxText Unload Me End Sub
how to avoid this  (should be like alt-enter in a cell)
I'm using Excel 2007. I would prefer to stay away from the scripting side of the house if possible. This is basically a 3 day forcast weather chart. The top is the actual weather data, the bottom portion is a color coded reflection of how the weather affects various things.
This product is created in excel, but will be embedded into a powerpoint. It will be updated daily. Here is what I would like. I want the color chart at the bottom to update automatically based on the data I enter above. I have a grasp that I can update the color through conditional formatting, although im not exactly sure what that will look like with all of those cells.
I also figured out that I can insert the letters in those lower cells with something similar to " =IF(C6>90, "T", "") " which would put in a 'T' for Temperature when the temperature got above a certain degree.
I run into a problem when I have multiple factors affecting a single cell. For instance on the example in day 2 of my image. Personnel are affected by Temperate AND UV Index. How would I set up that cell to pull that information from both of those cells and display it accordingly? I would prefer the letters to stay separated by the comma, but I could live without that. The default cell color will be green, with the potential to be yellow or red. I left a few examples of possible situations on day 2 and 3.
I am trying to create a spread sheet where I have different columns. The columns consist of name and dollar amount. Names may occur more than once. I would like to scan the column with the names and copy the different names to another column. Once that is done, I am hoping to copy the value or sum of all values associated with that name to the column beside it. I am going to have a long list of names with different values and I would like to sort them and add up those values. I have attached an example of what I am hoping to achieve. I am hoping my 'Sum of Values' is actually summed, I left it longhand for explanation sake.
I have the following code that updates columns A,B and C. The columns are hidden and have some 500 plus rows. Cell E2 reads the last entry in column A (a date, such as 1/22/10). I would like to add a line in the code that, if cell E2 equals todays date, will prevent a second update and display a message "Update Complete".
I am trying to write the code for adding double speechmarks for the number of columns on my spreadsheet with a column heading Notes. There are about 10 columns out of 30, and all of them need double speachmarks.
My manual process was to insert a new column in from of the 'Notes' column, use the concatenate function for example - =concatenate("""",A2,"""") and copy the function down the column. The I was geting rid of the formula by copypaste special values, transfering to my original 'Notes' column and at the end deleting the new column that I added at the beginning.
Is there a quick code to populate a concatenate formula via VB? If not, what code can I use to replicate my manual process via VB. On the quick note, the spreadshee has always the same number and order of columns, but number of rown is defferent each time.
I have imported a jpeg image into Excel but can not figure out how to move it to the "back" so I can add text on top of it. When I make it a "background", it makes duplicate backgrounds when I only want one. Is this the only way and if so, how do I set it so that I only have one image in the workbook?
My cells have up to 14 spaces If a cell as 1 or 2 characters -I want to add 6 spaces in front of text. If a cell as 3 or 4 characters-I want to add 5 spaces in front of text. If a cell as 5 or 6 characters-I want to add 4 spaces in front of text. If a cell as 7 or 8 characters-I want to add 3 spaces in front of text. If a cell as 9 or 10 characters-I want to add 2 spaces in front of text. If a cell as 11 or 12 characters-I want to add 1 spaces in front of text.
I am trying to say, if the cell 1 column to the left of the cell that matches the text in B2, in the cell range referenced in A1 (CWS) "added to the text "TM", is blank, then write "-", otherwise return the number in the cell 1 column to the left of the cell that matches the text in B2, in the cell range referenced in A1 (CWS)+"TM".
Cell A1 is a data validation list that refers to different ranges. The only difference between those named ranges and the named range I want to reference is the text "TM" comes at the end.
I've got a sheet with 3 columns A, B and C headed: "Surname", "Forename", "Membership No" with then a variable number of rows containing the data. There are no blank cells (the macro already checks for this).
In column D I have "Group Name" which I need to populate with GrpA for the first 250 members, GrpB for the next 250 and so on down until it stops with the first blank cell in column C. At the moment I'm happy for it to cope with up to 2000 members, i.e. 8 groups, though may need to extend it later (no danger of getting past GrpX though!).
Is there a way to add numbers when you have them in a cell treated as text?
For example, instead of writing the information in each cell by hand, I copy/paste the information to excel, but the format I get is this:
Cell A1: 25-35 Cell A2: 31-30 Cell A3: 2-12 etc.
In the above example, I am treating those cells as text because if I don't do it this way, some information will format it as dates. (For example, cell A3 it would read is 12-FEB (2-12), but it should be 2-12)
I want to add the values 25 + 31 + 2 = 58 and 35 + 30 + 12 = 77
Without using "Text to Columns" tab to separate the numbers in each cell?
I simply have an entire column with random things in it that I would like to add "www." to the beginning and ".com" to the end. I am very new to excel and I am sure there is an easier way than going through it manually and entering it.
I am working on making a time sheet log that will have employee name, 7 rows for days of the week and a row for total hours worked. each cell will either be blank in that row because employee has not worked that day or it will have numerical hours and the place the employee worked. We have many different job sites so text is subject to change. For example Monday employee 1 worked 8 hours at MRCR, so cell would state 8 MRCR Tuesday did not work so left blank. Wednesday worked 8 hours at CCR so will be 8 CCR. Thursday worked 8 hours at CU. so 8 CU in cell. Friday Saturday and Sunday left blank. How do i add create a formula that would be standard formula for each week for employee that would add numbers and omit text as well as ignore blank cells from week to week as the employee schedule changes.
I have names in A1, A2, A3 and A4 and in cells B1:C4 I have atendance for am and pm.What I need is it to count if someone was in on a day. So if B1 or C1 or both contains "in" then the subtotal will be 1 and added for each row, so it shows how many are in whether it be for 1/2 or a full day
If I have a row of data but ccasionally text is involved then I get the Error Message #valueI know if I enter sum(A1:A6) it works but if the values I wnat to add up arent next to each other it wont work i.e. I want sum(A1+C1+E1+L1+X1) but if any of the cells contain text I get the value error