+ Reply to Thread
Results 1 to 4 of 4

IF formulas

  1. #1
    Registered User
    Join Date
    04-07-2008
    Posts
    11

    IF formulas

    Hey Everyone,

    I have searched through the forum and even watched on line videos...i don't have much experience in Excel either...

    can someone explain to me why this won't work...?

    =IF(A11="Completed",L11=J11,"0")

    I have the formula located in L11. I read a little bit about circle referencing. What i am trying to do is add hours only when a job is completed. I have a list in A1 that has job statuses like Ready, InProgress, Blocked, and Completed. I got the formula working when i put "yes" in the true statement and "no" in the false but i was hoping to duplicate a number over to another column.

    any thoughts??

    Thanks in advance

  2. #2
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191
    A formula can't refer to itself; it's called a circular reference. Replace L11=J11 with just J11. Also, you don't need quotes around the 0.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    The L11=J11 is what's causing the problem... If you put the formula in L11 then you implicitly state the at it should equal the result...if that makes sense

    Also, the 0 should not be in quotes if you actually want the number 0 and not a text string.

    anyways formula should be:

    =IF(A11="Completed",J11,0)
    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.

  4. #4
    Registered User
    Join Date
    04-07-2008
    Posts
    11
    Thank you both...it worked

    I am a noob to Excel so don't be surprised if you see alot of threads with my name on them...i have been trying to search but don't always understand what the context is in that particular situation...

    also any idea why this forum logs ppl out so fast...seems like every 2 mins i have to log in again???

+ Reply to 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