Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Worksheet 1
Date Prod Id Customer Amount 1/2 B123 John Doe 5 1/2 B123 Jane Doe 4 1/3 G456 John Smith 5 1/4 S789 Jane Smith 4 I need a formula, function, or Macro to do the following: resulting in WB 2 Copy unique Prod Id (ex. B123 is listed twice but I only need it displayed once on WB 2 with the amount of both as displayed). This to help track sales of a product quarterly. Result for Worksheet 2 Prod ID Jan Feb Mar B123 9 0 0 G456 5 0 0 S789 4 0 0 |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
This sounds like a perfect setup for using Data|Pivottable.
Select your range data|pivottable follow the wizard until you get to the dialog with a layout button on it. Click that layout button Drag the prod id field to the row field drag teh date field to the column field drag the amount field to the data field (if it says "count of Amount", double click on it and change it to Sum.) Then finish up the wizard. If you want to read more about pivottables... Here are a few links: Debra Dalgleish's pictures at Jon Peltier's site: http://peltiertech.com/Excel/Pivots/pivottables.htm And Debra's own site: http://www.contextures.com/xlPivot01.html John Walkenbach also has some at: http://j-walk.com/ss/excel/files/general.htm (look for Tony Gwynn's Hit Database) Chip Pearson keeps Harald Staff's notes at: http://www.cpearson.com/excel/pivots.htm MS has some at (xl2000 and xl2002): http://office.microsoft.com/downloads/2000/XCrtPiv.aspx http://office.microsoft.com/assistan...lconPT101.aspx Sdbenn90 wrote: Worksheet 1 Date Prod Id Customer Amount 1/2 B123 John Doe 5 1/2 B123 Jane Doe 4 1/3 G456 John Smith 5 1/4 S789 Jane Smith 4 I need a formula, function, or Macro to do the following: resulting in WB 2 Copy unique Prod Id (ex. B123 is listed twice but I only need it displayed once on WB 2 with the amount of both as displayed). This to help track sales of a product quarterly. Result for Worksheet 2 Prod ID Jan Feb Mar B123 9 0 0 G456 5 0 0 S789 4 0 0 -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
ps.
After you finish up the wizard, rightclick on the date header and select choose group and show detail|group by months and years. Sdbenn90 wrote: Worksheet 1 Date Prod Id Customer Amount 1/2 B123 John Doe 5 1/2 B123 Jane Doe 4 1/3 G456 John Smith 5 1/4 S789 Jane Smith 4 I need a formula, function, or Macro to do the following: resulting in WB 2 Copy unique Prod Id (ex. B123 is listed twice but I only need it displayed once on WB 2 with the amount of both as displayed). This to help track sales of a product quarterly. Result for Worksheet 2 Prod ID Jan Feb Mar B123 9 0 0 G456 5 0 0 S789 4 0 0 -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
automaticly copy data from one worksheet to another | Excel Discussion (Misc queries) | |||
advanced: synchronizing data value across two worksheet drop boxes | Excel Worksheet Functions | |||
Help PLEASE! Not sure what answer is: Match? Index? Other? | Excel Worksheet Functions | |||
Automatically pasting worksheet data to new worksheet with formulas | Excel Worksheet Functions | |||
Sort pages? | Excel Discussion (Misc queries) |