+ Reply to Thread
Results 1 to 5 of 5

=isblank returns cell as appearing blank, but not with a blank value resulting in #REF

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Uk
    MS-Off Ver
    office for mac 11
    Posts
    4

    =isblank returns cell as appearing blank, but not with a blank value resulting in #REF

    Hi, I hope this is the right place to post this question - and i hope its not one out there with an answer already - Ive had a good look around without much success so have decided to take the plunge and try and explain my question!

    The problem has come about through building up something of a chain of cells relying on the entry in another

    Cell A1 on sheet 1 refers to a cell on Sheet 2 ( Sheet2!B2 ) - and if B2 on sheet one is blank - Sheet 1 A1 appears blank itself.

    However - A2, A3, A4 A5 ect on Sheet 1 also refer to Sheet 1 A1, and the value of cell A1 directs these cells to a different work sheet

    For example

    Sheet 2 B2 Value is 'Dogs'

    Sheet 1 A1 Appears 'Dogs'

    Sheet 1 A2 Then Looks at the work Sheet 'Dogs' Cell C3

    And i have used this formula (For the purposes of relating the target cell in comparison the position of the cells however i have actually changed from the standard A1 grid format to R1C1 format)

    =IF(ISBLANK(RC[-1]),"",INDIRECT("'"&(RC[-1]&"'!c3")))

    This works fine when the original target cell has a value (Sheet 2 B2),

    however when this is blank, And Sheet 1 A1 Appears Blank - it keeps returning the #REF

    I have tried using =IF(RC[-1]="","") - which has worked to return a blank cell - but i cannot work out how to complete this formula with my 'indirect' formula


    Sorry it has been so wordy - i have not found it easy to explain

    Many thanks in advance to anyone who can help me!


    Ben

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: =isblank returns cell as appearing blank, but not with a blank value resulting in #REF

    Hello Ben,

    Can't you just combine those 2?

    =IF(RC[-1]="","",INDIRECT("'"&RC[-1]&"'!c3"))
    Audere est facere

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Uk
    MS-Off Ver
    office for mac 11
    Posts
    4

    Re: =isblank returns cell as appearing blank, but not with a blank value resulting in #REF

    Thank you!

    I think its been a very long day - closest i came up with was

    =IF(RC[-1]="",""),INDIRECT("'"&(RC[-1]&"'!c3"))

    i just couldn't quite get the brackets right

    Thank you so much for your help - and really quick reply!!!


    Ben

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: =isblank returns cell as appearing blank, but not with a blank value resulting in #REF

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  5. #5
    Registered User
    Join Date
    08-13-2013
    Location
    Uk
    MS-Off Ver
    office for mac 11
    Posts
    4

    Re: =isblank returns cell as appearing blank, but not with a blank value resulting in #REF

    Thanks for your help - was ahead of you on the reputation thing - and did look for the thread tools button, but couldnt see it last night - have found it now - thanks for your help and patience

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] When cell 1 and 2 are blank, cell 3 returns #DIV/0!. Would like it to be blank.
    By rwalker1052 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-19-2013, 04:28 AM
  2. If function where the resulting cell does not go blank
    By managingcrap in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-13-2013, 01:10 PM
  3. Blank cell appearing as greater than 1000?
    By davidx in forum Excel General
    Replies: 4
    Last Post: 07-08-2013, 12:46 PM
  4. Cell is blank but ISBLANK function says its not blank
    By welchs101 in forum Excel General
    Replies: 12
    Last Post: 06-30-2011, 05:31 PM
  5. C1 appears blank, but ISBLANK(c1) returns false
    By Sam in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-18-2005, 09:06 AM

Tags for this Thread

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