# Data Validation :: Letters Followed By Numbers

Sep 4, 2009
I currently have cell B3 in a worksheet - able to except 2 data entries.

The user should enter either OPQ or BOT followed by numbers. How do i ensure that they only enter OPQ (O - Letter Not Number) followed by numbers, or BOT (O - Letter Not Number) followed by numbers.

i.e. OPQ87654321 NOT 0PQ87654321 or BOT12345678 NOT B0T12345678. The information has to be entered manually and not via drop down list as each number is unique to the OPQ or BOT.

View 3 Replies
ADVERTISEMENT
Apr 4, 2013

I want to create data validation so that the first 2 digits=PS and the next 4 digits will be numbers. I have tried a few things but I cant get anything to work?

View 8 Replies
View Related
Nov 8, 2008

I am using Excel 07 with Vista, and creating a spreadsheet in which users will be inputting a record into every row.

There is a row that requires a number to be entered, where some of the numbers will begin with 0 or 00 or even 0000. I want to make sure no-one incorrectly enters a letter, however with data validation set to whole numbers, it formats the cell to change an entry of "005667" into just "5667". There is no set length for the field.

The only way to have "005667" is the change the column to text, but then obviously that defeats the whole purpose!

View 10 Replies
View Related
Jul 29, 2014

i have a list of 2000 fields which have the same format IE "AB10014"

I need to remove the "AB" from every field and leave the #.

Besides putting a space and running text to columns I'm not sure how.

View 13 Replies
View Related
Jul 24, 2012

I have a column of cells, some blank, some containing just numbers, some containing just letters, some containing numbers preceded by the the letter 'p'

E.g.

frt

34.2

36

p34.5

In the cells containing the number preceded by the 'p' - i would like to remove the 'p' leaving just the number, with all other cells remaining unchanged.

View 3 Replies
View Related
Jan 21, 2012

Using the following data

R10-12128

R11-12x12x8

R11-12x12x8

R1-12x12x8

R1-12x12x8

R12-12x12x8

R14-12x12x8

R16-12x12x8

R18-12x12x8

R2-12x12x8

I want it to sort like this:

R1-12x12x8

R1-12x12x8

R2-12x12x8

R10-12128

R11-12x12x8

R11-12x12x8

R12-12x12x8

R14-12x12x8

R16-12x12x8

R18-12x12x8

What is the formula to achieve this?

View 5 Replies
View Related
Oct 12, 2007

I am trying to validate a Grid Location, example: 22AX21321232

How do i validate letters in the formula?

View 10 Replies
View Related
Oct 2, 2007

how can I set a cell so that you can only type in 1 , 2 , 3, 4, 5

I know I can use the validation but people can just copy a cell and paste it over.

View 14 Replies
View Related
May 11, 2013

The numbers will be both negative and positive just need to catch characters.

So:

2500 is okay

-15 is okay

is not okay.

View 2 Replies
View Related
Nov 22, 2006

Is it possible to force a cell entry (using Data Validation) to either a whole number or a value? In other words, I would like the data in a cell to be either a whole number between 10,000 and 20,000 or "N/A". I can do it with VBA, but Data Validation (if it's possible) would be better.

View 2 Replies
View Related
Dec 2, 2006

I am looking for a solution for my problem: I work for a bus company, I need a spreadsheet where I will record the bus numbers into a sheet but I only want to be able to add the number once ie. error if duplicate bus entered. Also the numbers will change from time to time, old buses sold when new ones arrive. I have the following code that someone helped me with wich works fine provided you don't have to change the numbers.

=And(Or(And(E42>=121,E42<=125),And(E42>=149,E42<=156),And(E42>=320,E42<=363),And(E42>=700,E42<=799),And(E42>=800,E42<=991)), COUNTIF($B$3:$E$46,E42)<2)

View 2 Replies
View Related
Jun 29, 2007

I want to use Data Validation on a cell (H1) to only allow the value entered to be values between values in E1 and D1. E1 is a negative number.I tried naming E1 & D1 as a range (valid) and then did custom validation formula is =valid, but that allows me to put in anything.

View 3 Replies
View Related
Jan 27, 2012

I have a spreadsheet wtih a number of rows that contain answers to different criertia in each column.

The row may therefore have cells that either have numbers or letters.

Column A will be the title of the row.

I want to write a function to find the average value of the numbers in any row with title 'x'.

So it would look down column A, and look for those called 'x', and then average all the numbers across all those rows.

I have tried to use =averageif, but I think the fact there are letters in the cells being assessed (which I just want to be ignored) creates an error.

View 9 Replies
View Related
Feb 16, 2012

How can I require 2 numbers before a decimal in data validation? I have a formula to require at least to characters after.

I'd like to require the user to enter at least ##.##

View 9 Replies
View Related
Aug 28, 2007

to validate a cell for the following customer format, but cant get it to work:

XX00000

Where XX is any combination of letters (upper or lowercase) and

00000 is a combination of any 5 numbers.

It must always be in this format, with this number of digits in total (2 letters followed by 5 numbers)

View 9 Replies
View Related
Jul 21, 2007

I am looking for a way to define a 'Data Validated' Cell to hold a List of Dynamic Sequential Numbers - from 1 to the Value of cell A4. For example:

If cell A4 has a value of 5 the 'Data Validated' List will be 1,2,3,4,5

I have tried to 'name' the Array-Formula {=ROW(INDIRECT("1:"&A4))} and put the 'name' as the List source but without success.

View 8 Replies
View Related
Mar 15, 2012

I have created a template using data validations. I have a drop down in column O, which you can choose from Credit or Charge. In column V, I want:

- If selected Credit in column O, only negative numbers allowed in column V

- If selected Charge in column O, only positive numbers allowed in column V

View 2 Replies
View Related
Feb 26, 2014

Tallying entires from a PDF into excel. Such that

c=1000

d=15000

e=50000

f=100000

g=250000

h=500000

i=1000000

j=5000000

k=2500000

l=50000000

In a cell I would like to type =c+d+c for example and have it say 17,000 rather then me having to type in =1000+15000+1000.

View 4 Replies
View Related
Jan 16, 2014

I created this data worksheet with many tabs and multiple users. On the main tab, something weird has happened and I have no clue how it happened or how to fix it....

View 5 Replies
View Related
Apr 17, 2009

This formula will add up the letters D,N,H with one value

Like =SUM(COUNTIF(B4:AZ4,{"D","N","H"}))*12 will =36

How can I add bN =17 bmN =19 bD=24

=SUM(COUNTIF(B4:AZ4,{"bN","bmN","bD"})) to add up to 60

View 9 Replies
View Related
Jul 8, 2014

I'm working on a function that will sum a row of cells containing letters and numbers. I am currently using :

=SUMPRODUCT((0&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(B5:S5,"T",""),"TP",""),"TPE",""),"P",""))+0) as my base.

Right now the formula will work with T, TP, and P; however as soon as I type TPE I get #value.

Either way you get the point of what I am trying to do, however my cells can contain any one of the following combinations:

T,TP,TPE

P,PE,

E

View 9 Replies
View Related
Aug 21, 2014

In column A I have the following numbers

13710

14782H

9827

14782

14206B

a formula that looks at this range of cells and returns only the cells that have a letter at the end. The letter range goes A to M

View 6 Replies
View Related
Jan 23, 2014

I am a school teacher trying to adjust my tracking sheet to calculate pupils levels. I am looking for 2 potential formulas that will do the following.

1 - In cell AE I would like to generate a formula that will take the data entered in cells J:5, L:5, N:5, P:5, R:5, T:5, V:5, X:5, Z:5, AB:5 and AD:5 and give an average level.

2 - In cell AH is it possible to generate a formula that will calculate how many levels of progress the pupils are making - In other words I need Cell I to be calculated against cell J to see how much progress the pupils are making - for example if in cell I:5, a pupil is was given a 3a, and then in cell J:5 is given a 4b, they will have made 2 sub levels of progress. As well as this, can that progress then be averaged out across cells I:5, K:5, L:5, M:5, O:5, Q:5, S:5, U:5, W:5, Y:5, AA:5 and AC:5 to give an overall number of of levels of progress? An then..... can I colour co-ordinate the cell so that if the pupils are making 3 or more sub levels of progress it turns green, 2 sub levels orange and 1 sub level red?

Levels work like this

3c

3b

3a

4c

4b

4a

5c

5b

5a and so on

View 3 Replies
View Related
Apr 5, 2007

i want to convert numbers to letters in the excel Sheet

I.E: when the number is 1000.00$ it write in another cell

on thousand dollar only

1500.00$ one thousand five hundred dollar only

View 13 Replies
View Related
Oct 26, 2009

I have a word, for example ROCK. I asigned numbers to the word. R=1,O=2,C=3,K=4. My Question: If I type in ROC it must return 123. If I type in KR it must return 41, etc. Is there a basic formula I can use to solve this?

View 4 Replies
View Related
Oct 7, 2010

How do I do data validation/cell formatting so that only alphabetic characters can be entered and no numbers?

(We use the cell for First Name, Last Name, etc. and I don't want potential entries like Mr. 56565 55454 because the cells are formatted as text and allow alphabet and numbers.)

I tried =NOT(ISNUMBER(H6)) for Data Validation, but that didn't work.

??

VR/Lost

View 14 Replies
View Related
Jan 30, 2013

I have in cell A1 the number 2 and in cell A2 the letter m.I want to add these two cells in cell A3 so as to appear 2+m.So i type in cell A3 =A1+A2 but it appears error.Is there a way to do what i am asking?

View 3 Replies
View Related
Feb 13, 2013

How to autofill numbers with letters in excel 2007. Eg. 74cm, 80cm so on....?

View 4 Replies
View Related
Aug 8, 2013

Is there any formula or macro which gives the result from numbers to letters..? say like; 2,471,803.40 is in number and I'm looking for the result as 'RUPEE TWO MILLION FOUR HUNDRED SEVENTY ONE THOUSAND EIGHT HUNDRED THREE AND FORTY PAISE ONLY'. Is it possible to create macro to get this type of result..?

View 9 Replies
View Related
Jun 26, 2007

We are doing a database conversion and I have been tasked with converting all our old promotion codes to a new system. The long and the short of it is this:

I am trying to write an equation that will look at two cells (say A1 & B1) which when put together could be one of the following numbers (01,02,03,04,05,06,07,08,09,10,11,12) and translate them to a letter (A,B,C,D,E,F,G,H,J,K,M,N)

So 01=A, 02=B and so on...

I was trying to use if statements, but there are too many.

View 9 Replies
View Related