Hi Fred
never seen the formula before, so i stuck it in a workbook and discovered
that
if in A1 i have 5
and in B1 i have 5
then in A2 i will have a total of 5
however, if i change B1 to 100
then A2 changes to 6
the reason is that the (B1>=100) is a test ... if it's true it returns 1, if
its false it returns 0 ...
so in my first example the formula in A2 is =5+(5>=100) ... =5+(false) .....
= 5 + 0... = 5
in my second example the formula in A2 is =5+(100>=100) ... =5+(true) ....
=5+1... = 6
why you would ever need to use a formula like this is another question
entirely.
However, coming back to your other question about a resource that lists
things like this ... my advice is hang around these newsgroups and you'll
come across some really amazing formulas. You could also have a look at
John Walkenbach's "Excel 200x Formulas" book ...and check out some of the
great excel websites around ... my two favourite ones are Debra Dalgleish's
(
www.contextures.com/tiptech.html) & Chip Pearson's (
www.cpearson.com) ...
but you can find more listed at
www.mvps.org/links.html or do a search at
groups.google.com for excel website recommendations (Norman Harker has
posted an extensive list in the (recent) past).
Cheers
JulieD
Fred J said:
I recently saw this formula in an example:-
[in cell A2] =A1 + (B1>=100)
does this mean that A2 will equal the sum of A1 & B1 if B1 is equal to or
greater than 100 ; otherwise A2 will equal A1 ?
If so, is there anywhere that little gems like this are documented ? - I
browsed through the help pages but found nothing.
TIA
Fred