Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Chrism
 
Posts: n/a
Default How can I use a cell reference in Sumproduct array formula?

I have a table with dates down the and employee numbers across the top.
I have SUMPRODUCT formulas in all the cells to gather data from named
arrays from a database in the spreadsheet. I'd like to avoid munually
changing (either individually or with REPLACE) date and employee number
references in each formula in each cell. my formula looks like:
{=SUMPRODUCT((Date=DATEVALUE("11/4/04"))*(Audempno=33758)*(Units))}
also, I used a previous suggestion from this forum on another similar
spreadsheet (successfully...for fiscal 3/05)with copying the whole
spreadsheet and changing the data and formulas to this one (fiscal
11/04) and now I get zeros as a result. Any suggestions there?

Thanks again-I hope I'm not going to the well too often.

  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

=SUMPRODUCT(--(Date=B2),--(Audempno=C2),Units)

where B2 holds the date and C2 the employee number

also the function datevalue is obsolete, you might as well use

Date=--"11/4/04"

instead



Regards,

Peo Sjoblom

"Chrism" wrote:

I have a table with dates down the and employee numbers across the top.
I have SUMPRODUCT formulas in all the cells to gather data from named
arrays from a database in the spreadsheet. I'd like to avoid munually
changing (either individually or with REPLACE) date and employee number
references in each formula in each cell. my formula looks like:
{=SUMPRODUCT((Date=DATEVALUE("11/4/04"))*(Audempno=33758)*(Units))}
also, I used a previous suggestion from this forum on another similar
spreadsheet (successfully...for fiscal 3/05)with copying the whole
spreadsheet and changing the data and formulas to this one (fiscal
11/04) and now I get zeros as a result. Any suggestions there?

Thanks again-I hope I'm not going to the well too often.


Reply
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
How do I format a value when using it within a cell reference tha. packmule Excel Worksheet Functions 4 February 3rd 05 09:32 PM
formula to return the value of a cell based on a looked up true reference sarah Excel Worksheet Functions 2 February 2nd 05 08:15 PM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
Using a formula in a Hyperlink Cell reference sslabbe Excel Discussion (Misc queries) 4 December 10th 04 12:30 AM
name of another worksheet in cell for reference Tom A Johnson Excel Worksheet Functions 2 November 11th 04 11:28 PM


All times are GMT +1. The time now is 04:48 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"