<TABLE> <S> <C>

<PAGE>
<ARTICLE> 9
<LEGEND>
THIS SCHEDULE CONTAINS SUMMARY FINANCIAL INFORMATION EXTRACTED FROM THE
CONSOLIDATED FINANCIAL STATEMENTS OF CARLINVILLE NATIONAL BANKSHARES, INC. AND
SUBSIDIARIES FOR THE YEAR ENDED DECEMBER 31, 1998 AND IS QUALIFIED IN ITS
ENTIRETY BY REFERENCE TO SUCH FINANCIAL STATEMENTS.
</LEGEND>
       
<S>                             <C>
<PERIOD-TYPE>                   YEAR
<FISCAL-YEAR-END>                          DEC-31-1998
<PERIOD-START>                             JAN-01-1998
<PERIOD-END>                               DEC-31-1998
<CASH>                                       9,385,889
<INT-BEARING-DEPOSITS>                       1,000,197
<FED-FUNDS-SOLD>                            15,997,000
<TRADING-ASSETS>                                     0
<INVESTMENTS-HELD-FOR-SALE>                 61,380,481
<INVESTMENTS-CARRYING>                      12,605,746
<INVESTMENTS-MARKET>                        12,965,442
<LOANS>                                    153,180,069
<ALLOWANCE>                                  1,641,212
<TOTAL-ASSETS>                             266,055,279
<DEPOSITS>                                 229,925,936
<SHORT-TERM>                                 4,499,417
<LIABILITIES-OTHER>                          2,623,803
<LONG-TERM>                                  1,252,000
<PREFERRED-MANDATORY>                                0
<PREFERRED>                                          0
<COMMON>                                       262,710
<OTHER-SE>                                  27,491,413
<TOTAL-LIABILITIES-AND-EQUITY>             266,055,279
<INTEREST-LOAN>                             11,183,905
<INTEREST-INVEST>                            3,736,903
<INTEREST-OTHER>                               808,048
<INTEREST-TOTAL>                            15,728,856
<INTEREST-DEPOSIT>                           8,131,779
<INTEREST-EXPENSE>                           8,568,029
<INTEREST-INCOME-NET>                        7,160,827
<LOAN-LOSSES>                                  335,000
<SECURITIES-GAINS>                             313,506
<EXPENSE-OTHER>                              5,671,744
<INCOME-PRETAX>                              2,802,105
<INCOME-PRE-EXTRAORDINARY>                   2,036,625
<EXTRAORDINARY>                                      0
<CHANGES>                                            0
<NET-INCOME>                                 2,036,625
<EPS-PRIMARY>                                    10.07
<EPS-DILUTED>                                    10.07
<YIELD-ACTUAL>                                    3.70
<LOANS-NON>                                  1,315,786
<LOANS-PAST>                                   457,000
<LOANS-TROUBLED>                                     0
<LOANS-PROBLEM>                             15,145,000
<ALLOWANCE-OPEN>                             1,098,038
<CHARGE-OFFS>                                  593,388
<RECOVERIES>                                   139,576
<ALLOWANCE-CLOSE>                            1,641,212
<ALLOWANCE-DOMESTIC>                         1,451,900
<ALLOWANCE-FOREIGN>                                  0
<ALLOWANCE-UNALLOCATED>                        189,312
        

</TABLE>