Microsoft Office Questions? Ask a IT Expert for Support ASAP
I am Pete and I'll be happy to assist with your question today.
There are two ways you can do this:
You can either put in an additional column, and use the following formula, if your sort column is column A: =IF(A2=(A1+1),"yes","no")
This will display the word "no" in the check column if the numerical order is skipped or repeated.
You could also check the data using a second method - by using a conditional format on the sort column to change the background color of the cell if the numerical order is skipped or repeated. This is the method I usually use myself when checking numerical order sequences.
This will definitely help and I like the color idea, how do I do that with the same example you gave. Also I would like to differentiate between skipped and repeated.
I just tried it and that works perfectly for repeated #'s.....I would like to use a different color for skipped numbers but I'm not sure which conditional format to use for that
Or better yet, if a number is XXXXX add an extra row with the missing number (leaving all other columns blank) for me to fill in.
I have a new formula for you to use:=IF(A2=A1,"Duplicate",IF(A2>(A1+1),"Skipped","OK"))
This formula will indicate if the numerical order has been skipped, duplicated, or is ok.
To use different colors to indicate whether the numerical order has been skipped, duplicated, or is ok will require the use of conditional formatting to shade the cell a particular color, depending on the rules set up. You can set up the conditional formatting cells for the first cell, then use the format painter tool to copy the conditional format down the entire column.If you are not familiar with how to set up conditional formatting and are happy to upload your spreadsheet to www.wikisend.com and send me the link, I can add the formatting for you.
Can you put in 2 different conditional formats for the same row....for instance I could BOLD ITALIC anything that repeats and Red color for the formula you mentioned on skipping....with that said how do i put in a formula to return a colored cell. I am learning alot and truly appreciate it
Yes, depending on which version of Excel you have, you can put in at least 3 conditional formats.
What version of Excel are you using (2003, 2007, 2010)?
I believe it is 2007
Ok, have you used Conditional Formatting before? Are you familiar with how to set it up?
I just used it today...never before
I somewhat understand the formulas though
Ok, well when you are putting in the formulas, you will see a Format... button.
Click this and select what format you would like the cell to use when the result is True, eg. Bold Italic Font, or change the text color or background color.
sorry for how that looks
The formula will only work with numerical entries.
Those entries are alphanumerical so the formula will not work.
Oh, thats good to know...something tells me i need to read up my formulas....I thank you so much for all your help....I definitely learned a great deal.