View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
ttp ttp is offline
external usenet poster
 
Posts: 2
Default Comparing a list of Records

I need assistance comparing a list of records. Within my file, there are
records with multiple records. I want to perform the following If
statements. But, I don't know how to arrange it in Excel or Access.

If all the items in a field (column) begin with CR,
then variable = "HQ"
If all the items in a field (column) begin with DR,
then variable = 'OC"
Else variable = "N/A"