+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    66

    blank display if figures not yet entered

    I have this formula in a cell:

    =IF(AND($D4=H4,$F4=I4),3,IF(SIGN($D4-$F4)=SIGN(H4-I4),1,0))

    but i need to somehow incorporate a formula that only shows this if a cell has a value present.

    I know as an example its something like:

    =IF(C2="","",C3)

    but i dont know how that would go in my existing formula as i dont know how to stack IF statements?? (a very kind person on this forum did the original formula btw)

    the cell that i need to have as the 'blank or not' is D4.

    Many Thanks
    Last edited by 1.zer0; 06-19-2009 at 04:55 AM.

  2. #2
    Forum Guru zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    5,740

    Re: blank display if figures not yet entered

    Do opposite:

    IF(C2=something; C3; "")

    Edit : Or this

    IF(D4="";"";IF(AND($D4=H4,$F4=I4),3,IF(SIGN($D4-$F4)=SIGN(H4-I4),1,0)))
    "Relax. What is mind? No matter. What is matter? Never mind!"

  3. #3
    Registered User
    Join Date
    06-12-2009
    Location
    Manchester, UK
    MS-Off Ver
    Excel 2010
    Posts
    66

    Re: blank display if figures not yet entered

    exceptional zbor. Thank you very much.

    IIRC it was you who did the original formula, no?

    Such a great, friendly forum, with absolutely rapid responses. helped me immensly.

    Thanks.

  4. #4
    Forum Guru zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    Excel 2007
    Posts
    5,740

    Re: blank display if figures not yet entered

    Yes, now I remember
    "Relax. What is mind? No matter. What is matter? Never mind!"

  5. #5
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    Re: blank display if figures not yet entered

    This is my formula that you zbor must take full credit for really however the following formula does not keep the cell blank until a score is entered I have tried to follow steps above but I must be doing something wrong the formula is in cell H4

    =IF(AND(D3=F3,E3=G3),3,IF(SIGN(D3-E3)=SIGN(F3-G3),1,0))

    any help much appreciated

    thanks

  6. #6
    Registered User
    Join Date
    06-13-2010
    Location
    Plymouth, England
    MS-Off Ver
    Excel 2010
    Posts
    58

    anyone help me with this thanks

    this formula:

    =IF(AND(D3=F3,E3=G3),3,IF(SIGN(D3-E3)=SIGN(F3-G3),1,0))

    is in cell H4 but when no value is added in D3 E3 F3 G3 3 is awareded also in the same instance if there is a value in D3 and E3 but not in F3 and G3 then a false value is calculated in H4 which I would prefer to be blank for example
    Attached Files Attached Files

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.2.0