Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet (called Monday in the sample below) with the
following columns: JobNumber (Col D); RequiresTimeSheet (Col E); Times (Col M); Hours (Col N) Formatted as follows: "AAAA";"Yes"/"No", "AAAA-AAAA", [CalculatedHours] Where the first three columns are strings. The "Times" column is also a string representing military time (Ex: "0700-0930"). A function is used to calculate the number of hours (Col. N) worked based on the "Times" entered (Ex: 2.5 for 0700-0930). This column is in a number format, not a string. I am using the SumProduct function as follows: =SUMPRODUCT((Monday!D2:D15="7557")*(Monday!E2:E15= "Yes")*(Monday! N2:N15)) With the expectation that the result would be the total number of calculated hours in the N2:N15 column which are JobNumber "7557" and "Yes" marked in the "RequiresTimeSheet" column. There seems to be an issue with the fact that column N (Hours) is a calculated column. If I run the above, but actually type values in to column N, it works fine. However, the calculated nature of this column does not seem to be a problem for other functions such as SUM. Does this sound familiar to anyone and is there any way this can be corrected (short of Special Pasting Values Only, which is not an option)? Thank you! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pivot table, IF function, calculated item versus calculated field | Excel Discussion (Misc queries) | |||
numbers derived from @ right function don't add | Excel Discussion (Misc queries) | |||
sumproduct function / VB user defined function | Excel Discussion (Misc queries) | |||
Can "IF" function display calculated data as bold? | Excel Worksheet Functions | |||
SUMIF Function Inside SUMPRODUCT Function | Excel Worksheet Functions |