Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Formula result does not match displayed result

I am wanting to sum a set of numbers for the previous 7 days. I am using the
following formula:

=SUM(($A4=$A$2:$A$400)*($A$2:$A$400$A4-7)*($C$2:$C$400))

When I look at the Function Arguments window it shows "Formula result =
214.5" (the correct value) but it displays "67.2" (the daily value) in the
spreadsheet.

Does anyone know what is going on and how to remedy it?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Formula result does not match displayed result

=SUM(($A4=$A$2:$A$400)*($A$2:$A$400$A4-7)*($C$2:$C$400))
Your formula above is an array formula, which needs to be array-entered.
Click inside the formula bar, then press CTRL+SHIFT+ENTER (CSE) to confirm
the formula. If you do it correctly, you'd see Excel wrap curly braces: { }
around your formula in the formula bar.

In this instance, alternatively you could use:
=SUMPRODUCT(($A4=$A$2:$A$400)*($A$2:$A$400$A4-7)*($C$2:$C$400))
which can be normally entered, is just press ENTER to confirm the formula
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"lothar" wrote:
I am wanting to sum a set of numbers for the previous 7 days. I am using the
following formula:

=SUM(($A4=$A$2:$A$400)*($A$2:$A$400$A4-7)*($C$2:$C$400))

When I look at the Function Arguments window it shows "Formula result =
214.5" (the correct value) but it displays "67.2" (the daily value) in the
spreadsheet.

Does anyone know what is going on and how to remedy it?

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
formula is displayed instead of the result VishalBade Excel Discussion (Misc queries) 1 September 13th 06 11:44 AM
VLOOKUP FORMULA IS DISPLAYED AS THE RESULT tony Excel Discussion (Misc queries) 1 August 1st 06 05:39 AM
formula result not displayed Darby Excel Discussion (Misc queries) 3 September 30th 05 05:43 PM
Formula is displayed, not result Michael Wright via OfficeKB.com Excel Worksheet Functions 1 April 15th 05 11:19 AM
formula displayed instead of the result ??? Purple Angel Excel Worksheet Functions 2 November 22nd 04 05:28 PM


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