Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Junior Member
 
Posts: 1
Default How do I list all sums from sheet1 to sheet2?

Hi All,

As the subject. I would like to list all sums in sheet1 to sheet2. Example:
Sheet1:
Date Amount
01/01/2006 1000
01/01/2006 1500
01/01/2006 500
01/01/2006 800
Total 3800

01/02/2006 2000
01/02/2006 3000
01/02/2006 2000
Total 7000

Sheet2:
01/01/2006 3800
01/02/2006 7000


I want sheet2 to be automatically filled-in with values from sheet1 as illustrated above.

Is it possible to do it? Please help!

Thanks,
Neil
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default How do I list all sums from sheet1 to sheet2?

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(COUNT IF(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
---
"neilg_cebu" wrote in message
...

Hi All,

As the subject. I would like to list all sums in sheet1 to sheet2.
Example:
Sheet1:
Date Amount
01/01/2006 1000
01/01/2006 1500
01/01/2006 500
01/01/2006 800
Total 3800

01/02/2006 2000
01/02/2006 3000
01/02/2006 2000
Total 7000

Sheet2:
01/01/2006 3800
01/02/2006 7000


I want sheet2 to be automatically filled-in with values from sheet1 as
illustrated above.

Is it possible to do it? Please help!

Thanks,
Neil


--
neilg_cebu



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Change List Based on Value Chosen in Another List Edwin Kelly Excel Worksheet Functions 4 March 2nd 06 08:31 PM
multiple select from the drop down list in excel. list in one sheet and drop down in sriramus Excel Discussion (Misc queries) 5 October 27th 05 07:55 PM
Copy buttons by rows Optitron New Users to Excel 21 August 30th 05 09:56 PM
merging sheet1 to sheet2 RyanFC Excel Worksheet Functions 3 August 22nd 05 09:55 PM
named range, data validation: list non-selected items, and new added items KR Excel Discussion (Misc queries) 1 June 24th 05 06:21 AM


All times are GMT +1. The time now is 08:27 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"