+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : iferror(index Formula returning blank cells

  1. #1
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Smile iferror(index Formula returning blank cells

    Can anyone help here. The formula works in another work sheet but has stopped in this one. Data entry is task "B1" to "B12" in row 12. You can change the duration of the task in C9 and D9.

    Example
    Delete "B1" in C12, then re enter it and see what happens. Try again in D12, it doesnt work?????

    The table should return a replica of the output in row 22 using formula:
    [=IFERROR(INDEX(C13:C20, MATCH(TRUE, C13:C20<>"", 0)), "")]

    It works fine at data input cell C12 but stops when entering data into other row 12 cells.

    Any advice appreciated please.

    Chambo
    Attached Files Attached Files
    Last edited by Martin Chamberlin; 11-15-2011 at 09:54 AM. Reason: Solved with much thanks again
    Chambo1160

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: iferror(index Formula returning blank cells

    What do you want as result in C21, D21 etc?

  3. #3
    Valued Forum Contributor khamilton's Avatar
    Join Date
    10-08-2009
    Location
    IL
    MS-Off Ver
    Excel 2007
    Posts
    345

    Re: iferror(index Formula returning blank cells

    Try this just a little tweak. ---> =IFERROR(INDEX(C13:C20, MATCH(TRUE, len(C13:C20)<>"", 0)), "")
    Please acknowledge the response you receive, good or bad. If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  4. #4
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: iferror(index Formula returning blank cells

    The result is already there in row 21 for the data entered in C12

    Just delete C12 and enter "B1" into say G12. Row 21 should populate the information automatically from G21 but it stays blank.

    Thanks for the help so far.

  5. #5
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: iferror(index Formula returning blank cells

    That works the same as my formula but only in cell C12.

    Thanks for trying

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: iferror(index Formula returning blank cells

    WHen you enter in G12 let say B1.
    What should be written in G21 and what in C21?

  7. #7
    Forum Contributor
    Join Date
    04-20-2011
    Location
    Birmingham, England
    MS-Off Ver
    Excel 2007
    Posts
    121

    Re: iferror(index Formula returning blank cells

    Quote Originally Posted by zbor View Post
    WHen you enter in G12 let say B1.
    What should be written in G21 and what in C21?
    Have a look at the amended attachment. I have manually entered the result in row 21.

    The results in row 21 need to deliver the first non blank cell above.

    Thanks again
    Attached Files Attached Files

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: iferror(index Formula returning blank cells

    Here.. You only need to add space (not blank) in your red cells.
    Attached Files Attached Files

+ 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