Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / October 2006

Tip: Looking for answers? Try searching our database.

Function within a function?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stefan - 24 Oct 2006 18:28 GMT
Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
Bernard Liengme - 24 Oct 2006 18:35 GMT
Parentheses are misplaced.
=IF(AND(B5="122",SUM(D5:L5)>1),1,0)
But why quotes on numeric value 122 ?
=IF(AND(B5=122,SUM(D5:L5)>1),1,0)
best wishes
Signature

Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

> Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
CLR - 24 Oct 2006 18:39 GMT
Try this.......
=IF(AND(B5="122",SUM(D5:L5)>1),1,0)
or this
=IF(AND(B5=122,SUM(D5:L5)>1),1,0)

Vaya con Dios,
Chuck, CABGx3

> Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
Kevin Vaughn - 24 Oct 2006 18:39 GMT
=IF(AND(B5=122,(SUM(D5:L5)>1)),1,0)

Hard to say for sure.  It appears there are some misplaced parenthesis.  I
found it very difficult, when evaluating the formula, to come up with a true
for the test B5 = "122" no matter how I formatted B5 or entered "122".  I
eventually made it a number and tested for a number as above, and it worked
for me.
Signature

Kevin Vaughn

> Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
Jim Thomlinson - 24 Oct 2006 18:41 GMT
You can do this...(I left the quotes around 122 as I assume B5 is Text???)

=IF(AND(B5="122",SUM(D5:L5)>1),1,0)
or
=AND(B5="122",SUM(D5:L5)>1)
Signature

HTH...

Jim Thomlinson

> Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
Stefan - 24 Oct 2006 19:31 GMT
Thanks, everyone, for the fix! :-)

> You can do this...(I left the quotes around 122 as I assume B5 is Text???)
>
[quoted text clipped - 3 lines]
>
> > Why does this not work: =IF(AND(B5="122"),(SUM(D5:L5)>1)),1,0
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.