<TABLE> <S> <C>

<PAGE>
<ARTICLE> 9
<LEGEND>
THIS SCHEDULE CONTAINS SUMMARY FINANCIAL INFO EXTRACTED FROM THE CONSOLIDATED
BALANCE SHEET OF CARLINVILLE NATIONAL BANK SHARES, INC. AND SUBSIDIARIES AS OF
6-30-99 AND THE CONSOLIDATED STMTS OF INCOME AND COMPREHENSIVE INCOME,
STOCKHOLDER'S EQUITY, AND CASH FLOWS FOR THE 3 AND 6 MOS ENDED JUNE 30, 1999 AND
1998 AND IS QUALIFIED IN ITS ENTIRETY BY REFERENCE TO SUCH FINANCIAL STATMENTS.
</LEGEND>

<S>                             <C>
<PERIOD-TYPE>                   6-MOS
<FISCAL-YEAR-END>                          DEC-31-1999
<PERIOD-START>                             JAN-01-1999
<PERIOD-END>                               JUN-30-1999
<CASH>                                       4,653,529
<INT-BEARING-DEPOSITS>                         161,689
<FED-FUNDS-SOLD>                             7,685,000
<TRADING-ASSETS>                                     0
<INVESTMENTS-HELD-FOR-SALE>                 70,670,538
<INVESTMENTS-CARRYING>                      10,292,205
<INVESTMENTS-MARKET>                        10,061,000
<LOANS>                                    155,468,487
<ALLOWANCE>                                  1,325,813
<TOTAL-ASSETS>                             262,209,432
<DEPOSITS>                                 226,050,577
<SHORT-TERM>                                 5,700,997
<LIABILITIES-OTHER>                          2,341,429
<LONG-TERM>                                  1,252,000
<PREFERRED-MANDATORY>                                0
<PREFERRED>                                          0
<COMMON>                                       262,710
<OTHER-SE>                                  26,601,719
<TOTAL-LIABILITIES-AND-EQUITY>             262,209,432
<INTEREST-LOAN>                              6,593,599
<INTEREST-INVEST>                            2,248,760
<INTEREST-OTHER>                               340,176
<INTEREST-TOTAL>                             9,182,535
<INTEREST-DEPOSIT>                           4,635,300
<INTEREST-EXPENSE>                           4,854,589
<INTEREST-INCOME-NET>                        4,327,946
<LOAN-LOSSES>                                  330,000
<SECURITIES-GAINS>                              29,978
<EXPENSE-OTHER>                              3,581,053
<INCOME-PRETAX>                              1,223,850
<INCOME-PRE-EXTRAORDINARY>                     847,121
<EXTRAORDINARY>                                      0
<CHANGES>                                            0
<NET-INCOME>                                   847,121
<EPS-BASIC>                                       3.41
<EPS-DILUTED>                                     3.41
<YIELD-ACTUAL>                                    7.59
<LOANS-NON>                                  2,168,000
<LOANS-PAST>                                   108,000
<LOANS-TROUBLED>                                     0
<LOANS-PROBLEM>                             15,145,000
<ALLOWANCE-OPEN>                             1,641,212
<CHARGE-OFFS>                                  705,812
<RECOVERIES>                                    60,413
<ALLOWANCE-CLOSE>                            1,325,813
<ALLOWANCE-DOMESTIC>                         1,225,813
<ALLOWANCE-FOREIGN>                                  0
<ALLOWANCE-UNALLOCATED>                        100,000


</TABLE>