numeric

  1. S

    Assign empty string to numeric variable

    I have a form in which I assign some values With Me Let lBudgetID = .txtBudgetID.Value Let lMonthNo = .txtMonth.Value End With but if the fields txtBudgetID and txtMonth are empty, the code will fail since it's not possible to convert empty strings to numeric variables. How can I...
  2. A

    Numeric Identifiers for Multiple Groups (vba?)

    Hi there, Currently I have a set of data consisting of an unique identifier (ID), four product properties (Brand.1.1, Brand.1.2, ...), and a preference. What I would like to do is for each product category (i.e. Brand, Price, and Preference) is assign numeric identifiers to values - that is...
  3. T

    How to average cells with numbers that also contain non-numeric characters?

    I have a worksheet with numeric data, where some are preceded by non-numeric characters. I would like to average the all the values in the row, but the average function does not seem to consider the entries as numeric, so it didn't work. <tbody> A B C D D 1 <1.2 <2.2 3 <1.5 <2...
  4. D

    VBA data validation

    Hi, Cell H16 has data validation which uses one of many ranges from another sheet, as its source for a droplist, based upon entry in E16. What I need to do is limit the input of H16 to numeric values only. At the moment a user can choose a number from the list which is good. They can also type...
  5. A

    Vlookup for data (yield only numeric values)

    I am working on a spreadsheet and need to automate data reporting. I update the spreadsheet with data on a daily basis. Consider the table below: <tbody> A B 1 2 Wednesday, December 26, 2012 6300 3 Thursday, December 27, 2012 NC 4 Friday, December 28, 2012 NC 5 Monday, December...
  6. S

    Count numeric characters in a string

    Hi All I've played with this for a bit now and I think I have to concede.... How do I count the number of numeric characters in a particular cell? Desired results for example: 997345TECH = 6 SAG857832 = 6 TECH413567/554432 = 12 Note I'm not after unique numeric characters just a count of...
  7. R

    If statement/and statement with 4 possible results with numeric range

    Hi, I am working on a report and need some assistance. I am working with Windows XP Professional and Excel 2007. My report is looking for a formula that will reflect if the goal is in jeopardy of being missed. If cell A2 = "COMP" the result should be "NO" If cell A2 = "PENDING" and cell B2 is...
  8. S

    Passing a function defined in a cell to a VBA function

    I have a numeric integration function using Simpson rule as follows: Function SimpsonInt(a As Double, b As Double, n As Integer) As Double 'This function calculates the area under the curve y(x) from 'x=a to x=b using Simpson's rule with n intervals ' 'Local variables Dim h As Double, sum As...
  9. 03856me

    Require 6 digits in UserForm Textbox

    I have many textboxes on a UserForm and the value entered must be 6 numeric digits, how can I do this in my code? I understand how to limit with code to numeric numbers in the Exit event but can't find how to REQUIRE all 6 digits be entered.
  10. F

    cells numerical formatting

    Can anyone suggest please, what format could I apply, so that by entering "70" I get the result in a cell "70000"?
  11. G

    Beginner macro user - Autofill macro required

    Hi everyone, I am using Excel 2007. I don't have any programming experience and I have managed to create a macro that will do autofill once (with numerical increments of one). But now I need a macro that will: Autofill series in increments of one Work in a single column - with unknown number...
  12. L

    How To: Refer to first cell in a range

    Hi, So with some help from users on this board I have put together some code which will define a bunch of ranges for me. I need to reference the first, second, third, etc cells in the ranges I've defined now. How can I do that? As an example: The code might run through the data and say...
  13. S

    Separating Alpha Numeric into 3 cells

    Hello everyone! I have a large data file with the following type of strings: 13G08 13G09 13G10 18C17 18C18 ... I need to separate into 3 columns (A,B,C) like this: A B C 13 G 08 13 G 09 13 G 10 18 C 17 18 C 18 I know there is probably a good way to do this but I...
  14. Default300

    ?How To: Return Built-In Constants in Text / String form (not Numeric / Index form)

    I am using the Immediate Window to Read values of Properties. eg: Debug.Print "CommandType: " & ActiveSheet.QueryTable(1).CommandTypeSome Property Values are Built-In Constants... (eg XlCmdType) PROBLEM: The problem is that in the immediate window, they are returned in the Numeric / Index...
  15. LearningOnTheFly

    How do I Assign a Numeric Value to Combo Box Selections that are a Text DataType??

    Hello everyone! Help! I have created combo boxes in several tables in which I need to assign a numerical value to each option chosen so I can calculate a numerical “score” based upon what each user has selected. For example: Not Applicable = 0 Introduced = 1 Emphasized = 2 And so...
  16. A

    Most Difficult Problem with Numeric Cells?

    I have values in cells of Columns G and H (I got the values by COPY & PASTE SPECIAL, VALUE from website) which CANNOT be done calculations with, for example I cannot SUM() all values in Column G. Even changing the cells' format to NUMBER or GENERAL or TEXT cannot work. Pls HELP by giving me...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top