PC Review


Reply
Thread Tools Rate Thread

Conditional Sum Argument results do not equal cell results Excel

 
 
=?Utf-8?B?UmFuZHkgUiBNdWxsaW5z?=
Guest
Posts: n/a
 
      9th Aug 2006
I am using a consitional sum with three variables =SUM(IF('Current Period
NSA'!$D$8:$D$3000=A23,IF('Current Period NSA'!$E$8:$E$3000=B23,IF('Current
Period NSA'!$H$8:$H$3000=C23,'Current Period NSA'!$AB$8:$AB$3000,0),0),0))
The argument itself shows the correct answer when I edit the formula but when
I close the argument window the cell shows a value of 0.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIEh1dGNoaW5z?=
Guest
Posts: n/a
 
      9th Aug 2006
Your formula works when I try it. It sums the value in column AB (in rows 8
through 3000) for every row in which column D = cell A23, column D = cell
B23, and column H = cell C23. For example, if D10 = A23 and D10 = B23 and
H10 = C23, the formula retrieves the value from AB10. Is this what you
intended?

Although you do not mention it, this is an array formula, which must be
entered by pressing Ctrl+Shift+Enter together.

Hope this helps,

Hutch

"Randy R Mullins" wrote:

> I am using a consitional sum with three variables =SUM(IF('Current Period
> NSA'!$D$8:$D$3000=A23,IF('Current Period NSA'!$E$8:$E$3000=B23,IF('Current
> Period NSA'!$H$8:$H$3000=C23,'Current Period NSA'!$AB$8:$AB$3000,0),0),0))
> The argument itself shows the correct answer when I edit the formula but when
> I close the argument window the cell shows a value of 0.
>

 
Reply With Quote
 
=?Utf-8?B?UmFuZHkgUiBNdWxsaW5z?=
Guest
Posts: n/a
 
      9th Aug 2006
Thanks the array piece is what eluded me - have not had much reason to use
them.
Thanks again

"Tom Hutchins" wrote:

> Your formula works when I try it. It sums the value in column AB (in rows 8
> through 3000) for every row in which column D = cell A23, column D = cell
> B23, and column H = cell C23. For example, if D10 = A23 and D10 = B23 and
> H10 = C23, the formula retrieves the value from AB10. Is this what you
> intended?
>
> Although you do not mention it, this is an array formula, which must be
> entered by pressing Ctrl+Shift+Enter together.
>
> Hope this helps,
>
> Hutch
>
> "Randy R Mullins" wrote:
>
> > I am using a consitional sum with three variables =SUM(IF('Current Period
> > NSA'!$D$8:$D$3000=A23,IF('Current Period NSA'!$E$8:$E$3000=B23,IF('Current
> > Period NSA'!$H$8:$H$3000=C23,'Current Period NSA'!$AB$8:$AB$3000,0),0),0))
> > The argument itself shows the correct answer when I edit the formula but when
> > I close the argument window the cell shows a value of 0.
> >

 
Reply With Quote
 
=?Utf-8?B?VG9tIEh1dGNoaW5z?=
Guest
Posts: n/a
 
      9th Aug 2006
Thanks for the feedback. BTW, the following SUMPRODUCT formula gives the same
results as the array formula:

=SUMPRODUCT(--($D$8:$D$3000=A23),--($E$8:$E$3000=B23),--($H$8:$H$3000=C23),($AB$8:$AB$3000))

Regards,

Hutch

"Randy R Mullins" wrote:

> Thanks the array piece is what eluded me - have not had much reason to use
> them.
> Thanks again
>
> "Tom Hutchins" wrote:
>
> > Your formula works when I try it. It sums the value in column AB (in rows 8
> > through 3000) for every row in which column D = cell A23, column D = cell
> > B23, and column H = cell C23. For example, if D10 = A23 and D10 = B23 and
> > H10 = C23, the formula retrieves the value from AB10. Is this what you
> > intended?
> >
> > Although you do not mention it, this is an array formula, which must be
> > entered by pressing Ctrl+Shift+Enter together.
> >
> > Hope this helps,
> >
> > Hutch
> >
> > "Randy R Mullins" wrote:
> >
> > > I am using a consitional sum with three variables =SUM(IF('Current Period
> > > NSA'!$D$8:$D$3000=A23,IF('Current Period NSA'!$E$8:$E$3000=B23,IF('Current
> > > Period NSA'!$H$8:$H$3000=C23,'Current Period NSA'!$AB$8:$AB$3000,0),0),0))
> > > The argument itself shows the correct answer when I edit the formula but when
> > > I close the argument window the cell shows a value of 0.
> > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - Conditional results added together in a totals cell Dan Trotter Microsoft Excel Discussion 1 9th Nov 2009 07:18 PM
Database Results Wizard formatting Excel results KarenM Microsoft Frontpage 10 28th Aug 2008 03:38 PM
CONDITIONAL RESULTS DEPENDING ON CELL'S NAME (sumproduct) =?Utf-8?B?SEVSTkFO?= Microsoft Excel Misc 4 5th Sep 2006 09:02 PM
CONDITIONAL FORMATTING BASED ON RESULTS IN A CELL =?Utf-8?B?anByZW1hbg==?= Microsoft Excel Worksheet Functions 3 26th Jun 2006 04:00 PM
displaying only results that equal no =?Utf-8?B?U2V0aCBLZW5uZXk=?= Microsoft Access Queries 1 2nd Dec 2003 12:33 PM


Features
 

Advertising
 

Newsgroups
 


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