Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Function with Multiple Criteria...

In the following formula, what does the ",1,0" stand for at the end of
the formula? Also, what does the "Amount" at the end stand for as well.


=SUM(IF((Place="Down")+(Difference<0),1,0)*Amount

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default Function with Multiple Criteria...

1 is what is returned if the "IF" Statement returns true, 0 if false.
Amount appears to be a named range.

HTH

Die_Another_Day
wrote:
In the following formula, what does the ",1,0" stand for at the end of
the formula? Also, what does the "Amount" at the end stand for as well.


=SUM(IF((Place="Down")+(Difference<0),1,0)*Amount

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 380
Default Function with Multiple Criteria...

It is used to give the SUM something to add up. The formula is doing a count
in reality, so it sums 1 if the condition is met, 0 if it isn't.

The *Amount at the end seems odd though, and it isn't helped by the fact
that what you posted is incorrect, there is a bracket missing, but if it
should be at the end it makes some sort of sense. But assuming this is so,
multiplying by a number means that the 1,0 is superfluous,
=SUM(IF((Place="Down")+(difference<0),Amount)) works just as well.

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

wrote in message
ps.com...
In the following formula, what does the ",1,0" stand for at the end of
the formula? Also, what does the "Amount" at the end stand for as well.


=SUM(IF((Place="Down")+(Difference<0),1,0)*Amount

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 Function with multiple criteria GPearson Excel Worksheet Functions 2 October 26th 09 08:18 PM
If function multiple Criteria Haz Excel Discussion (Misc queries) 8 October 29th 08 08:43 PM
Multiple results from multiple criteria using IF function David Platt Excel Discussion (Misc queries) 2 January 15th 07 10:19 AM
Multiple Sheet, Multiple Criteria Look-Up Function Help Dan Oakes Excel Worksheet Functions 5 December 29th 06 01:37 PM
Look up function for multiple criteria DEE Excel Worksheet Functions 2 November 21st 06 07:00 PM


All times are GMT +1. The time now is 08:14 PM.

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"