LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Qaspec
 
Posts: n/a
Default Using SUMPRODUCT...but prolly not correctly

I posted this a few hours ago. I know it's annoying to repost but and I
apologize but I read my own post and confused myself. So I wanted to make my
post clearer so I could I understand it at least. This one is the last hurdle
on a file I have due tommorrow so any help is profoundly appreciated. I would
like to show If an employee has had points accumulated during the last month
from today, the previous month from today and the 2 months previous to today.
dec25 2004: jan24 2005 if there is one absence than 1
nov25 2004: dec24 2004 if there are 2 absences than 2
oct25 2004: nov24 2004 if there is one absence than 1

the dates are in D150:D269
the corresponding points N150:N269
3 cells to return data are m10 m11 and m12
for the last month (m11) I'm using this

=SUMPRODUCT(($D$150:$D$269=DATE(YEAR(TODAY()),MON TH(TODAY())-1,DAY(TODAY())))*(TODAY()=$D$150:$D$269)*$N$150:$ N$269)

in m12 for the previous month I'm using the following but receiving a #value
error


=SUMPRODUCT(($D$150:$D$269=DATE(YEAR(TODAY()),MON TH(TODAY())-2,DAY(TODAY())))*(DATE(YEAR(TODAY()),MONTH(TODAY() )-1,DAY(TODAY())))=$D$150:$D$269)*$N$150:$N$269

Please help and I appreciate any effort. Thanks!


 
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
Another Sumproduct & #N/A problem Dave Davis Excel Worksheet Functions 3 January 10th 05 03:59 PM
Sumproduct ... Empty Cells vs Spaces? Ken Excel Discussion (Misc queries) 9 December 17th 04 08:03 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM
Sumproduct in Excel Spreadsheet to read Access db table Jules Excel Worksheet Functions 1 November 9th 04 02:50 PM


All times are GMT +1. The time now is 04:02 AM.

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

About Us

"It's about Microsoft Excel"