LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
windsurferLA
 
Posts: n/a
Default results of "SUMIF" test criteria

I’m trying to understand how the various sumif and sumproduct functions
work, because I want to sum up data based format of the cell containing
the data.

Please note that I'm using EXCEL97 with all of the latest Microsoft
patches.

If seen the following formula used to sum the values in column “B” where
column “A” contains the term “income”.

=SUMPRODUCT((A2:A6="Income")*(B2:E6))

The fact that it works implies that the test
(A2:A6="Income")
returns a value of unity when “true” rather than the text “true”.
The SUMPRODUCT FUNCTION then performs the equivalent of a matrix
multiplication and returns the sum.
I find it rather strange that the test returns the value unity. HOW COME?

I’ve also observed that if I place the function formula.
=Cell(“format”,B2:E6)
any place else on the worksheet,
the SUMPRODUCT formula shown above returns “#value”.

WHY SHOULD A FORMULA IN ONE PART OF WORKSHEET IMPACT RESULTS IN ANOTHER?

I’ve also observed that if I use the formula
=Cell(“format”,B2:E6)
and then change the formatting of a cell within the range being tested,
such as B2,
the output of =Cell(“format”,B2:E6) does not change until I force a
recalculation even though the sheet is set for automatic recalc. WHY?
 
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
abdualmohsn almedrahe abdualmohsn ahmad Excel Discussion (Misc queries) 1 November 19th 05 06:32 PM
Returning Results Based on Two Criteria [email protected] Excel Worksheet Functions 7 October 23rd 05 02:53 PM
criteria 1(a,b,c), criteria 2 (T,F) - Results (3 answers) achievab Kikkoman Excel Discussion (Misc queries) 5 July 1st 05 11:05 PM
Search Range for Criteria in given cell and produce results RFreeman12 Excel Discussion (Misc queries) 3 June 27th 05 09:23 PM
Automate grading of performance test results rkm Excel Worksheet Functions 1 May 24th 05 09:28 PM


All times are GMT +1. The time now is 04:16 PM.

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

About Us

"It's about Microsoft Excel"