Closed Thread
Results 1 to 2 of 2

Add an if statement to the formula i have

  1. #1
    Registered User
    Join Date
    12-30-2011
    Location
    Oak Ridge TN
    MS-Off Ver
    Excel 2007
    Posts
    21

    Add an if statement to the formula i have

    Hey guys hello, back again
    The formula I am using =IF(AND(A2<>1,A2<>2),C2,80-SUMPRODUCT(($A$2:$A$572<>1)*($A$2:$A$572<>2)*($B$2:$B$572=$B2),$C$2:$C$572)) works great, I just need to add if in A column there is a 2 it equals 0. I have added the formula =if(a2=2, 0, "") everywhere in the formula and can not get it to work. Here is the sample worksheet. As always I really appreicate you guys.

    UPLOAD.xlsx

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Add an if statement to the formula i have

    Unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

Closed Thread

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