I have a spreadsheet which I automatically generate using VBA. One of the columns lists account numbers. After the macro is complete, the account numbers are non-numeric and left justified. However if I select one of the account numbers by clicking on its cell, and then edit the account number in the formula window, it changes the cells property to numeric and right-justifies the cell.
I have two sets of data that I need which is obtained from one source.
Basically, the stats I am working with in excel are Processing Time (minutes/seconds) and Volume Per Hour. I desperately need a formula that will allow me to convert the processing time into Volume per hour.
Example: Average Handle Time, 7min 7 seconds = x per hour. If it was just 7 minutes flat I could simply divide that into 60. I also can't make it 7.7 and divide that because 7.7 doesn't equal 7m7s.
Does anyone have any thoughts on a way to do this? I found a conversion chart online that allowed me to do this work manually 'Conversion Chart: Fraction of an Hour to Minutes', but I haven't determined a way to make a formula out of this.
I'm trying to convert a number from word to a number in excel. Example: 10-12 input in word to a cell in excel. Unfortunately it treats it as a date an gives me 39002. I want to be able to use both numbers and add them together to get -2 not 39002. How to format the excel spreadsheets in order to complete this calculation.
Sheet1 (Also named "TicketNames") and Sheet 2 ("Day1"). On TicketNames I have 4 Columns the first 3 columns with about 5 names per columns. Each list of five are given a specific Name ("One","Two","Three"). The last column is just a list for Day1 dropdown menu. (3 names, "One", "Two", "Three").
On Day1, I have a validation list on A1 which will allow the user to select either ("One, Two or Three").
On B1, another dropdown menu, but it will only show the items related to the selection they made on A1.
My problem is that on A1, instead of having "One" show up, I want it to say "$1" for One dollar. But because it is a number not a text it won't allow me to use a validation list using this.
I'm trying to make a table of the total amount of a liquid used throughout the day. Here is what I am trying to do: In cell D4, I want to be able to enter something similar to the following: 3cup+2bottle+1liter
and by doing so, Excel can automatically recognize that 1cup is 8oz, 1bottle is 17oz, and 1liter is 34 oz because of the reference chart provided on the side. Also, it would be able to notice the 3, 2, and 1 amounts so it would multiply accordingly so it would know to do this: (3*8)+(2*17)+(1*34)
and then put the calculated amount in the cell. The correct answer should be 92oz. Is there a way for Excel to recognize the conversions (i.e. whenever it sees 'cup' it will multiply by 8) and multiplication factors (i.e. 3, 2, 1)?Is there a formula I can enter that I can just "drag" down to the upcoming days in column D?
I know I can just do something like this: (3*G4)+(2*G5)+(1*G6).
I received a request from a coworker regarding custom formatting some numbers in his spreadsheet. Those numbers are serial numbers of 20 characters long. Sometimes in my files I use this custom number formatting ###0 and its enough for the data I handle. But when I tried to use it in his spreadsheet, the following shows:
8456891070060510000
The cell must look like this: 08456891070060510302
The reason to have it like this is due to a Delivery Program requirement to deliver Set-top Units for repair. The Delivery Program do not recognize other format than the above. My coworker takes the data from a spreadsheet, and the spreadsheet needs a custom number format to display the correct number.
find a custom number format to be able to display as my coworker need it??
I'm trying to determine if the last character of a cell is a number or not a number. So in a cell I may have a string like:
ZXC123
or
ZXC123A
If the last character is not a number I want the letter returned. So I thought I could use a formula like: =IF(NOT(ISNUMBER(RIGHT(D88,1))), RIGHT(D88,1),""). However for the string ZXC123 it still returns '3' so anyone have any ideas how I can do this?
In column N I would like a formula to add 3 columns,e.g. C and D and F. The problem is I want the symbol ~ replaced by 1.0 for calculation purposes.I need a solution in 1 column,if possible. I have made a few efforts,but just not getting there. See attached section of sheet.
I'm trying to test whether the third last character (3 and B) is a text or not.
As you can see, the reslts are both TRUE, but I'm expecting to see that the first one should be FALSE, as '3' is a number right?
Likewise, if I replace the formula with ISNUMBER instead of ISTEXT, the results are both FALSE, but shouldn't the first one be TRUE, again, because the '3' is a number?
Have I missed something in the formula, or is there a better way of expressing this formula?
I have a number and i wanted to convert it to a number or character.
Ex.
if i have value of 7, should be converted to a character of "*", the output will be 7 times of "*" (*******) if value is 10, so it will be 10 times "*". (**********)
I have a cell range that is passed as a String to a function, and within that function I need to extract only the Column letter. If it was just 1 letter it would be simple, but it may be 2, so does anybody know of a way of testing to see if the second character is a letter or a number?
They have a list of data numbers which are yy/#####/@@@@@ (2digit year/casenumber/alphanumeric code). Where some people have typed in the code wrong (6 or more digits in case number) we want to know is there a way of doing this.
Ideally I want something that says "If 9th character is a slash then yes, if not no" or "if 9th character is a number then yes, if not, no".
Example of data is (where we want third option highlighted as erroneous (6 not 5 numbers in middle)
I need to limit the number of Characters that can be inputted to the popup InputBox to just 31. How do I set MaxLength? Code I am using is listed below.
Code:
Sub NewRecipeSheet() Dim ws1 As Worksheet Set ws1 = ThisWorkbook.Worksheets("1. Recipe Master Sheet") ws1.Copy ThisWorkbook.Sheets(Sheets.Count) Application.Goto Reference:=Sheets("1. Recipe Master Sheet").Range("A1") Range("A1").Value = InputBox("Menu Item Name?") End Sub
I have part numbers in a column that look like the numbers listed below. All numbers begin with A, so the default sort begins with the first number. I would like to sort the list using the middle three numbers denoted by the red x's in the first example. Is this possible?
A 385 XXX 0055 A 385 466 0060 A 385 466 0160 A 385 584 7024 A 387 284 0185 A 388 017 0160 A 389 260 1485 A 389 262 0293 A 389 262 4935 A 389 262 9134 A 389 267 2819 A 389 267 3319 A 393 328 0065 A 398 267 3319 A 403 990 0210 A 403 997 0620 A 404 260 0074
I have an Excel file that quiries Google for driving distance (someone helped me with this.) It returns the correct miles but has some 'extra' characters. Example: 31.1&nb or 886&nbs
So the answer always has &nbs after the mileage. I tried the following function which works when there is a decimal but fails when there is not. =REPLACE(MID(E2,1,SEARCH("&",E2,1)-1),SEARCH(".",E2,1),1,","). Can this be done with a function or must it be VB script? Which is fine if it is.
Pretty sure this has been asked but have searched the forum to no avail, but I need to extract the numbers from a value which has a letter on the end.
eg. 1000x I need to get out the 1000 or 2p I need the 2
I have sooooo many values ranging in numbers of digits, so just basic left(A1,2) won't work, I'm sure I've seen a search or find function but don't know how to use them!
I need to make a list of Part Numbers in quotation marks. If a number of digits of a P/N is less than 13 a number of space characters has to be added to make the string 13 characters long.
We have example P/N: 1234567890123 12345678 123456
should become: "1234567890123(no extra space characters should be filled-13chars)" "12345678(5 extra space characters here)" "123456(7 extra space characters)"
Is there a function that inputs a cerain number of a specific character ("space" in this example)?
I have a requirement where I have to count number of "-" character in particular row
I am using a excel database for promotion records of my team....The data base works as follows. I am using countif function to calculate number of associates in specific grade for specific month. One associate is getting promoted to next level, I will add one more row with the same employee name with change in designation and diff start and end date. I want to generate report for monthly promotions, The report should depict number of promotions in each month. ie in Jul there is one promotion from trainee to Engg for EMP1. There are hundreds of employees, eligible for promotion in each month.
A B C D E F G H I J K L Emp Name Desig From Date To Date Apr-13 May-13 Jun-13 Jul-13 Aug-13 Spt 13 Oct-13 Nov-13 EMP 1 trainee 4-1-13 6-30-13 trainee trainee trainee - - - - - EMP 1 Engg 7-1-13 11-30-13 - - - Engg Engg Engg Engg Engg
I need a formula which can pick out the names from string of text, each name follows "-->", the number of names in each cell differs and is undefined. The result needs to be posted into each column following these cells.
An example of a cell is below:
"W/L FIGHTER Str TD Sub Pass EVENT METHOD ROUND TIME
Loss -->--> Tom Aaron -- -- -- -- Strikeforce - Hen... U. DEC 3 5:00
-->--> Matt Ricehouse -- -- -- -- Dec. 4, 2010
Win -->--> Tom Aaron -- -- -- -- Strikeforce - Hea... SUB 1 0:56
I have tried using text to columns but everything after the first line is not recognised (when I click finish anything after "TIME" is simply not there).
I've tried and tried and I con not get it right. In A1 I have a validation, it onlu allows to enter a 6-digit number between 100000-899999 or the same numbers with the letter I in front, that is I100000-I899999. Now I need a macro to check that cell F2 is not empty if the value in Cell A1 is above 299999. And this should also apply if there is an I in front. The function for the validation is:
If Range("A" & i).Value > "299999" Then If Range("F" & i).Value = "" Then MsgBox "Indicator missing on row " & i Application.Goto .Range("F" & i) Exit Sub End If End If
It works wor the nubers without the I but it demands a vlaue in F on all I numbers and I only want it for >I299999.
I want to force my user to input a date in a userform. I have a normal Textbox and assumed i'd be able to set the properties to mean that imput had to be an integer and the format had to be "00/00/00" but I can't see how to do this.
I am looking for a way to show the character location number of a text file, possibly in the first row or a macro that I can run at any given location that will give me the location # I am currently viewing.
Currently, when I open the file I can see the character # at the opening screen (see attached file) but they disappear when it actually converts. I would like to be able to keep the character location ruler once the file is opened in Excel so I don't have to manually count.