Share via

ISBLANK() does not work with ADDRESS() function

Anonymous
2016-09-22T04:49:13+00:00

Hi, I am using Excel to create an automatically updating sheet for a game I play. There is a mechanic that allows you to be trained in a skill, thus giving a boost to that skill. I am trying to write a function that checks to see if that certain cell is blank and if it is, do nothing, if is not empty, add 5. I am not using a direct call like 

IF(ISBLANK(BU2),0,5)

Instead, I am using

IF(ISBLANK(ADDRESS(ROW(),MATCH("Acrobatics Trained",1:1,0))),0,5)

because I want to be able to move around that certain cell and not have it mess things up so instead I search for it using MATCH(). It should come up false, but always comes up true, does anyone know why? Does ADDRESS() just not work with ISBLANK()?

Thanks in advance

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

HansV 462.6K Reputation points
2016-09-22T05:34:49+00:00

ADDRESS returns a string, which is never blank. You want to know if a cell is blank, not whether its address is blank (it never is).

Perhaps

=IF(ISBLANK(INDIRECT(ADDRESS(ROW(),MATCH("Acrobatics Trained",1:1,0)))),0,5)

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2016-09-22T12:48:44+00:00

    Oh now I feel dumb, thanks so much! That was exactly what I needed.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments