If you are looking for a table of data in that manner, then I would honestly
suggest you take a look at Pivot tables. Everything you have asked can be done
with formulas, but, given that dates will change (Number of dates as well as
actual dates), and you want values for each individual date, you will have a
mountain of work ahead of to set this up each time, whreas a Pivot Table will do
this in a minute or two, eg
Select your name and date data, including the headers, and then do
Data / PivotTable & PivotChart report, then hit Next / Next / Finish
Now drag NAME to the left of the table and DATE to the middle. This replicates
the table you already have. Now also drag NAME between the two sets of data you
have, right clcik on any the totals, choose field settings and change subtotals
from automatic to none - this gives you the number of refererals for each day
they had one:-
Count of Date
Name Date Total
A 02-Mar-06 3
04-Mar-06 1
B 02-Mar-06 4
C 02-Mar-06 2
04-Mar-06 1
D 02-Mar-06 2
E 02-Mar-06 2
F 04-Mar-06 2
Grand Total 17
and there loads of other easy reports you can generate in the same way
A good intro to these can be found here;-
http://peltiertech.com/Excel/Pivots/pivotstart.htm