I am working in Excel 2013 and connecting to SQL Server with an ODBC connection
I have a table like this:
id    PhoneNumber    Caller
--------------------------------
1     915869850      John
2     912586985      Mary
3     963285874      John
4     915869850      Richard
5     965878965      James
6     925869753      Richard
8     963285874      James
and I need to be add a column that identifies the first time a phone number is called and ignores it on the subsequent times...
Like this:
id    PhoneNumber    Caller    First Time
-----------------------------------------
1     915869850      John      1
2     912586985      Mary      1
3     963285874      John      1
4     915869850      Richard   0
5     965878965      James     1
6     925869753      Richard   1
8     963285874      James     0
Is it possible to do so?
Can you help me?
 
     
     
     
     
    