Results 1 to 5 of 5

if function returning 0 when it should not

Threaded View

  1. #1
    Registered User
    Join Date
    11-14-2012
    Location
    Texas, United States
    MS-Off Ver
    Excel 2010
    Posts
    4

    Unhappy if function returning 0 when it should not

    My formula is:

    =IF(SUM($E$7:$G$7)=0,HLOOKUP(LARGE($B7:$D7,1),$B7:$D7,1,FALSE),"sweet")

    I can't figure out why the above formula keeps returning a zero. Shouldn't it return the HLOOKUP value? I used the "Evaluate Formula" Excel feature, and everything looks good, up to the point of getting a "0," i.e., =IF(TRUE,94,"sweet"). I even pulled the HLOOKUP function out of the formula to test it, and it worked properly. I mean, shouldn't it return the value "94," instead of "0"?

    What am I doing wrong?

    Thanks in advance,
    Scientia
    Last edited by scientia; 12-12-2012 at 12:21 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1