# Conditional Format Cells Containing Numbers And Letters - Ignore Cells With Number Only

Jul 11, 2014
I have a column of numbers and want to make sure everything has been entered correctly from our scanning software. Basically, I want to automatically highlight any cell that has any letter in it (e.g. z12o2 instead of 21202 or R705 instead of 5705), ignoring any cells that contain only numbers. I haven't had any luck using conditions based on formulas like =ISTEXT.

View 2 Replies
ADVERTISEMENT
Feb 5, 2007

Excel 2004 for Mac

I'd like to give a conditional format to a range of cells so that only one cell in the range has a gray background. The condition must include three criteria:

1) The cell cannot be blank, AND

2) The cell's value must be the minimum in the range, AND

3) The cell's value must not equal any value preceding it in the range.

My own attempt looks like this for cell J8 in the range C8:AF8:

=AND(NOT(ISBLANK(J8)),J8=MIN($C8:$AF8),J8$C8:I8)

Problem: This condition works great for all values entered EXCEPT ZERO. When J8 is the first zero in the range, if it is preceded by a blank cell anywhere else in the range, it fails the third criterion (J8$C8:I8) because Excel treats the blank cell as though it's a zero. Result: no gray background.

How can I get Excel to "ignore" blank cells.

View 9 Replies
View Related
Jan 13, 2014

I have this formula which is counting the number of cells in a column that fall within each calender month.

However, if there is a formula at the bottom of column B and C that yield a "", the formula breaks.

In my workbook, B/C:133 have a formula =""

I will need the formula in column E to work if there is a formula that yields a "" in column B and C.

View 5 Replies
View Related
May 29, 2013

Col A - budget items (description)

Col B - budget dollars

Col C - actual dollars

Row 10 - summation Cols B and C

When the budget is prepared the actual dollars in Col C are equal to the budget dollars for all items. For instance the formula =b2 is placed in cell C2. As time passes the user records actual dollars in Col C for each item by entering the actual amount directly into the cell. Actual dollars do not become known all at the same time, so that Col C will contain a mixture of formulas and entered numbers.

How can I highlight the cells in Col C that have entered numbers rather than formulas.

View 1 Replies
View Related
May 4, 2014

I am looking for a method to conditionally format a variable number of cells below a single cell into which data is entered.

For example ABC = 6, DEF = 12. Therefore, if I enter ABC into D1 then D1:D6 should be conditionally formatted.

View 3 Replies
View Related
Feb 15, 2010

I have tried to set up a list of cells to highlight in red any numerical values which are greater than 0 using conditional formatting. This works fine, except that all blank cells are also highlighted in red. Formula is currently: cell value is greater than 0. What do I need to do to ignore the empty cells?

View 2 Replies
View Related
Feb 1, 2014

I have conditionally formatted (Bold Italic) some data (the highest value in each column) and I have a macro that hides rows dependent on one value in that row. However I would like the conditional formatting to apply only to the visible cells, so that if the maximum value is in a row that is hidden the conditional formatting is applied to the highest, non-hidden value.

View 9 Replies
View Related
Mar 2, 2014

I am working on the monthly duty roster that is attached. I have the cells at the bottom configured to total how many early shifts, late shifts and off days each Trooper has. My problem is that I often need to add text to show what type of leave is being taken, or numbers to correspond to the special notes section numbered 1-24, and so on.

Is there any way to use conditional formatting to do this so that the totals at the bottom still sum correctly? Badge numbers are used to identify each Trooper. I have included them at the top for reference. The reason that I referenced them to total by cell instead of individual badge numbers is that I am attempting to format this so that any badge numbers can be entered at the top. This form will be used by other groups of Troopers if I can get it to work.

View 6 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
May 15, 2013

I need to format a column of numbers so that it will sort alphanumerically.

All the numbers have 4 digits, and some of them have an extra letter on the end eg A B C

How can I custom format the column so that I get the numbers in order and the letters in sequence with them?

View 9 Replies
View Related
Mar 3, 2009

I have a column in one of my spreadsheets that I would like to split. There's currently not anything that can be used as a delimiter, nor can I use fixed width. the cells in question start with numbers and end with letters.

View 7 Replies
View Related
May 20, 2013

I have an excel sheet here with the data as

1.0 Develop Vision and Strategy

1.1 Define the business concept and long-term vision

1.1.1 Assess the external environment

1.1.1.1 Analyze and evaluate competition

1.1.1.2 Identify economic trends

1.1.1.3 Identify political and regulatory issues

1.1.1.4 Assess new technology innovations

1.1.1.5 Analyze demographics

.... etc

I need to split this into two columns column A should contain 1.0 and column B should contain Develop Vision and Strategy . Ex: 1.1.1.2 Identify economic trends in column A then column B - 1.1.1.2 column C - Identify economic trends.

View 2 Replies
View Related
Feb 1, 2013

I have a sheet with part numbers, costs and wish to add varying number to the cost in each row, based on a certain aspect of the part number:

A

B

C

[Code].....

In the example, 01/1X/2X/3X are the differentiating aspects of the part number. To rows in column A containing 01 (preceding the dash) I want to add nothing, 1X+.75,2X+1.5,3X+9.

I have researched the nested IF formula and can use it in a test as long as column A contains either numbers or letters. The problem I have is because there is both numbers and letters, the logical argument won't validate "if true". Here is my formula (omitting my attempts with parenthesis etc. around the letter in the logical argument):

=IF(IF(A1=1X,B1+.75,IF(A1=2X,B1+1.5,IF(A1=3X,B1+9,B1)))

View 9 Replies
View Related
Mar 25, 2012

I am trying to conditionally format the top middle and bottom thirds of a range of data. Problem is, that the range needs to be flexible as sometimes there may be a maximum of 36 cells with data, but sometimes there may be less (so there are blank cells in the range that need not be counted). The methods I have tried always include the blank cells, and so it is not equally formatting the thirds (as it includes the blanks cells as part of the bottom data)....

Here are the 2 methods Ive tried so far using excel 2003)

Top 34%:

=IF(INT(COUNT($D$3:$D$38)*34%)>0,LARGE($D$3:$D$38,INT(COUNT($D$3:$D

$38)*34%)),MAX( $D$3:$D$38))0,LARGE($D$3:$D$38,INT(COUNT($D$3:$D

$38)*67%)),MAX( $D$3:$D$38))0,LARGE($D$3:$D$38,INT(COUNT($D$3:$D

$38)*100%)),MAX( $D$3:$D$38))

View 4 Replies
View Related
Feb 9, 2008

I have 7 cells containing strings but not numbers on a row.

Now I want to list out all the combinations of drawing out 3 cells out of these 7 cells while the remaining cells that haven't been drawn out could also be listed out one column next to the drawn cells.

For example, I got 7 cells like this.

A B C D E F G (each letter in ONE cell)

And I want to list out all the combinations like this:

ABC DEFG

ABD CEFG

ABE CDFG

ABF CDEG

etc.

For more details, please refer to the attached sample (an .xls file being zipped).

View 14 Replies
View Related
Jul 7, 2009

I have column of cells containing entries such as V1, V3 and V7. I'm trying (and failing) to come up with a formula to separate the numbers from the letters and add them together: V1, V3 and V7 would together give 11.

I can use the MID worksheet function to separate my numbers from my letters on a row-by-row basis, but I can't work out how to do the whole thing in one fell swoop. =SUM(MID(A1:A10,2,2)) doesn't work, for example.

View 9 Replies
View Related
Jul 30, 2014

I have conditionally formatted a column of staff names where duplicates are highlighted - this is fine but there are some duplicates that I do not want to include - these all have the same criteria in that they include the suffix (v)

Is there an easy way of doing this?

View 10 Replies
View Related
Jan 27, 2009

I found out about conditional formatting for five different letters or letter combinations, using VBA, using the code below.

I was wondering if this is also possible with letters or letter combinations, BV, RV, SV, CV, Z and numbers, somewhere between 0 and 9,5.

View 12 Replies
View Related
Oct 27, 2008

I have a price list from a friend. The price list has to have every other row shaded. This part is no problem with the conditional format command.

The real trick, at least to me, is the background shade of the row is based on the first two letters in the left most column.

For instance:

Column A

CPST4

CPST5

FLADS3EC

FLADS2EC

FIL4

CP rows would alternate with one color while FL rows would alternate with a different color and FI rows would alternate with another different color. All other rows would have no shading.

MacOffice Excel 08 is used so no VB code can be used.

View 9 Replies
View Related
Jun 14, 2013

E11 through E24 contains numbers and a few errors (#N/A) that need to persist (the errors need to show).

E10 needs to show the average of the numbers that are in E11 through E24, and just ignore the errors.

I have many columns like that - where the errors need to show and I need to show an average of the number/values that do appear, ignoring the errors.

View 14 Replies
View Related
Oct 24, 2013

I have a spreadsheet for which I have to set up a formula to get the minimum value from a range of cells, but that range can include blank cells, errors (#DIV/0) and zeros, all of which I want to be ignored. I can work out how to ignore EITHER the zeros

(=MIN(IF(C10:G100,C10:G10)),

or the error cells

(=MIN(IF(ISNUMBER(C9:G9),C9:G9)),

How to exclude both. If I try to combine both of these exclusion criteria it doesn't work and I end up with the answer #DIV/0, which is one of the values I want it to ignore.

View 8 Replies
View Related
Aug 18, 2009

I want to conditional format cells with an if statement (something to that nature). I attached an excel file to aid in my question. Basically I want it to be color coded to alert users Red if no action is required because info is left out Yellow if info is available so take action Green if all is complete and nothing needs to be done.

If G2 does NOT have data then cell H2 has red fill

If G2 does have data then cell H2 has yellow fill

And finally if I2 is filled out cells A2:I2 are green filled

View 5 Replies
View Related
Nov 13, 2008

I conditionally formated a spreadsheet to delete all repeats. Now I have my rows numbered 1, 2, 3, 4, 9 15, 20, 26, 36 (no specific order because the number of repeats were random). I inserted a new column (A) and want a running set of numbers (1,2,3,4) starting at A4. The only problem is that when I put a 1 in the A4 box and try to drag down in the bottom right corner of the cell with CTL+Click, it copies the number 1 all of the way down. What do I do?

View 9 Replies
View Related
Dec 12, 2008

I have two colums A and B with a lot of data and want to use Conditional Formatting:

Cell Value Is

equal to

=$A$2 $A$352

What formula do I have to use to format all cells (colored) in the colum B with any existing value in between A2 and A352.

THE VALUES ARE WORDS

View 9 Replies
View Related
Dec 9, 2009

I have a large spreadsheet which I require people to regularly complete. Due to the complexity of my business there are 180 columns, each of which has a variety of rules towards its completion.

I have used conditional formatting to check as many of the rules as possible (e.g. if somebody enters that delivery is required then the columns for delivery address cannot be blank).

Each column has the same conditional formatting but can have 1,2 or 3 rules. Min is always 1.

Most columns are fairly unique conditional rules.

There is a variable number of rows each time it is filled out (i.e. people add rows as required) but they copy and paste an existing row so conditional formatting is copied as well.

All conditional formatting rules use the "formula" setting and nearly all use many "AND", "OR" statements to make all the necessary checks.

If a cell is found to have failed the validation checks (e.g. is blank when should have an entry, has an entry when it should be blank) then it highlights the cell in red.

I now want to have a count of the number of "red" cells to show me quickly if it has been completed "correctly" or not.

I have written the vba code to check all the cells but cannot find out how to record if the conditional formatting is being used or not. "colorindex" returns the original colour of the cell not the conditional formatting.

View 9 Replies
View Related
Feb 9, 2009

I need to run a loop through a column of values (attachment col B) and when it finds a "J" it will apply conditional formatting to a row of 4 cells directly adjacent. The attachment is a theoretical before & after.

View 2 Replies
View Related
Nov 2, 2006

In the publishing industry we have what we call ISBN numbers you will see that every book has a unique number. For thee company that I work for the number always starts as follows -

978-0-7153-

This is followed by five numbers sometimes 4 with a letter i.e.

978-0-7153-12345

978-0-7153-1234X

Is it possible to pre format the cells in a column so that the 978-0-7153- part of the code would be there hiding in the background and all you have to do is type the 12345 to get 978-0-7153-12345 displayed?

View 3 Replies
View Related
May 5, 2009

How would I verify a postcode format that starts with a number followed by one or two letters, space, number, letter, letter, if correct displays correct if incorrect displays incorrect

View 14 Replies
View Related
Apr 20, 2006

i need to find a way to search for numbers in a cell that are attached at the end of a group of letters. ex. (xxxxxxxxx01-01-001). i want to search backwards in the cell going right to left. what i need to do is once i find the numbers i need to go to the last number ex. (......x01-.....) and in front of it place a space ex. (......x 01-.......). right now i havent come up with a formula that can do this.

View 9 Replies
View Related
Aug 4, 2014

I have a range that contains dates, with some cells within containing text (e.g. "TBC" or "planning will occur wk42"). I have basic rules as below:

- highlight red if older than today

- highlight green if today or in the future

The problem I have is that the cells that have text are highlighted green which I don't want. I also don't want to have to go through the range removing conditional formatting from each of those cells each time I copy over new data. Is there a way of telling excel to not use conditional formatting on those cells that contain text so I can manually highlight as I need? Some have text as that is how I receive the data.

View 2 Replies
View Related