Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default what does this forumla mean?

I got this forumla:
=SUM(IF(('[Title and Reg Chat Data.xls]FY08'!$C$2:$C$9000=W$66)*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67),'[Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000,0))

I understand it is going to the worksheet title and reg, to worksheet fy08,
looking at the range c2:c9000- what is the = w66? As well as the = c67? I
know it is an if asking if those ranges = those cells, but what is the true
part? and how does sum fit in?

Thanks!!!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default what does this forumla mean?

Hi,

In the FY08 sheet it is trying to match a value in W66 in the C column range
and the value in C67 in the E column range and if a match is found it's
summing the corresponding value in the A column Range.

Mike

"mmatz" wrote:

I got this forumla:
=SUM(IF(('[Title and Reg Chat Data.xls]FY08'!$C$2:$C$9000=W$66)*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67),'[Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000,0))

I understand it is going to the worksheet title and reg, to worksheet fy08,
looking at the range c2:c9000- what is the = w66? As well as the = c67? I
know it is an if asking if those ranges = those cells, but what is the true
part? and how does sum fit in?

Thanks!!!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default what does this forumla mean?

Thank you Mike but I am an idiot

So it says IF(('[Title and Reg Chat Data.xls]FY08'!$C$2:$C$9000=W$66
meaning it is adding the range c2:c9000? and let it know if they = W66

Then multiply that with )*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67) and let it know if they = c67


Then if true [Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000


Otherwise return 0

What is the sum?

"Mike H" wrote:

Hi,

In the FY08 sheet it is trying to match a value in W66 in the C column range
and the value in C67 in the E column range and if a match is found it's
summing the corresponding value in the A column Range.

Mike

"mmatz" wrote:

I got this forumla:
=SUM(IF(('[Title and Reg Chat Data.xls]FY08'!$C$2:$C$9000=W$66)*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67),'[Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000,0))

I understand it is going to the worksheet title and reg, to worksheet fy08,
looking at the range c2:c9000- what is the = w66? As well as the = c67? I
know it is an if asking if those ranges = those cells, but what is the true
part? and how does sum fit in?

Thanks!!!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default what does this forumla mean?

This is from the remarks section for the help file on SUM...

"If an argument is an array or reference, only numbers in that array
or reference are counted. Empty cells, logical values, text, or error
values in the array or reference are ignored."

The key part of the above is where it says the SUM function can process an
array. $C$2:$C$9000, $E$2:$E$9000 and $A$2:$A$9000 are arrays (they each
span the same number of cells) and so the SUM function forces the expression
containing them to be evaluated one cell (from each array) at a time and
then adds up the results of each of those individual evaluated expressions.
In this case, the expression containing the array is the IF function, so the
SUM function is adding up all the individual evaluations of the IF function
for each cell, one at a time, in the array. Hence, what are being summed are
these individual formulas...

SUM(IF(('[Title and Reg Chat Data.xls]FY08'!C2=W66)*
('[Title and Reg Chat Data.xls]FY08'!E2=C67),
'[Title and Reg Chat Data.xls]FY08'!A2,0))

=SUM(IF(('[Title and Reg Chat Data.xls]FY08'!C3=W66)*
('[Title and Reg Chat Data.xls]FY08'!E3=C67),
'[Title and Reg Chat Data.xls]FY08'!A3,0))

=SUM(IF(('[Title and Reg Chat Data.xls]FY08'!C4=W66)*
('[Title and Reg Chat Data.xls]FY08'!E4=C67),
'[Title and Reg Chat Data.xls]FY08'!A4,0))

etc. where the cells on '[Title and Reg Chat Data.xls]FY08' are being
incremented throughout the range of the array.

Rick


"mmatz" wrote in message
...
Thank you Mike but I am an idiot

So it says IF(('[Title and Reg Chat Data.xls]FY08'!$C$2:$C$9000=W$66
meaning it is adding the range c2:c9000? and let it know if they = W66

Then multiply that with )*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67) and let it know if they =
c67


Then if true [Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000


Otherwise return 0

What is the sum?

"Mike H" wrote:

Hi,

In the FY08 sheet it is trying to match a value in W66 in the C column
range
and the value in C67 in the E column range and if a match is found it's
summing the corresponding value in the A column Range.

Mike

"mmatz" wrote:

I got this forumla:
=SUM(IF(('[Title and Reg Chat
Data.xls]FY08'!$C$2:$C$9000=W$66)*('[Title and
Reg Chat Data.xls]FY08'!$E$2:$E$9000=$C67),'[Title and Reg Chat
Data.xls]FY08'!$A$2:$A$9000,0))

I understand it is going to the worksheet title and reg, to worksheet
fy08,
looking at the range c2:c9000- what is the = w66? As well as the = c67?
I
know it is an if asking if those ranges = those cells, but what is the
true
part? and how does sum fit in?

Thanks!!!


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
If Forumla huntress731 Excel Discussion (Misc queries) 3 December 14th 06 07:40 PM
Help with Forumla WeSt39 Excel Worksheet Functions 2 March 20th 06 11:22 PM
Forumla Help streetboarder Excel Discussion (Misc queries) 12 January 27th 06 11:50 PM
Forumla Help AB Excel Discussion (Misc queries) 1 January 3rd 06 12:06 AM
Forumla Don Excel Worksheet Functions 3 August 9th 05 02:52 AM


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