Text In A Cell To A Numerical Value

Jan 20, 2009

Basically what I am trying to do is build a formula but I have hit a wall it seems like.

what I want to do to complete the formula is, I have 2 names in mind that I want to be able to enter one cell and have excel translate them into a number. So for example if I enter the name John in that cell excel will know that John means the number 3 and then tomorrow I erase John from that cell and enter Jim and excel will know that Jim means the number 2.

But again I want to be able to enter a certain body of txt into one cell and have excel recognize it as a number. How can this be done?

I have Excel 2003 and 2007

View 10 Replies


ADVERTISEMENT

If Cell Contains Text, Return Numerical Value

Jun 16, 2007

I need a formula that looks at a Cell and if it contains any text at all it will return a numerical value into a seperate cell. I have done this before but for some annoying reason i cant remember how i did it.

View 4 Replies View Related

Giving A Text Cell The Value Of A Numerical Cell

Mar 20, 2008

I need to know if you can give a cell with text (such as a name) the value in a different cell (eg a total value cell).

Basically when the name is displayed I can add that cell to a team and therefore easily calculate a total teams worth by dragging names into the team's column.

View 9 Replies View Related

Returning A Numerical Value From Text

Oct 25, 2013

I'm trying to streamline my spreadsheet a bit. Sometime last year I managed to use the formula found (on the attached file) in cell K4 to assign a numerical value to a lettered grade. However, it's been a year or so since I thought about it and so I've completely forgotten how to edit it to make it more appropriate for this spreadsheet!

Essentially what I'm trying to do is a workaround for what I've already done in columns E and F: I'm trying to show the difference between two grades (letters) as a numerical value. Is there a way to do this, or is the VLOOKUP work around I've used in columns E and F going to be the simplest way?

View 1 Replies View Related

Numerical Logic Colliding With Text

Oct 13, 2008

I have a monster of a sheet going and am working for research purposes. I dislike the interface of SPSS so I use excel to boil down my variables to a smaller state, to which it then goes back to SPSS for the hardcore analysis. Unfortunately, this study has values of "N/A", "Missing", and "." (not entered), so it makes it a bit tricky for me. Say I want to check 10 different scales to see if any are true: =IF(OR(FJ6>=1,ZD6>=1,....etc),"Yes","No"))

Problem is the blasted program is reading ".", "Missing", and "N/A" as greater than one!!!!! I've found a way around by making monster formulas that first check that the field is not equal to those three text values, but there must be a faster way! To see what I mean, put a period in one cell (like A1) and write =IF(A1>=1,"Yes","No") and you'll see it returns a Yes.

View 4 Replies View Related

Assigning Text A Numerical Value In Excel?

Apr 21, 2013

I am a teacher and need a column of student names (which will all be different) but also need to assign them a numerical value of 1 to analyze my data. How can I do this?

View 3 Replies View Related

Assigning Text Numerical Values

Jul 9, 2006

Is it possible once you have assigned text a numerical value (example: Adam = 12) to add them together? (example: adam =12 and bob = 8, therefore adam + bob = 20)

View 9 Replies View Related

Sort Numerical-Text In Order

May 14, 2008

I am trying to sort different SKU #'s for my amazon store on excel. I go to Data... Sort... Ascending and it comes out like this...

UP1
UP10
UP100
UP101
UP102
UP103
UP104
and so on...

i want it to be like this
UP1
UP2
UP3
UP4
UP5

View 3 Replies View Related

Displaying Months From Cells As Their Text (not Numerical)

Oct 14, 2009

The formula contained within these cells equals =MONTH(C84) [the date 2 cells above it]... to which I've formatted the cell to "mmmm" and it displays "January" across the board. Can anyone explain why this is occuring and how I can fix it please? I'm aiming to graph this information and can't accurately do it using the moving monthly system i've put in place if I can't change the months dynamically like this.

Secondly, and on a side note. Line 84 currently takes todays date (not currently todays date in the example screenshot) (=TODAY()), and to get to the previous 13 months I deduct 31 days. I can foresee this as being a problem further down the track especially when leap years come into play. Is there a function in Excel where I can simply deduct 1 month from another? =MONTH(C84)-1 ?

View 2 Replies View Related

Find Numerical Difference Between Text Values

Nov 21, 2008

Hi all, first post here.
I've been asked to do something in excel i can't seem to get my head around.

My client provides me with data in the form

1c, 1b, 1a, 2c, 2b, 2a, 3c etc... where 1a is the lowest.

I need to find a way of working out the difference between these, e.g.
edit: 2a - 1c = 5

I've been working on it and have made some headway by splitting these with MID function and then using CODE to try and work out a unique ID for each, but i can't help feeling there's an easier way!

View 9 Replies View Related

Find Text In Column - Return Numerical Value

Dec 15, 2011

I need to create a formula that searches column E for text, let's say "BANANA", and when it finds that text, the formula returns the numerical value of the cell in that same row in column B. Let me know how this can be done.

View 2 Replies View Related

Assign Numerical Values To Text To Allow Calculations

Jan 31, 2010

I am working up a workbook template that will be used to process survey results. The way I ultimatley want it to work is that the user can paste data from another application into a worksheet in Excel, and then view analysed results on a second sheet (which are processed via formulae on a third, hidden sheet).

The problem I have is this: the data from the program that's capturing them are text values. For example, column B contains answers to a question where participants rate an experience, and the values are either "Excellent", "Good", "Fair", "Poor", "Awful". I want these to be converted to numerical values, on a scale where "Excellent" = 5 and "Awful" = 1, so that I can then average these.

So, the question is: Can I somehow tell Excel that "Excellent" = 5 and "Good" = 4 etc, and then use AVERAGE(B:B) on the text data and get a number back?

I did think of having an intermediate sheet that used VLOOKUP to create a copy of the first sheet (where the user pastes the text data) with the text replaced by numbers. But, because I don't know in advance how many rows will contain data (i.e. how many survey results there will be), I have to assume on the high side and copy down 50,000 rows. But, this takes ages to calculate.

View 9 Replies View Related

Comparing Grades (text) To Give A Numerical Score

Nov 3, 2009

I am creating for the pupils at my school. Comparing the grades they were predicted and have achieved I would like to give them a score.

I have already achieved this but it means wasting 3 columns for each subject to work it out. The ambition is to do all the working out and assign a point score value in 1 column.

The spreadsheet it attached if anyone would be kind enough to have a look and see if there may be a formula which will do what I need.

View 12 Replies View Related

Excel 2002 :: Modify Formula To Merge Numerical With Text

Apr 21, 2012

I am using the following formula to find out the No. of "HH" in the range given and I am getting the results simply with numerical value as 2, 3 etc. I want the result should be displayed as 2HH, 3HH depending upon the No. of "HH" available in the given range. The result should be displayed as (the No. added with the text "HH").

=IF(AND(DJ10="HH"),COUNTIF(DF10:DJ10,"HH"),"-")

I use excel 2002.

View 2 Replies View Related

Data Validation Formula For Set Of Numerical And Text Based Values

Apr 30, 2014

I am quite inexperienced with Excel and I am struggling to understand how should I set up a formula, within the data validation function to achieve the following:

I need to restrict a certain set of cells, for people to be able to input only the following values: "1", "0.5", "A", "H", "0.5A" (or 0.5a), "0.5H" (or 0.5h)

And I would need the data validation tool not to include blank cells.

View 1 Replies View Related

Excel 2010 :: Delete Cell Contents If Cell Contains Numerical Value?

Oct 8, 2013

Recently I have been practising writing my own macros in VBA. I am using Excel 2010.

I have been trying to write a macro to look at two columns in a worksheet (say, columns D and E) and to delete the contents (not the formatting, and I don't want to delete the cell itself) of that cell only if it contains a numerical value (e.g. 1, 2, 256 or any other number). If it finds a cell with letters, then it wouldn't delete the contents of the cell. The cells are currently formatted as "currency" cells.

I have been trying all sorts of things and I just can't get it to work. I can write a macro to clear a range easy enough, but I am stuck on getting it to delete the right stuff. I won't embarrass myself by uploading the code that I have been using..

View 7 Replies View Related

Status Formula (find Out The Formula Where Numerical Valued Between 1-2000 Equals True And Numerical Under 0 Equals False)

Dec 12, 2009

I'd like to find out the formula where numerical valued between 1-2000 equals True and numerical under 0 equals False. Examples are in the attachment.

View 3 Replies View Related

Display A Msgbox For Numerical Value Of Each Cell

Dec 6, 2009

-In cells J6:P11
- Display a MsgBox for the value in J6; Then
- Display MsgBox for the value in K6; Then
- Display MsgBox for the value in L6
- etc, etc

View 7 Replies View Related

Returning Numerical Characters In A Cell

Feb 2, 2014

i am trying to return the numerical characters from a cell so in A1 i have 6-4 3-6 7-5

A2 i would like to return 6

A3 4
A4 3
A5 6
A6 7
A7 5

there are also possibilties that A6 & A7 could b 2 digit numbers such as 10-12 or could be 9-11 or 11-9 etc

View 4 Replies View Related

Count Or Sum Of Non-numerical Cell Content

Apr 23, 2006

I'm working with a fairly large spreadsheet, and need to find out how many times a specific word or numerical value comes up in a column (for instance, I might need to know how many times 'Anderson' comes up in column B). Every time I try to use the sum, dsum, sumif, count, dcount, or countif functions, however, I keep coming up with either 0 or the #VALUE message. This is very frustrating, as you can well imagine. I could try to sort the data by the various terms and values I need and then physically count everything but this strikes me as time-consuming, prone to error (we're talking a few thousand entries, here), and something Excel should theoretically be able to do anyway if only I knew how to ask it.

View 2 Replies View Related

Give Letter Numerical Value And Use It To Format Another Cell?

Jul 22, 2014

I am a teacher and I want a column to turn a particular colour if a pupil has met their target grade and another if they have not. Our grades work as letters A* being the best then descending as follows A, B, C, D, E, F, G, U.

I have a column with the pupil's target grade (one of the above letters) and another column with their current grade. How do I get excel to understand the ranking of the letters and format the current grade column according to whether they have met their target or not?

View 8 Replies View Related

Multiple Numerical Formats In A Single Cell?

Oct 7, 2008

In a single cell, I would like to show 2 values: a currency and a percentage. So A1 and A2 has values, say 50000 and .10 respectively (these are derived via formula, if it's of any relevance). What I ultimately want is "$50,000 and 10%". I've originally thought about adding the "$", " and ", and "%" separately, but I need the currency value to include commas.

View 2 Replies View Related

How To Convert The Numerical Value For City To A Text String With Actual City Name

Jan 30, 2014

I have a large database from a central appraisal district. In the database the city is stored as a numerical value. The problem is I need to convert the numerical value for the city to a text string with the actual city name. For example the values to the attached example database are as follow:

excel help forum 2.xlsx

024 = Hurst
026 = Fort Worth
025 = Euless
017 = Mansfield
013 = Keller

The issue is, I need to convert this column of numbers into the string of the actual city name. Is there some type of command, or macro that I could use to automate this process? Attached is a small example copy of the database.

View 13 Replies View Related

Inserting A Numerical 1 Or 0 Into A Cell Depending On The Values Of Two Other Cells

Jul 24, 2008

I'd like help writing a single formula that assigns either a numerical 1 or 0 to a cell based on values from two other cells.

By way of background, I'm working with three columns. Cells in column F contains values from 1 to 4. Cells in column G contain values from 5 to 11. Cells in column H are currently blank.

I need a single formula that will insert either a numerical 1 or a 0 into column H according to the following conditions.If F3 = 1 and G3 = 5 or 6 or 7 then let H3=1 otherwise let H3=0
If F3 = 2 and G3 = 7 or 8 or 9 then let H3=1 otherwise let H3=0
If F3 = 3 and G3 = 9 or 10 or 11 then let H3=1 otherwise let H3=0
If F3 = 4 and G3 = 9 or 10 or 11 then let H3=1 otherwise let H3=0

View 11 Replies View Related

Single Cell Two Numerical Values - Multiply In Different Columns

Jun 27, 2014

I am looking for formula , single cell two numerical values , multiply in different columns

example :

Cell (A1) contain: =350,23+25,59 (two values in a single cell)

request:

in (B2) only first value so 350,23 multiply (x) by fixed number &in (C2) only second value so 25,59 multiply (x) by fixed number

View 2 Replies View Related

If Text Of Cell In Range Matches Text Of Cell In Column - Match Formatting

Jul 5, 2012

Trying to create a button that, once clicked performs the following task:

Checks whether the text in a cell in the column X2:X40 matches the text in a cell in the Range A2:U14.

If it does, the formatting of the cell in X2:X40 (eg background) must change to match that of the corresponding cell in A2:U14.

Only 1 cell in the range will match 1 cell in the column

For example:
Before click:
Cell A9 has "John" written in it and a yellow background
Cell X4 has "John" written in it and a clear background

During click:
matches these cells
changes X4 so that it also has a yellow background

After click:
Cell A9 has "John" written in it and a yellow background
Cell X4 has "John" written in it and a yellow background

View 3 Replies View Related

Excel 2013 :: Check Cell For Text And Return Corresponding Text In Adjacent Cell?

Jan 28, 2014

I have 2 tabs in a 2013 workbook. Inventory Receipts and lookups. One of the Data verification lookups I have is a drop down list in each cell in Column B (eg: Cat, Dog, Mouse) In the lookups tab I have another cell range containing the sounds (eg: Meow, Bark, Squeak).

What I am trying to acheive is, if B2 contains Cat, then return Meow in B3, if B2 contains Dog then return bark in b3 and if B2 contains Mouse return squeak in B3. Ideally I would like the formula to return the text from my lookup sheet (eg: 'Lookups'!C2,'Lookups'!C3,'Lookups'!C4). So depending on which option they choose from my animal drop down list .. the correct noise would automatically fill in.

View 9 Replies View Related

Select One Text Cell From Multiple Text Cells With Checkboxes Reproduce Into One Cell

Jan 24, 2013

I have four cells that contain text. All have connected check boxes with TRUE FALSE.

I need to be able to select anyone one of these cells with a check box, and have it's text appear in one separate cell eg: A1.

I have no issue connecting check boxes etc. I have no issue reproducing the text from any of these cells into multiple cells with a check box. But they have to be selectable and reproducing in one cell only (eg"A1").

View 1 Replies View Related

Non-numerical Histogram

May 9, 2009

I have been searching to see if it's possible to create a histogram with non-numerical data and it doesn't seem like it's possible. Is there something similar where I can. Count number of occurrences of a string and organize them from most frequent to less frequent? There are about 60 possible strings.

e.g.
ABCDEFGHIJ
1ddhykygghd
2jlqqwertya
3ukhghjklzx
4tukyuuiioa
5xypyjkkadh

Then output the counts of each of the strings (letters in this case) present. I was thinking of just putting them in the same row or column and manually counting, but it doesn't seem like it would be that difficult have it automated.

View 4 Replies View Related

Numerical: B1 Was Blank

May 16, 2009

The worksheet looks like following:

A1=350; B1= ; C1=-350

a.The forumula in C1 was =A1-B1
b. B1 was blank
c. I had to enter the formula in B1?

What formula goes on B1?

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved