Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel 2003 Macros and Variables
I have a request, which lead me back to something I've always wondered. I
have a worksheet with columns of data Date numbers name .. .. .. I get the data as something that is raw, and I need to sumarize it by date. Is there a way to write a macro that would go all the down the columns and summarize? Sort of: if Date = "21-Oct-2009" then a = a + 1 I would then copy that macro to another cell and update that macro to "22-Oct" and it would summarize for that date, and so on... Possible? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Excel 2003 Macros and Variables
U can use formula to get results
=IF(A1=DATE(2009,10,21),COUNTIF(A$1:A1,DATE(2009,1 0,21)),"") On Oct 21, 11:55*pm, Randy Brown wrote: I have a request, which lead me back to something I've always wondered. *I have a worksheet with columns of data Date *numbers *name . . . I get the data as something that is raw, and I need to sumarize it by date. * Is there a way to write a macro that would go all the down the columns and summarize? *Sort of: if Date = "21-Oct-2009" then a = a + 1 I would then copy that macro to another cell and update that macro to "22-Oct" and it would summarize for that date, and so on... Possible? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Multiple Variables in Conditional Formatting with Excel 2003 | Excel Worksheet Functions | |||
Sharing variables between the macros in 2 open excel workbooks. | Excel Programming | |||
How do I get 2003 Macros and Toolbar Buttons form Excel 2003 to 20 | New Users to Excel | |||
Variables in Excel (Cells & columns) - Excel 2003 | Excel Discussion (Misc queries) | |||
MS Office Excel 2003 assigning cell values to variables | Excel Programming |