+ Reply to Thread
Results 1 to 7 of 7

Cell to show blank

  1. #1
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Cell to show blank

    I have given an explanation on the attached sheet.

    What I basically want to do is for the formula to look at two different cells and when both have no data in, give a blank UNTIL both have data in again.
    Attached Files Attached Files
    Last edited by mrcois; 06-16-2010 at 01:24 PM.

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Cell to show blank

    try

    =IF(OR(A8="",C8=""),"",SUM(A8/C8))

    Then again, you don't need the "SUM" around the division. SUM() does not add anything to the formula, just uses computing power.

    =IF(OR(A8="",C8=""),"",A8/C8)

    is more efficient and less typing.

    cheers

  3. #3
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Cell to show blank

    Thanks, that worked 100%...

  4. #4
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Cell to show blank

    I have uploaded another example. If you can help me, I'll will appreciate it...
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    12-03-2009
    Location
    Providence RI
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    260

    Re: Cell to show blank

    This will work:

    =IF(AND(B8="",A8="",A3="",B3=""),NA(),SUM(A3:B3,A8:B8))

    Tho what you asked for in the workbook isn't exactly what your title asks for since you said cell to show blank....

  6. #6
    Forum Contributor
    Join Date
    04-20-2010
    Location
    Pretoria, South Africa
    MS-Off Ver
    Excel 2016
    Posts
    151

    Re: Cell to show blank

    Yes sorry, I did use the blank option previously in this thread.

    Thanks for the formula hey, it works 100%...

  7. #7
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: Cell to show blank

    Dulanic's formula could be shortened to

    =IF(count(B8,A8,A3,B3)<4,NA(),SUM(A3:B3,A8:B8))

+ 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