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 / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Help With Problem: Nested IF Function, Office2K v Office2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stevehegg@3cushion.com - 11 Dec 2005 15:28 GMT
Hello Group,

I'm looking for some help with a nested IF worksheet function. Shown
below is a formula that I'm using in a model.

=SUM(IF(worksheet!$A$3:$A$54=DATEVALUE("9/1/2005"),IF(worksheet!$B$3:$B$54="<90",worksheet!$C$3:$C$54,0),0))

If short, what I'm trying to do is scan the data in two columns and for
any cells which meet the TRUE case in both columns, then sum the third
numbers for all cases returning TRUE-TRUE. If either cell returns a
FALSE, then enter 0.

I created the original formulas and model in Office2000 and have used
the model for more than a year with no problems. Now, I'm trying to
rework the model on a new PC using Office2003. When I try to modify the
formula, I'm getting the #VALUE! error returned.

When I try to troubleshoot using the Evaluate Forumla tool, it returns
a #VALUE! error on the first worksheet look up, as if the forumla is
unable to find the worksheet.

I'm stumped! Anyone have any ideas? Is there a simpler way to do this
formula, such as using VLOOKUP?
Bob Phillips - 11 Dec 2005 16:33 GMT
It is an array formula, so after adding the formula, you should commit with
Ctrl-Shift-Enter.

It can also be achieved with
=SUMPRODUCT(--(worksheet!$A$3:$A$54=DATEVALUE("9/1/2005"),--(worksheet!$B$3:
$B$54="<90"),worksheet!$C$3:$C$54,0)

which is NOT an array formula

Signature

HTH

Bob Phillips

(remove nothere from email address if mailing direct)

> Hello Group,
>
> I'm looking for some help with a nested IF worksheet function. Shown
> below is a formula that I'm using in a model.

=SUM(IF(worksheet!$A$3:$A$54=DATEVALUE("9/1/2005"),IF(worksheet!$B$3:$B$54="
<90",worksheet!$C$3:$C$54,0),0))

> If short, what I'm trying to do is scan the data in two columns and for
> any cells which meet the TRUE case in both columns, then sum the third
[quoted text clipped - 12 lines]
> I'm stumped! Anyone have any ideas? Is there a simpler way to do this
> formula, such as using VLOOKUP?
Ron Rosenfeld - 11 Dec 2005 16:38 GMT
>Hello Group,
>
[quoted text clipped - 19 lines]
>I'm stumped! Anyone have any ideas? Is there a simpler way to do this
>formula, such as using VLOOKUP?

Probably you did not enter your formula as an ARRAY formula (holding down
<ctrl><shift> while hitting <enter>).

You could also write it as the **array** formula:

=IF(AND(worksheet!$A$3:$A$54=DATEVALUE("9/1/2005"),worksheet!$B$3:$B$54="<90"),worksheet!$C$3:$C$54,0)

--ron
stevehegg@3cushion.com - 11 Dec 2005 17:10 GMT
> Probably you did not enter your formula as an ARRAY formula (holding down
> <ctrl><shift> while hitting <enter>).

Thanks Bob & Ron .... it's been so long since I originally created the
model, that I forgot about that important step in the formula entry.
That solved the problem. Cheers!
 
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.