Forum Discussion

m4kaveli's avatar
m4kaveli
Frequent Visitor
5 years ago

Compare Similar Values from Same Column - Display values if match

Hi guys,

I am looking for help accomplishing this....

 

I have a table of policy information that has a column of policy number. I want to compare the first 4 characters of each policy number and if they match, then display the value under the estimated premium field. 

 

example data on the left and expected outcome on the right...

 

 

thanks in advance!

2 Replies

  • m4kaveli answer your own question, compare with what?

     

     I want to compare the first 4 characters of each policy number

    • m4kaveli's avatar
      m4kaveli
      Frequent Visitor

      parry2k with the same column. So I want to look at column labeled policy number and I want to search for any policy numbers that are similiar by the first 4 characters. If found, I want to display the estimated premium value under the estimatedpremium column for that row as shown. I only want to show the value for the max expiration date, and then compare with the matching policy on teh year prior expiration date. 

       

      sorry hard for me to explain! Hope this makes more sense.