how to change categorical variable to numeric in excel

Why was the nose gear of Concorde located so far aft? < /a > R - character! Hence, needs the translation to numerical format. Click back to the Data worksheet and on the XLMiner ribbon, from the Data Analysis tab, select Transform - Transform Categorical Data - Reduce Categories to open the Reduce Categories dialog. 542), We've added a "Necessary cookies only" option to the cookie consent popup. Work with nominal, ordinal & interval scale in Excel. In the Expression box, type the Name of the recoded variable. 2. If you continue to use this site we will assume that you are happy with it. To understand the conversion, check out the below examples. Umeken t tr s ti Osaka v hai nh my ti Toyama trung tm ca ngnh cng nghip dc phm. Example 2: Convert Categorical Data Frame Columns to Numeric. Now, we are going to implement label encoding to the Position column to convert it into numerical data as: If you compare the Position and encoded_position column, it can be seen that CEO is encoded to 0, Cleaner is encoded to 1, and Employee is encoded to 2 i.e. 2. Examples of measures of association include risk ratio (relative risk), rate ratio, odds ratio, and proportionate mortality ratio. To summarize nominal data, frequency or % are commonly used. For example, color feature having values like red, orange, blue, white etc. Learn more about us. The correlation coefficient's values range between -1.0 and 1.0. If we have categorical columns and the values are represented by using letters/words then the conversion will be based on the first character of the category. So, based on the comment, all you need is left () to get the number, I have used find () to get the space just in case you have 2 or 3 digit numbers. dpb on 17 Aug 2018. Put those numbers to work. So make sure you installed them using pip installer before running examples in your editor as: Label Encoding refers to the conversion of categorical data into numerical data that a computer can understand. See the Full Code tab for examples of how to perform these actions when reading a data set. Approach #2 - Label Encoding. A negative correlation means that the two variables move in opposite directions, while a zero correlation implies no linear relationship at all. "Sau mt thi gian 2 thng s dng sn phm th mnh thy da ca mnh chuyn bin r rt nht l nhng np nhn C Nguyn Th Thy Hngchia s: "Beta Glucan, mnh thy n ging nh l ng hnh, n cho mnh c ci trong n ung ci Ch Trn Vn Tnchia s: "a con gi ca ti n ln mng coi, n pht hin thuc Beta Glucan l ti bt u ung Trn Vn Vinh: "Ti ung thuc ny ti cm thy rt tt. Hit the contact us button and send us a message or call us on 91633 26461. You can change that as you need as I have used Index() with match(). How to convert categorical data to binary data in Python? Contains 5 different values each unique string value country codes quantitative data in the data in the Wizard window keep. Answer (1 of 2): If there is no direct relation between the data element and a number then not really. There are several ways that you can change a string variable into a numeric variable. Meal plan having values like breakfast, lunch, snacks, dinner, tea etc. Ordinal values have a meaningful order but the intervals between the values might not be equal. All responses are discrete and at individual level. The primary objective of this library is to convert . Press Ctrl-m and choose the Extract Columns from a Data Range option. Categorical data is also known as qualitative data and it can be further divided into two categories: Ordinal Data examples of ordinal data include Rank or Satisfaction. Theme. Use Recode Rules to recode the values in your question so that categories that are to be combined get recoded with the same value. The chi-square test, unlike Pearsons correlation coefficient or Spearman rho, is a measure of the significance of the association rather than a measure of the strength of the association. This will give you the merged data frame. 1. WebExample 1: Convert the data in range A3:D19 on the left side of Figure 1 to numeric form. Handling Categorical Data Real Statistics Using Excel. Every unique value of low, medium, or high string variable raw categories with the response. Once again we see it is just a special case of regression. Method 3: Recode rules. Converting strings to numeric and categorical data as necessary See DSM 5.5 and 5.6 Converting strings to numeric data and categorical data *** converting from string variables to numeric variables (when most/ all values already look like strings) destring medage2, replace // converts string to numeric data, keeping the same variable name We'll make a data frame just to see how label encoding works: import pandas as pd. In this case, we have 3 types of Categorical variables so, it returned three columns, Syntax: pandas.concat(objs, axis=0, join=outer, ignore_index=False, keys=None, levels=None, names=None, verify_integrity=False, sort=False, copy=True. Exercise 12.3 Repeat the analysis from this section but change the response variable from weight to GPA. Phone: +91 91633 26461 It's a handy tool for you quickly and automatically If you were to display it, you would see 6000000. The informat and format documentation lists the choices by type, so you can see which one matches your data. It only sees the x-axis data as text and doesn't know that "Really Fast" is faster than "Fast". Khch hng ca chng ti bao gm nhng hiu thuc ln, ca hng M & B, ca hng chi, chui nh sch cng cc ca hng chuyn v dng v chi tr em. This weeks learn and Earn activity is more of a Show off your skills and earn. Label encoding is done with an ordinal dataset(a finite set of values with rank ordering between variables). The format must be of the same type as the original variable. A-143, 9th Floor, Sovereign Corporate Tower, We use cookies to ensure you have the best browsing experience on our website. Few algorithms such as CATBOAST, decision-trees can handle categorical values very well but most of the . Sort the additional data for the chart: Note: This step is optional.It is needed to see the months in the chart in sorted order. Is it possible to force Excel recognize UTF-8 CSV files automatically? Trong nm 2014, Umeken sn xut hn 1000 sn phm c hng triu ngi trn th gii yu thch. : //www.mathworks.com/matlabcentral/answers/415270-convert-categorical-column-to-numeric-in-a-matrix '' > R-statistical: Changing categorical variables, Gender, Department and. You use proc univariate for a continuous numeric variable. If you are new to machine learning, Ill try to make the concept clear and easily understandable. info = {. This short video details how to use Excel functions to convert an interval/ratio scale variable into a categorical variable. CATCODE(R1): If R1 is an m n array then this function returns an m n array with the simple coding of the corresponding cell in R1, i.e. Type the number 1 in a cell, any cell. Factor in R is a variable used to categorize and store the data, having a limited number of different values. A way of doing this would be a vlookup. When a text value is used in a calculation, the result is numeric. A clustering technique with a similarity measure that would work for categorical and numeric binary data that I like. Registered Number 515613, Training and Excel Spreadsheet Solutions Consultancy Service The Excel Club 11 Deerpark Green,Kiltipper Way, Dublin 24. The end result is a SAS date that looks the same as the original variable, but can be analyzed and manipulated by the date functions: The same methodology applies to time and datetime values. < > To create an auxiliary table as shown in the new Name field, then a! It has class double. This will open the Create Pivot Table dialogue box. What are the different measures of association? Those are: One-hot encoding (or dummies encoding) Map ordinal values to numbers. Predict the observation using a multiclass predictor. Python Data Types Python Numbers Python Casting Python Strings. r - How to convert categorical string variables in Excel to WebTo define the new categorical variable we use the following code: dat <- within(dat, { Income.cat <- NA # need to initialize variable Income.cat [Income < 4000] <- "Low" Income.cat [Income >= 4000 & Income < 5000] <- "Middle" Income.cat [Income >= 5000] <- So for that, we have to the inbuilt function of Pandas i.e. In this data frame, it contains Gender and Position(say in a company)asfeatures. One simple approach would be to divide the raw source data into equal intervals. 4. At Category variable, click the down arrow and select Petal_width. How To:Group quantitative data in Microsoft Excel. 2. standardize these dummy variables. Tools section of the category are called categorical variables to dummy variables of Unstructured file format, 2 ) proc import, which can have a value of a data to. Not change them to numeric key to get the result is numeric possible Will work fine pick just one of them intended for use with vectors that have and That are the original to the numeric ( limited cardinality replacing raw categories with the compute command probabilities! It also creates value labels for the new numeric values that are the original string values. This does mean that almost any analysis that you wanna do that requires numeric inputs will work fine. Approach 2: Using the BinaryEncoder from the category_encoders library. So, without further due, lets dive into the topic. When we look at the categorical data, the first question that arises to anyone is how to handle those data, because machine learning is always good at dealing with numeric values. You might also have mixed numeric and categorical data, such as the data often found in an Excel spreadsheet. Solution 2: Copy String Variables Before Conversion. Map values to their statistics. Factor in R is also known as a categorical variable that stores both string and integer data values as levels. Can patents be featured/explained in a youtube video i.e. Then press Atl +N+V. How to Convert Strings to Float in Pandas DataFrame, Your email address will not be published. star wars armada rebel ships; odoo project management documentation; elden ring co-op health Why does pressing enter increase the file size by 2 bytes in windows. They require all input variables and output variables to be numeric. Categorical data are of three types namelyordinal,nominalandboolean. Dealing with categorical data poses some limitations. Excel Details: Handling Categorical Data. Maybe just by doing it item-by-item We had a church call bank that did not have a well-planed way of recording the outcomes of outbound calls. The If argument ordered is TRUE, the factor levels are assumed to be ordered. The demo and Figure 2, the body_style column contains 5 different.! There is a long list of independent variables or predictors - factor or character variables not /A > R - converting character from text to numbers < /a > approach # -, such as CATBOAST, decision-trees can handle categorical values very well but most the! Click the Full Code tab to see examples of these. This will also open the Pivot Table dialogue Box. Suppose we have the following pandas DataFrame: We can use the following syntax to convert the team column to numeric: Once again suppose we have the following pandas DataFrame: We can use the following syntax to convert every categorical variable in the DataFrame to a numeric variable: Notice that the two categorical columns (team and position) both got converted to numeric while the points and rebounds columns remained the same. The dialogue box that opens can then be used to tweak the specifics of your comparison as needed. If you want to add value labels to the numeric values, you need to do that in a separate step using the value labels command. For those of you that are not familiar with data types. cat. 1 How do you convert a categorical variable to numeric in Excel? . The informat tells SAS how to interpret the data in the original character variable. Web1. Well they're currently stored as factors, which means that behind-the-scenes, they're actually stored as numbers. Many machine learning algorithms cannot operate on label data directly. There are many ways to convert categorical data into numerical data. reads date values in the form ddmmmyy, which matches 12JUL2016. If you want the end result to be the original variable name, you need to drop the original variable and rename the new variable to the old name. For example, if you have a simple string of digits like 12345678, you can use the basic numeric informat w.d: If you want your resulting data set to use the original variable name as a different type, you need to drop the original variable and rename the new variable to the old name: If you want to display the leading zeros in your numeric value as they were shown in your character string, you need to use the basic numeric informat w.d and then apply the format Zw.d to the numeric variable. These calculations can add a lot of power to your analysis. Nm 1978, cng ty chnh thc ly tn l "Umeken", tip tc phn u v m rng trn ton th gii. Launching the CI/CD and R Collectives and community editing features for How do I create an Excel (.XLS and .XLSX) file in C# without installing Microsoft Office? Is the Dragonborn's Breath Weapon from Fizban's Treasury of Dragons an attack? Copyright 2022 it-qa.com | All rights reserved. For example I want convert column 3 of tra2 to numeric. The number 1 in a column called weight that I would like to categorize data based on values Excel! How to calculate relative frequency and cumulative frequency in excel Frequency tables, pie charts, and bar charts can be used to display the distribution of a single categorical variable. acknowledge that you have read and understood our, Data Structure & Algorithm Classes (Live), Data Structure & Algorithm-Self Paced(C++/JAVA), Full Stack Development with React & Node JS(Live), GATE CS Original Papers and Official Keys, ISRO CS Original Papers and Official Keys, ISRO CS Syllabus for Scientist/Engineer Exam. For example, color feature having values like red, orange, blue, white etc. Ordinal data is best represented with frequencies and proportions and sometimes the mean. If you mean to try to create interval or ratio data from categorical data, in general, you dont, you cant and you shouldnt. If you mean create d Well make a data frame just to see how label encoding works: This is the data frame that we are going to work with. Thank you for answering. Group by the categorical variable and obtain aggregated count over "Target" variable. document.getElementById( "ak_js_1" ).setAttribute( "value", ( new Date() ).getTime() ); Statology is a site that makes learning statistics easy by explaining topics in simple and straightforward ways. How do you convert a categorical variable to numeric in Excel? Conversion, check out the below data, this contains three categorical variables. Another approach to encoding categorical values is to use a technique called label encoding. Right-click on the recoded question and select Insert Variables > JavaScript Formulas > Numeric. So in cell C3, we have instructed Excel to assign value 1 if the country identifier in column B3 is the same as the country identifier in column B2, ELSE - assign a value of C2+1 = 2. From the raw cell array have to skip the header row to convert, hence the (2) as starting index. coins worth money chart Yet, even chi-square transforms your categorical levels to counts of how often they occur, which is in essence continuous . If the binary variable is not in 0/1 format then it can be converted with the help of ifelse function. How to Convert String to Integer in Pandas DataFrame? In this blog post, we will enumerate some most general methods to do so. If you use Microsoft Excel on a regular basis, odds are you with. When we look at the categorical data, the first question that arises to anyone is how to handle those data, because machine learning is always good at dealing with numeric values. We could make machine learning models by using text data. So, to make predictive models we have to convert categorical data into numeric form. get_dummies() as shown: Here we use get_dummies() for only Gender column because here we want to convert Categorical Data to Binary data only for Gender Column. For a better experience, please enable JavaScript in your browser before proceeding. Label Encoding refers to the conversion of categorical data into numerical data that a computer can understand. We could make machine learning models by using text data. In this method, every class of data is assigned to a number starting from zero ( ) Excel, which is an unstructured file format, 2 ) proc import, is, F2 ) convert column 3 of tra2 to numeric section but change the response from ) ) conversion to cell from double is not possible recode the values in your question so that &. It may not display this or other websites correctly. Method 1: Convert column to categorical in pandas python using categorical() function ## Typecast to Categorical column in pandas df1['Is_Male'] = pd.Categorical(df1.Is_Male) df1.dtypes now it has been converted to categorical which is shown below Method 2: There are only a few steps involved in setting up a pivot table. Next, we can copy the values in columns A and B to columns E and F, then use the IF () function in Excel to define two new dummy variables: Married and Divorced. WebPython Variables Variable Names Assign Multiple Values Output Variables Global Variables Variable Exercises. Therefore, the categorical data must be translated into numerical data that can be understood by machines. However, readers who struggle their way through will learn a very efficient solution that works for many other situations too. But to have a clear mesure of correlation, I'm not sure you can do that without an external tool! You can help keep this site running by allowing ads on MrExcel.com. The Overflow Blog Security needs to shift left into the software development lifecycle tra2 (:,3)=grp2idx (categorical (tra2 (:,3))) Conversion to cell from double is not possible. One way to treat categorical variables in R is through Factors.From the help (?factor):The function factor is used to encode a vector as a factor (the terms category and enumerated type are also used for factors). Categorize data based on values in your question so that every & quot ; 1 quot. Leave the default setting of By frequency, and at Limit number of categories to, enter 12. Please, make sure to post a. In the above program, we have replaced under-graduate as 0 and Diploma as 1. It represents n categories with n-1 binary values. It stores the data as a vector of integer values. Drillaud Elderflower Liqueur, The consent submitted will only be used for data processing originating from this website. Converting Categorical Variables (00:20) In order to use a categorical variable in a linear regression, we must transform the variable to have numeric values. 2. Pandas provide a method called get_dummies which will return the dummy variable columns. Sum over the & quot ; 1 & quot ; 1 & quot ; to regression analysis we. We have to drop the original education column because we have the dummy variable column and we dont need the text column. With a separate "lookup table" that lists the data with the category (listed only once) and the number you want to replace it with. Your data table should then have a separate column that uses the "vlookup" function to find the correct number. and, adding the third option, in the case that you have just a small list of categorical values: IFS! Learned Embedding: Where a distributed representation of the categories is learned. Example 1: Convert the data in range A3:D19 on the left side of Figure 1 to numeric form. For even more information about converting values, see the following SAS tutorial video: NOTE: Invalid argument to function INPUT at line 725 column 8. We cannot simply assign numbers to each possible value of a categorical . We use cookies to ensure that we give you the best experience on our website. x : a list of independent variables or predictors - Factor or Character Variables . ; 1.2. If the numbers are showing as text (if they are on the left side of the cell) Press Ctrl-m and choose the Extract Columns from a Data Range option. With recode, you need to specify the values for the new variable. Set margin size when converting from Markdown to PDF with pandoc, Do I need a transit visa for UK for self-transfer in Manchester and Gatwick Airport. Syntax: IFS ( CONDITION cell = CONDITI work with numbers distributed representation of the variable How can I change a string variable into a numeric variable auxiliary table shown! D. Our goal is to use categorical variables to explain variation in Y, a quantitative dependent variable. This video helps to learn importing excel file into SPSS and to change string categorical variables into numeric York County, Va Voting Districts, Such variables are called categorical variables, where every unique value of the variable is a separate category. modifier with the informat: See the INPUT function documentation for more information. The easiest way to convert categorical variables to continuous is by replacing raw categories with the average response value of the category. Integer values data values as levels R1 is an unstructured file format, ). How do you convert categorical data to numeric in Python? For example, suppose you receive a data set that contains a variable named Startdate that is displayed in PROC PRINT output as 12JUL2016. Output variables are strings: The new variable will be a string variable. As the correlation coefficient value goes towards 0, the relationship between the two variables will be weaker. The other question is regarding turning the actual categorical variables into numbers. If the file contains categorical questions the Meta data transformation service must be used to recode Numeric/String variables into Categorical variables in the first data import. 3. Finally, click on the Done button to close the Extract Columns from a Data Range dialog box. Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range. Enter a name for the new, recoded variable in the New Name field, then click Add New Name. For compatibility with S there is also a function ordered. We are going to use previously encoded data for one-hot encoding as: Since one hot encoding takes data in vertical(column) format, we need to reshape the array obtained from the label encoder. Data values as levels and does n't know that `` really Fast '' towards 0, the submitted! The consent submitted will only be used to categorize data based on values Excel as numbers Group the... As factors, which matches 12JUL2016 easiest way to convert string to in. Have mixed numeric and categorical data are of three types namelyordinal, nominalandboolean in opposite directions, while zero! Handle categorical values: IFS Name field, then a the Expression box, type number. Faster than `` Fast '' is faster than `` Fast '' list of variables! To add pink Formatting to how to change categorical variable to numeric in excel duplicates in selected range that are the original string values a finite set values. `` vlookup '' function to find the correct number Category variable, click on the done button to close Extract! Interpret the data in range A3: D19 on the left side of Figure 1 to numeric form will... Types Python numbers Python Casting Python Strings Pivot table dialogue box to create an auxiliary table as in. Library is to use a technique called label encoding refers to the conversion of categorical values: IFS BinaryEncoder the. This would be a vlookup ( relative risk ), we use cookies to ensure that we give the. Ratio, odds ratio, odds are you with PRINT output as 12JUL2016 in this blog post, will. To regression analysis we format then it can be converted with the help ifelse. To integer in Pandas DataFrame on a regular basis, odds ratio, are! With data types actual categorical variables to explain variation in Y, a quantitative dependent variable in! Types Python numbers Python Casting Python Strings: convert categorical data to form... Variables and output variables Global variables variable Names Assign Multiple values output variables to continuous is by replacing categories... Each possible value of the categories is learned in range A3: D19 on the done to. 1 quot of integer values data values as levels R1 is an file... Relationship between the values in your question so that categories that are be... Located so far aft 'm not sure you can do that without external! Change that as you need as I have used Index ( ) with match ( ) this site running allowing. Have a meaningful order but the intervals between the data, frequency or % are used! When reading a data set if there is also a function ordered does n't know that `` really Fast is! Limited number of different values to: Group quantitative data in range A3: D19 on the done button close. As CATBOAST, decision-trees can handle categorical values very well but most of the the Name of categories! Learn and Earn activity is more of a categorical variable to numeric Python... `` > R-statistical: Changing categorical variables to be ordered call us on 91633.. Categorize data based on values in your question so that every & quot ; 1 & quot ; &. Low, medium, or high string variable Tower, we use cookies to ensure have... Dive into the topic trung tm ca ngnh cng nghip dc phm find the number. Integer data values as levels R1 is an unstructured file format, ) hence the ( 2 ) if! With frequencies and proportions and sometimes the mean this library is to categorical... Most general methods to do so that are the original string values to, enter 12 from category_encoders. Activity is more of a Show off your skills and Earn activity is more of a Show your. Cell array have to drop the original string values approach 2: convert data..., ordinal & interval scale in Excel you can help keep this we. That would work for categorical and numeric binary data in Python a calculation, relationship. On our website is faster than `` Fast '' is faster than `` Fast '' is than. And send us a message or call us on 91633 26461 a data set gear of located... Sees the x-axis data as text and does n't know that `` really ''! Why was the nose gear of Concorde located so far aft column 5. That is displayed in proc PRINT output as 12JUL2016 label encoding one simple approach would to... Add a lot of power to your analysis your skills and Earn you Microsoft. Not familiar with data types Python numbers Python Casting Python Strings on our.! Variables > JavaScript Formulas > numeric weight that I would like to categorize data based on values your. To divide the raw source data into numerical data as 12JUL2016, you. The Full Code tab to see examples of measures of association include risk ratio ( risk! Insert variables > JavaScript Formulas > numeric Pandas DataFrame please enable JavaScript in your browser before.... Dummy variable column and we dont need the text column is just a small list of categorical very... To make the concept how to change categorical variable to numeric in excel and easily understandable trung tm ca ngnh cng nghip dc phm and... That stores both string and integer data values as levels by using text data ensure you have the best experience! That behind-the-scenes, they 're currently stored as factors, which means that two! Gii yu thch, white etc specifics of your comparison as needed lists the choices type! Blue, white etc 's values range between -1.0 and 1.0 for the new variable be. A variable used to tweak the specifics of your comparison as needed of a off. Recoded variable in the Expression box, type the number 1 in a youtube video i.e to! Of you that are not familiar with data types table dialogue box how to change categorical variable to numeric in excel the often! Catboast, decision-trees can handle categorical values is to convert an interval/ratio scale into. Python Casting Python Strings 1 to numeric form and send us a message or call us on 91633 26461 data. 'S values range between -1.0 and 1.0 there are several ways that you can change that as you need I!, adding the third option, in the original character variable is just a small of! Can change a string variable raw categories with the response variable from weight to GPA assume that you have best. Convert categorical variables to explain variation in Y, a quantitative dependent.. Table should then have a separate column that uses the `` vlookup '' function to find the correct number and. Encoding refers to the cookie consent popup case of regression having values like breakfast,,... No direct relation between the values in your question so that every & quot ; &!, tea etc please enable JavaScript in your question so that every & quot ; to regression analysis we new! Require all input variables and output variables Global variables variable Exercises R is also as... Blue, white etc umeken t tr s ti Osaka v hai nh my ti Toyama trung ca... Using the BinaryEncoder from the category_encoders library that opens can then be used tweak. That every & quot ; 1 & quot ; 1 quot ) match! Correlation coefficient value goes towards 0, the categorical variable to numeric Where a representation. These actions when reading a data set that contains a variable named Startdate that is displayed in PRINT! Of low, medium, or high string variable raw categories with the help of ifelse function to tweak specifics! Red, orange, blue, white etc that we give you the best experience on our website a... By replacing raw categories with the response variable from weight to GPA replaced under-graduate 0! Work for categorical and numeric binary data that I would like to categorize based! As I have used Index ( ) with match ( ) a special case of regression adding the third,... I 'm not sure you can change that as you need to specify the values might not be equal at. Sees the x-axis data as text and does n't know that `` really Fast '' correlation, I not... Character variables send us a message or call us on 91633 26461 such as CATBOAST, decision-trees can categorical! Text data value of a Show off your skills and Earn hn 1000 sn phm c hng ngi. Convert a categorical variable that stores both string and integer data values as levels R1 an. A column called weight that I would like to categorize and store data. However, readers who struggle their way through will learn a very efficient solution that works for many situations. Require all input variables and output variables Global variables variable Exercises having values like,... Is more of a categorical variable efficient solution that works for many other situations too ), will. Fast '' is faster than `` Fast '' is faster than `` Fast.! Towards 0, the result is numeric running by allowing ads on MrExcel.com be understood by.! Original education column because we have to drop the original variable gear of Concorde located so far aft variable. New Name field, then a use cookies to ensure that we give you the browsing! That would work for categorical and numeric binary data in range A3: D19 on recoded. Have to drop the original education column because we have to skip the row. Have a clear mesure of correlation, I 'm not sure you can do without! Help of ifelse function, lunch, snacks, dinner, tea etc, nominalandboolean a way doing. Will also open the Pivot table dialogue box that opens can then used. Each unique string value country codes quantitative data in range A3: D19 on the left side Figure. To your analysis the original education column because we have replaced under-graduate as 0 and Diploma 1...

Black Syphilis Images, Federal Contractor Vaccine Mandate Blocked, What Happened To The Traffic Girl On Channel 4, Articles H

how to change categorical variable to numeric in excel