Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Sumproduct does not work after editing data

Shift Status 1st Shift 20
2 2 2nd Shift 3
1 2 3rd Shift 3
2 1 Unknown 0
2 1 Total Active 26

Above is the spreadsheet that I am working with. I am using a SUMPRODUCT
formula to tell me how many employees are on each shift. Below are the
formulas I am using to get the results listed after 1st Shift, 2nd Shift and
3rd Shift. The formula works only if the data is not edited. If I change
any number in the shift column, the formulas do not seem to calculate the
value. Any ideas? Does this formula only work on unideted data?

{=SUMPRODUCT(--(L1:L5600="1"),--(M1:M5600=1))}

{=SUMPRODUCT(--(L1:L5600="2"),--(M1:M5600=1))}

{=SUMPRODUCT(--(L1:L5600="3"),--(M1:M5600=1))}

Any help would be appreciated.

Jackie K




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default Sumproduct does not work after editing data

Which column is the employee data in ... as it only checks to values of 1,2
or 3 in L (Shifts?) and 1 in M? Does M=1 indicate employee is present?

Changing values in L & M worked OK for me and there is nothing wrong with
formulae if above applies.

And you don't need to enter with CtrL+SHift+Enter as your posting implies
from the {} brackets.

"Jackie K" wrote:

Shift Status 1st Shift 20
2 2 2nd Shift 3
1 2 3rd Shift 3
2 1 Unknown 0
2 1 Total Active 26

Above is the spreadsheet that I am working with. I am using a SUMPRODUCT
formula to tell me how many employees are on each shift. Below are the
formulas I am using to get the results listed after 1st Shift, 2nd Shift and
3rd Shift. The formula works only if the data is not edited. If I change
any number in the shift column, the formulas do not seem to calculate the
value. Any ideas? Does this formula only work on unideted data?

{=SUMPRODUCT(--(L1:L5600="1"),--(M1:M5600=1))}

{=SUMPRODUCT(--(L1:L5600="2"),--(M1:M5600=1))}

{=SUMPRODUCT(--(L1:L5600="3"),--(M1:M5600=1))}

Any help would be appreciated.

Jackie K




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 to keyboard navigate to other cells during editing formula, when arrow keys don't work [email protected] Excel Discussion (Misc queries) 1 June 15th 06 07:43 PM
sumproduct doesn't work Bonkers Excel Worksheet Functions 9 April 22nd 06 05:28 PM
Sumproduct formulas not working after editing dave roth Excel Worksheet Functions 1 February 13th 06 09:37 PM
Sumproduct formulas not working after editing dave roth Excel Worksheet Functions 0 February 13th 06 08:37 PM
Will SUMPRODUCT work for this? Aaron Saulisberry Excel Discussion (Misc queries) 4 January 25th 06 01:05 PM


All times are GMT +1. The time now is 10:02 PM.

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"