Here's one way to achieve it using non-array formulas
See the sample construct at:
http://www.savefile.com/files/7929775
AutoList Daily Totals from Sheet1 to Sheet2.xls
As you are posting/reading from Excelbanter, pl note that the formulas
described below may not appear properly in Excelbanter. Think Excelbanter
unfortunately removes all "greater than" or "less than" signs from posts, so
any formulas which happen to contain these operators will not appear
correctly [for eg: the COUNTIF(...) in the formula in C1 below].
Pl download/see the sample construct above.
Assume table as posted is
in Sheet1's cols A and B, from row1 down
In Sheet2,
Put in A1:
=IF(ISERROR(SMALL(C:C,ROW())),"",
INDEX(Sheet1!A:A,MATCH(SMALL(C:C,ROW()),C:C,0)))
Format A1 as date
Put in B1:
=IF(A1="","",SUMIF(Sheet1!A:A,A1,Sheet1!B:B))
Put in C1:
=IF(OR(Sheet1!A1="",ISTEXT(Sheet1!A1)),"",IF(COUNTIF(Sheet1!$A$1:A1,Sheet1!A
1)>1,"",ROW()))
Select A1:C1, fill down to say, C100,
to cover the max expected extent of data in Sheet1's col A
Sheet2 will auto-return the required results from Sheet1
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi All,
>
[quoted text clipped - 27 lines]
> --
> neilg_cebu