+ Reply to Thread
Results 1 to 5 of 5

Isblank

  1. #1
    Registered User
    Join Date
    09-27-2007
    Posts
    7

    Isblank

    I'm try to use ISBLANK to look at a string of cells and if they are blank to leave the target cell blank.
    Has anyone tried this or have a similar solution using a different function?
    IE
    =IF(ISBLANK(G7:H7)=FALSE,SUM(I6-H7+G7),"") is on cell I7.
    Make - I6 - $700
    if you leave H7 and G7 blank, I7 should be blank- it's not-it's $700.
    Last edited by dada_man; 09-27-2007 at 07:18 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075
    ISBLANK works okay for me. Can you give us a bit more detail about the problem?
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Valued Forum Contributor
    Join Date
    04-11-2006
    Posts
    407
    How about:
    =IF(G7&H7<>"",SUM(I6-H7+G7),"")

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Because you're looking at a range of cells with ISBLANK your formula actually needs to be array-entered, i.e. confirmed with CTRL+SHIFT+ENTER, I'd go with Ikabod's suggestion, although it normally doesn't make sense to use both SUM and + and - so you should probably use just

    =IF(G7&H7<>"",I6-H7+G7,"")

  5. #5
    Registered User
    Join Date
    09-27-2007
    Posts
    7

    Isblank

    Thanks guys that is way better solution.
    You guys really know what you are doing.

    Thanks

+ 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