Extract First Letter From Each Name
Apr 30, 2014What formula would i use to extract the first letter from a persons name - John Paul Smith = JPS
View 7 RepliesWhat formula would i use to extract the first letter from a persons name - John Paul Smith = JPS
View 7 RepliesI have the company name in one column. I need a formula to extract first letter of each word and it had to be grouped.
Find the attachment : File1.xlsx
I need to extract (and then use for SumIfs) only item numbers from the long description. Please see the attached list where item number column shows existing list & next column shows what i want to extract. The exrtacted part if has any trailing or succeeding letters, characters between numbers should stay. for example from "SGA:RV-SVA:PEPPERS/PEPPERONCINI:SV9176001/232034" I need to extract " SV9176001/232034" or from " SPICES:BULK SPICES 7100:9054B" I need to extract " 7100:9054B". Can some one please urgently help me on this.
View 9 Replies View RelatedIf I have a cell filled with any number of given names (no surnames) (e.g. John Peter William Suffolk - yea, 4 names!, or Harry Murray (2)), how can I extract the first letter of each name (i.e., the first letter following a space) and place that in another cell? Say A1 has the names, B1 has the surname - I want this in C1. In D1 I'll use a function like Text or concatenate to link C1 and B1.
View 2 Replies View RelatedHaving trouble with this one. Searches seem to bring up every other variation of extracting info from strings except this.
I have cells which contain alphanumeric strings as below and, using a formula, I want to extract everything from and including the last letter to give A 2-3, B 3 and C 3-4 in the examples below.
Sub-base A 2-3
Sub-base B 3
Paving C 3-4
When I type a single lower case letter into a cell, what formula or conditional formatting should I use to always convert it to a capital letter automatically?
View 9 Replies View RelatedFor the below formula is it possible to replace the B's (column location) with a cell Say Z146 which contains the letter B (or a number if thats easier and someone can tell me the numbers for each column).
When the formula is dragged into the next cell (down) it takes its column reference from Z147 and then my life becomes so much easier.
=IF(INDEX('Overs-Unders'!B:B,MATCH($C145,'Overs-Unders'!$A:$A,0))"",INDEX('Overs-Unders'!B:B,MATCH($C145,'Overs-Unders'!$A:$A,0)),"")
I need to change a few hundred cells (one column) where the first letter may be a capital letter to a lowercase letter.
So:
GetAwardfromBid to getAwardFromBid
or
SmallLertter to smallLetter
I want to apply Data Validation to a cell, so that only the following combination of letters and numbers can be entered.
Letter Letter Number Number Number Number Number Number Letter.
e.g AB123456C.
I would like to ask if this is possible, I attached the sample and the problem is there for better understanding of what i want to achieve.
View 14 Replies View RelatedI like the proper formula and find it handy, however do you know if there is a formula that would only keep the first letter in the cell at caps and reduce the rest to lower case, ie
A1 = MY DOG IS WHITE
proper(A1) = My Dog Is White
what I want is only first letter caps = My dog is white. I'va had a decent look around but can't find anything that would do this?
if it possible to produce a letter in excel like you would in word by mail merging.
i dont want to open word as i dont have it on my work pc.
im wondering if it possible to do something like this
dear ( sheet 1 cell 1 )
thank you for your order of ( sheet 1 cell 2 ) we wish to deliver to you on ( sheet 1 cell 3 )
=IF(R16="A",D11,IF(R16="B",G11,IF(R16="C",J11,IF(R16="D",M11,IF(R16="E",P11,0)))))
i want to replace the letter A,B,C,D,E, with numbers from 1-5.
When I take of the """" and replace the letter with the numbers the formula does not work.
In the Range "C5:C20" if the user types in S in one of the Cells, I would like the Cell Selection to move three Rows to the right. In other words ActiveCell.Offset(0,3), I need to put this in the WorkSheet Change Code.
View 9 Replies View RelatedI'm trying to list the latest revision of a drawing in an issue sheet spreadsheet. What I need is to be able to enter a formula that will find the highest alphanumerical value in the columns beyond. Alphabetic characters take precedence over numerical - i.e., drawing issue numbers usually follow a 00, 01, 02, 03, then switch to A, B, C, D,... order.
To try and illustrate what I mean a little better, I have the following table, with dates in DD/MM format. Sorry it's not laid out too well, my HTML isn't great:
Drawing title latest revision 01/01 02/01 03/01 04/01 05/01 06/01
example010001AB
example02000102
example0300
I want the cells in the "latest revision" column to report the highest value. So, I want it to say this:
Drawing title latest revision 01/01 02/01 03/01 04/01 05/01 06/01
example01B0001AB
example0202000102
example030000
I won't have control over the numbers and letters reached (i.e., the drawing revision could get up to Z or something - or the number revision reach 15 before switching to alphabetic revisions) so I'd rather avoid having to set up a crazy IF function with "00", "01", "02", "03", "04", etc etc. But -
Can I use a string in VBA just like C. I'm trying to get character one by one for a string. Can I do somehting like that here?
In C I use:
char string[20];
For ( int i = 0; string[i] != '"; i++)
cout << string[i];
I am looking for a very simple thing. A VBA code to split last letter of a column to the column after (offset 1). For ex. if K column contains "SEKWPRTY6" then "6" should be in L column and "SEKWPRTY" should stay in K column still. I tried this code but it gives "Invalid procedure call or argument"
VB:
Sub SplitAvail()
Dim rng As Range
For Each rng In Range("k1", Range("k" & Rows.Count).End(xlUp))
rng(, 2).Value = Right$(rng.Value, 1)
rng.Value = Left$(rng.Value, Len(rng.Value) - 1)
Next
End Sub
I am trying to average letter grades in a spresdsheet my formula seems to work, but if any of the columns in the spreadsheet are totally blank I get #DIV/0! in the cell where I should see the average grade. Is there anyway to stop this from happening. This is the formula I am using.
=CHAR(INT(SUM(IF(E21:E150<>"",CODE(E21:E150))/COUNTA(E21:E150)))) assay entered.
I have two columns (one is mean and the other is max) and the third column, I have the corresponding letter. I have in total 5 rows with mins and maxes and corresponding letters. I want a function that when i put for example #3 on cell D9, then my cell E9 will spit out the corresponding letter.
See the attachment : find the corresponding letter.xlsx
I am looking to be able to compare a number with a letter so for example 4c and compare it with another 5c and in that scenario see a difference of 1 but when the two to be compared are 4c and 4a it would see 0.6.
in this excersize
A=0.33333R
B=0.33333R
C=0.33333R
it is basically sub category of the initial number so an A is better than a B and in tern a B is better than a C
for example
Targeted Working At Residual
4c 4b 0.33333r
5a 4c -0.33333r
4c 5c 1
4c 5a 0.33333r
5c 3b -1.66666
so on and such forth the number and letter can be entered into seperate fields the lettering are only A,B,C but numbers can range from 1-9 i am normally quite ept with excel but this is out of my depth
I'm working on a spreadsheet and I want the letter "E" to have a numerical value of zero, and not necessarily in just place as my sheet will be regularly updated. If you're a fan of golf, you will understand what I am doing. I'm basically making a custom leader board for a fantasy golf game that I'm doing, and I'd like for the letter E to represent the value of zero when I am adding up the scores.
For example
A1: -1
A2: -3
A3: 4
A4: E
A5: -2
A6: 3
A7: 3
A8: -5
Total: -11 (have a formula set up to only count the best 4 scores).
I want to be able to add up those columns, and since only the lowest 4 scores count, I need E to equal zero. I get that I could just put 0 there, so I'm being a little picky (in golf E represents Even par, essentially a value of zero for the purposes of this game). There are 20+ teams in the game so I need E to be recognized as zero in each of those fields.
I have a spreadsheet that monitors whether I have visted a learner in a given month.
I want to have a cell that displays "Yes" if I have visited the learner and entered a V in any of the 31 (July) cells in the row.
I have tried =IF(COUNTIF(g9:g31,"V")>0,"Yes","NO") with no success.
not sure if it i relevant, but the sheet I am using has been formatted as a Table (just to allow alternate light and dark rows).
Is it possible to subtract a number from a column letter? I'm trying to create a sheet that does some helpful calculations. In order for me to finish it without a macro i need to be able to subtract a number in a cell from a column letter. Example F-5=A, The end i'm trying to achieve is to get a sum range to move left and right in this data set based on that number.
View 5 Replies View RelatedI need to check if a cell ends with {"a","b","c","d","e","S","t","v"}. and if it doesn't diplay a warning
this is what i have
--------C
10----4444s
=IF(RIGHT(C10,1)={"a","b","c","d","e","s","t","v"},"GOOD", "Must enter Suffix Letter")
I have 30,000 lines and in each line I have words that have all capital letters.
What I want to do, is make only the first letter in each word capital, and the rest lowercase.
Is there a way to lookup the first letter of a word in the cell. I am trying to keep my sheet as small as possible for emailing. It would help to narrow down the possible lookup combinations. For example I only need to know if it starts with T, P, or V. I don't need to know the rest of the word. eg TMO, TAEFA, P1284, VTL3D etc.
View 2 Replies View RelatedI have 2 cells, one has a first name the other has a last name for instance:
A1 = Joe
B1 = Smith
I am trying to combine the first letter of the name in A1 with the next 3 letters in B1 so that C1 = jsmi
I have a colum with 350 cells in use, each of these cells contain a 3 digit number. Without having to go into each cell and type is there a way i can put the Letter
"R" infront of each of the 3 digit numbers?
Basically, I need to be able to determine whether a particular letter is stored with another letter in the 'CG column' of the attached spreadheet.
The criteria is this:
1. Letter J can be present as long as there is no other letter in that column.
2. Letter B and D cannot be together in the column, but B can be with any other letter and likewise for D.
Basically, I could have a load of Js in the CG column and that would be fine. If another letter was with those Js, I need a warning box. I could have a B,H,S,T etc.....and that would be fine, but as soon as a D is entered, I need a warning. Similarly, if I had D,H,I,U,T etc......that would be fine too, but as soon as a B is entered, I need a warning again.
Is there any way to name cells with same letter but different number?
e.g i need to name the first row A1 to A100.