View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
ConfusedNHouston ConfusedNHouston is offline
external usenet poster
 
Posts: 41
Default Validating Values Within Sets of Groups in a Column

I have a table that i broke into groups based on a key characteristic. I
separated the groups with 2 blank lines. I want to make sure that another
value associated with the key value is constant within each group. I think
it can be done with "IF" statements but I'm not sure what to write.

Here's an illustration of what I have and what I want:

KEY1 5555
KEY1 5555
KEY1 5560 I want to flag this as "WRONG" in the column adjacent to the
data.

In the above instance all numeric values should have been 5555 within this
group. I want to flag errors so that I can manually repair them.

I don't understand VB for the most part so if I can handle this with IF or
nested IF's I'd probably be able to handle that.