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


ADVERTISEMENT

Assigning Numerical Values To Words

Mar 9, 2013

I'm making a spreadsheet for the homes I'm looking at purchasing and wanted a way to calculate automatically which one has the most things we're looking for.

So for example, if a home has a walk in closet, it would say "yes". If it doesn't it obviously would say "no".

Is there a way to assign a number value in a totals column where "yes"=1 and "no"=2?

Or a way to make colors equal a certain value?

Where I'd make all the "yes" items green and then a green cell = 1, a yellow cell = 2, and a red cell = 3.

View 5 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

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

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

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

Assigning A 0 Value To Text

Oct 6, 2008

I've been doing a very simple table for my father's bass club. The club has one tournament a month and the 2 lowest weights are dropped. The table has a column of names on the left hand side, beside the name is 12 columns for one weight per month, right of that is a sum of the fisherman's catch weight in column O and to the far right is an equation that removes the 2 lowest weights =O4-(SMALL(C4:N4,1)+SMALL(C4:N4,2))

In the past I have put a 0 if someone didn't fish. He has asked me if it's possible to put DNF for Did Not Fish in lieu of a 0. This way they have that information and know how many people fished and caught nothing versus how many didn't fish. I need to know how to assign DNF a value of 0 for the whole table so that I can still drop the 2 lowest weights

View 3 Replies View Related

Assigning Values To Value Ranges?

Jan 4, 2013

Essentially, I'm arranging an excel spreadsheet to organise my ongoing sales and keep record. I would love to have a formula to calculate the appropriate comission for each sale.

The ranges are:

0-199 = 0 Comission
200-499 = 10 Comission
500-999 = 25 Comission
1000+ = 50 Comission

I managed to get the 0, 10 Comission to be processed correctly but sadly I've hit a brick wall as to how to include the 25, 50.

The formula I have so far is as follow: =IF(COUNT(D22),IF(D22

View 2 Replies View Related

Assigning Values To Letters

Jan 24, 2014

I have to assign 3 values to 3 letters, I have been using the LOOKUP function,

P=20, C=35, W=100

I have input the following:-

=LOOKUP(A1,{"P","C","W"},{20,35,100})

But for some reason it is inputting 35 for the value of P.

View 3 Replies View Related

Assigning Values To An Array

Apr 30, 2007

I am trying to assign a range of values with different types( date,time,integer) to an array. I am using the following command which works fine.


Dim vArr() As Variant
vArr=range("A1"). currentregion.value

However when I try to print the "time formatted" values in the second column of the range I can't. I can't use timevalue function as well cause it doesn't treat the values as string but integers. Why is this happening even when I declare the array as variant?

View 2 Replies View Related

Assigning Values To Array

May 2, 2007

I am trying to assign a range of values with different types( date, time,integer) to an array. I am using the following command which works fine.

Dim vArr() As Variant
vArr=range("A1"). currentregion.value

However when I try to print the "time formatted" values in the second column of the range I can't. I can't use timevalue function as well cause it doesn't treat the values as string but integers. Why is this happening even when I declare the array as variant?

View 6 Replies View Related

Auto Numerical Values

Jul 25, 2009

creating functions in excel and would like to hire someone who can assist me in creating the following functions: Column A (For Numerical Values Less Than or = to 100): Column B Value should be (+10)

Example 1: If a numerical value of 90 is placed in Column A then Column B Numerical Auto Value should be 80+10 (190). Example 2: If a numerical value of 35 is placed in column A then Column B Numerical Auto Value should be 35+10 (45) and so on. Another important point is that if the values in column A are copy and pasted Column B should automatically discharge the values visibly as the examples stated above is this possible? If not i'll need to have this done.

Also there are other numerical values that must be added in Column A (basically for every increase in numerical value of 100 there are to be different numerical plus factors in accordance to Column A). Column A (For Numerical Values greater than 100 but less than 200): Column B Value should be (+15).......

View 4 Replies View Related

Set Up An If Statement That Where 'a' And 'b' Are Numerical Values

Jan 25, 2010

I want to set up an if statement that does the following, where 'a' and 'b' are numerical values.

If 'a' is not a multiple of 'b' Then
...
Else
...
End If

How can I write this so VBA can understand it?

View 2 Replies View Related

Sorting Numerical Values

Apr 6, 2006

I've got a series of values in a column as follows:

10 Mb
10 Mb
1000 Mb
1000 Mb
114 Mb
128 Mb
128 Mb

Obviously 1000 mb is more than 10 mb, but it sorts as second in the list
because it starts with a "1". How do I tell Excel to sort by the entire
numerical value instead of the first number?

View 9 Replies View Related

Returning Only Numerical Values

May 11, 2009

it seems that excel is deciding what type of array this is by evaluating the type of the first cell in each column and applying this type to the rest of the array's column. Problem is that i want all values to be brought in, text and numerical.

Dim VArray As Variant
Sub DA201()
If FileThere(Path & "DA201.xls") Then
GetDataTowers Path & "DA201.XLS", "", "DataRange", Sheets _("Towers").Range("CStart"), False, False
Else
MsgBox ("File DA201.xls not found. Click OK to continue")
End If
End Sub

Public Sub GetDataTowers(SourceFile As Variant, SourceSheet As String, SourceRange As String, TargetRange As Range, Header As Boolean, UseHeaderRow As Boolean)
Dim rsCon As Object
Dim rsData As Object
Dim szConnect As String
Dim szSQL As String
Dim n As Integer
Dim row, m As Integer

If Val(Application.Version) < 12 Then
szConnect = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & SourceFile & ";" & _
"Extended Properties=""Excel 8.0;HDR=No"";"
Else....................................

View 9 Replies View Related

Make Values Add To A Certain Sum By Assigning A Digit Or Chipher To It

Apr 23, 2009

I have a column of numerical values: fields a1 to a10. Then, I have four fields – c1 to c4 – in which I want sums of some chosen values from column a to be summed up. Eg., c1 is to be a2+a3+a9, c2 is to be a4, c3 is void, c4 is a1+a8. The other a fields are ignored, and no a field will be counted twice. Now, I want to put something –*a letter or a number or so –*into the fields b1 to b10, that makes the aforestanding value sum up to a certain field in column c. Like, I put a "1", or maybe an "a", into b2 and b3 and b9, and that makes a2, a3, and a9 sum up to c1. So I'd need something that says: if this cell is "1", add the value in the cell to your left to the sum that makes the value in c1. As you can tell by my writing, I'm no geek in these matters.

View 4 Replies View Related

Assigning/Retrieving Arrays Of Values To/from Listobjects

Jul 7, 2009

How can I add an array of values to a listobject, preferably in one big chunk? How can I read a chunk of values from a listobject into an array?

For the latter, I've tried:

View 2 Replies View Related

Assigning Variable Values To Letters In A Table

Jul 20, 2007

I have a formula which assigns a points score to letters in a range and adds them up. In the example below F=0, P=6, M=12 & D=18. =IF( COUNTIF(AT5:BE5,"="""),"",SUM(COUNTIF(AT5:BE5,"=F")*0,COUNTIF(AT5:BE5,"=P")*6,COUNTIF(AT5:BE5,"=M")*12,COUNTIF(AT5:BE5,"=D")*18)). Thus if F, P, M & D were in cells A1:D1 the result would be 0+6+12+18=36.

My aim is to be able to customise the values of F, P, M & D, using a table and a cell value. See the table below, where the first number in each row represents a cell value which the user enters into BH1, the second, third, fourth and fifth numbers represents the values assigned to the letters F, P, M & D.


10 0 1 2 3
30 0 3 6 9
60 0 6 12 18
90 0 9 18 27
120 0 12 24 36

Some examples of expected output: user enters 10 into BH1 and then enters F, P, M & D in cells A1:D1 the result would be 0+1+2+3=6. user enters 90 into BH1 and then enters F, P, M & D in cells A1:D1 the result would be 0+9+18+27=54.

View 4 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

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 View Related

Avoiding Non-numerical Values In A Range

Jan 1, 2009

I have a range, A1:A10 that I want to sum, min, and max. I want to ignore any text or #DIV/0! values in this range. I know how write the formulas except how to ignore the text and cell errors. Can someone steer me in the right direction?

View 5 Replies View Related

Convert Levels To Numerical Values

May 29, 2009

I need to convert levels to numerical values and then: Firstly, add together two vlookup values THEN divide by 2 to get an average AND THEN see if this average AND a second, individual lookup value are above a specified another value, which may be different. IF all these criteria are set, return, "yes" if either the first or second, or both criteria are not met then "no"

Or put it another way. if lookup values A+B/2>"5" AND C>"3" then "yes", Else "no"

Lookup chart:

P11
P22
P33
P44
P55
P66
1c7
1b9
1a11...............

View 3 Replies View Related

Conditional Sum From Matrix With Non Numerical Values

Feb 27, 2012

I am trying to conditionally sum numbers from a matrix. On the vertical axis, there will be duplicate values (text) who's rows should be summed, and on the horizontal axis I need to sum in between two numbers that will be in sequential order (such as dates). The real tough part for me is that the data field that I will be summing from has non numerical values, like dashes. Obviously, I don't want to sum the dashes, but it throws off any formulas I have tried (like sum arrays).

My hopes are to use as little memory as possible so my file size wont get too big and to not have to use macros (I do not really use them), although I am willing to try if they are basic.

In the example below, I want to sum rows for the letter "A" and in between numbers "2" and "4."

# 1 2 3 4 5
A2 6 5 4 2
B4 5 6 4 1
C-----
A4 2 1 2 1
E1 1 2 2 2

Y Variable: A
X Variable Min: 2
X Variable Max: 4

Correct Result = 20.00 = (6+5+4+2+1+2)

View 3 Replies View Related

Remove Symbol From Numerical Values And Add?

Mar 19, 2013

I often have to OCR files in Adobe and then copy the data as a table into Excel. Sometimes when I move the data over these little boxes with question marks inside will appear infront of the data in the cells. I can delete the square from the spell by just backspacing after it but I don't want to have to do that for hundreds of cells individually. Googling around I found a formula: =RIGHT(A1, LEN(A1)-1)

That formula will get rid of the box, once the box is removed I need to be able SUM the values, but I am still unable to. I've tried to copy and paste the values before using the SUM function but that does not work, I've also tried to SUM before removing the box but that does not work either. I've found that if I double click in the cells after using the formula that it will allow me to use the SUM function but that would require me to double click hundreds of cells individually. Also, just in case this matters, a little green flag appears in the upper left corner of the affected cells after I use the previously mentioned formula.

View 4 Replies View Related

Assigning Data Range From 2 Strings Of Text

May 4, 2009

Im new to Macros. Im trying to find a string of text assign that to be the top of the data and then find a different string and assign that to be the bottom of the data. Then run a loop whilst inside that data range. Am i going about it the right way? Attached is a sample data file.

View 4 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

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

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

Sumproduct With Multiple Criteria Using Non Numerical Values?

Feb 5, 2014

I am attempting to count from a spreadsheet the reference number of a customer (numbers and text) based on two criteria.

1, If column G= Requested
2, Column I = Meeting

Count Row E

I thought a sumproduct was best and have started using it for the first time, I thought this should work but I keep getting a #NUM! error.

I have tried with numbers and it works but the non numeric aspect is difficult.

[Code].....

View 14 Replies View Related

Summary Of Numerical Values, Based On Several Conditions

Oct 16, 2008

I am trying to do is a summary of numerical values, based on several conditions.

column a column b column c
local loop live cross connect
loop A cancel 100
long haul live 10000
long haul pend canc 1000
loop Z live 100
x-conn live cross connect


In column a, i have several choices and i want to focus on those choices that fall into column B "live" or "pend canc" and then only have numerical data in column C

I've tried several different formulas like

=SUMPRODUCT((a30:a38="Loop A")*(a30:a38="Long Haul")+(b30:b38="Live"),cX30:cX38)

I know the result of this should be 111000 but it's not working...I usually get n/a. I know about using cntl-shift-enter to use the formula properly.

I can get one variable to sum up properly using =SUMIF(M9:M21,"Live",BW9:BW21)

but, that leaves out anything that is pend-canc

I have also tried =SUM(IF((a9:a21="long haul")*(b9:b21="live"),cX9:cX21)) which gives back a value that is accurate.....

View 8 Replies View Related







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