I have the following in a cell:
Problem is, cell K1 contains dates. If I enter the date, say 6/27/11, my code works and the data is successfully pulled from the OEE_109FA.xlsm file. However if I use something like =now()-2, it doesn't work and my returned values are always 0 from my OEE_109FA.xlsm file. Is there any reason why I can't reference a date from a formula with my sumproduct? thanks=SUMPRODUCT('\\Znas1\dept_docs\MFG\Org4Riley\IEC109_110FA\ContinuousImprovement\[OEE_109FA.xlsm]Line Data Table'!$L$1:$L$9000, --('\\Znas1\dept_docs\MFG\Org4Riley\IEC109_110FA\ContinuousImprovement\[OEE_109FA.xlsm]Line Data Table'!$A$1:$A$9000=K1), --('\\Znas1\dept_docs\MFG\Org4Riley\IEC109_110FA\ContinuousImprovement\[OEE_109FA.xlsm]Line Data Table'!$D$1:$D$9000=1), --('\\Znas1\dept_docs\MFG\Org4Riley\IEC109_110FA\ContinuousImprovement\[OEE_109FA.xlsm]Line Data Table'!$B$1:$B$9000="IEC109-1"))
Check the syntax of the NOW function compared to the TODAY() function
Quoting entire posts clutters the forum and makes threads hard to read !
If you are pleased with a member's answer then use the Star icon to rate it
Click here to see forum rules
arthurbr,
Thank you for your response; I'm not sure what you're referring to, would you care to elaborate? thank you.
As XL help will have told you NOW gives actual date AND time. TODAY only the actual date
Quoting entire posts clutters the forum and makes threads hard to read !
If you are pleased with a member's answer then use the Star icon to rate it
Click here to see forum rules
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks