<TABLE> <S> <C>

<PAGE>
<ARTICLE> 9
<CIK> 0000846809
<NAME> MADISON BANCSHARES
<MULTIPLIER> 1,000
<CURRENCY> U.S. DOLLARS
       
<S>                             <C>                     <C>                   <C>                   <C>
<PERIOD-TYPE>                   YEAR                    9-MOS                 6-MOS                 3-MOS
<FISCAL-YEAR-END>                      DEC-31-1997             DEC-31-1997           DEC-31-1997           DEC-31-1997
<PERIOD-START>                         JAN-01-1997             JAN-01-1997           JAN-01-1997           JAN-01-1997
<PERIOD-END>                           DEC-31-1997             SEP-30-1997           JUN-30-1997           MAR-31-1997
<EXCHANGE-RATE>                                  1                       1                     1                     1 
<CASH>                                       3,945                   6,016                 6,371                 5,586
<INT-BEARING-DEPOSITS>                           0                       0                     0                     0
<FED-FUNDS-SOLD>                            19,500                  13,000                 3,460                 2,840
<TRADING-ASSETS>                                 0                       0                     0                     0 
<INVESTMENTS-HELD-FOR-SALE>                  3,656                   3,274                 2,963                 3,502
<INVESTMENTS-CARRYING>                       1,605                   2,106                 2,107                 2,178
<INVESTMENTS-MARKET>                         1,617                   2,116                 2,110                 2,092
<LOANS>                                    101,244                 101,083                98,079                98,560
<ALLOWANCE>                                    937                     982                   955                   965
<TOTAL-ASSETS>                             133,507                 126,922               114,185               109,638
<DEPOSITS>                                 114,832                 108,440                95,485                90,636
<SHORT-TERM>                                 9,000                   9,000                 9,400                10,000
<LIABILITIES-OTHER>                            936                     946                   995                   869
<LONG-TERM>                                      0                       0                     0                     0
<PREFERRED-MANDATORY>                            0                       0                     0                     0
<PREFERRED>                                      0                       0                     0                     0
<COMMON>                                     1,253                   1,044                 1,044                 1,044
<OTHER-SE>                                       0                   7,492                 7,261                 7,089
<TOTAL-LIABILITIES-AND-EQUITY>             133,507                 126,922               114,185               109,638
<INTEREST-LOAN>                              9,139                   6,730                 4,393                 2,156
<INTEREST-INVEST>                              290                     225                   155                    82
<INTEREST-OTHER>                               196                      86                    53                    24
<INTEREST-TOTAL>                             9,625                   7,041                 4,601                 2,262
<INTEREST-DEPOSIT>                           3,992                   2,814                 1,816                   885
<INTEREST-EXPENSE>                           4,391                   3,167                 2,073                 1,010
<INTEREST-INCOME-NET>                        5,234                   3,874                 2,528                 1,252
<LOAN-LOSSES>                                  360                     270                   180                    90
<SECURITIES-GAINS>                               0                       0                     0                     0
<EXPENSE-OTHER>                              4,452                   3,295                 2,189                 1,068
<INCOME-PRETAX>                              1,173                     853                   505                   249
<INCOME-PRE-EXTRAORDINARY>                   1,173                     853                   505                   249
<EXTRAORDINARY>                                  0                       0                     0                     0
<CHANGES>                                        0                       0                     0                     0
<NET-INCOME>                                   756                     553                   327                   163
<EPS-PRIMARY>                                  .60                     .53                   .31                   .16
<EPS-DILUTED>                                  .56                     .48                   .24                   .16
<YIELD-ACTUAL>                                9.07                    4.47                  4.05                     0
<LOANS-NON>                                    892                   1,037                 1,031                   934
<LOANS-PAST>                                   779                   1,337                   702                   247
<LOANS-TROUBLED>                                 0                     274                   275                   276
<LOANS-PROBLEM>                              1,571                   2,648                 2,517                 1,967
<ALLOWANCE-OPEN>                               875                     875                   875                   875
<CHARGE-OFFS>                                  299                     163                   100                     0
<RECOVERIES>                                     1                       0                     0                     0
<ALLOWANCE-CLOSE>                              937                     982                   955                   965
<ALLOWANCE-DOMESTIC>                           937                     982                   955                   965
<ALLOWANCE-FOREIGN>                              0                       0                     0                     0
<ALLOWANCE-UNALLOCATED>                          0                       0                     0                     0
        

</TABLE>