Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello again
this is a function to look at the date. Function timeleft() timeleft = Date - 365 End Function then this function written into excel not vba looks at the date and sees if the value in A5 is greater than the date today, if it is, then it shows the value in K5, else its 0. =IF(A5$S$5,K5,0) then this worksheet function sums the new column, in worksheet a and b, =SUM('2005 Archived'!P5:P59)+SUM('2004 Archived'!P5:P49) and gives the total value from today minus 365 days. what i would like to do is put this all in a macro. Any suggestions would be greatly appreciated. thanks again mike |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Automate Combine 2 Spreadsheets into two worksheets | Excel Worksheet Functions | |||
How to merge / combine several worksheets into one new worksheet without VBA / Macro? FOR EXPERTS | Excel Worksheet Functions | |||
use a macro to automate excel worksheet password protection | Excel Discussion (Misc queries) | |||
Macro to Combine 2 columns to make one column without merging | Excel Discussion (Misc queries) | |||
Macro to combine several worksheet formulas | Excel Programming |