View Single Post
 
Old 01-28-2015, 03:12 PM
gebobs gebobs is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Mar 2014
Location: Atlanta
Posts: 837
gebobs has a spectacular aura aboutgebobs has a spectacular aura about
Default

Let's go about this bit by bit. First, your if condition:

If(ROWS($G$6:G6)<COUNTA($B$6:$B$21)

If I'm reading this right, if the row number in the right table is less than the number of entries in the left table (in this example, 4), right? That being it should return a blank (the true result) for the first three rows. Only once the row number equals 4, thus equalling the count, will your formula (the false result) be calculated.

Is that right or is it backward? I would think you would only want it for the first four rows i.e. >=.

Assuming that, it lookslike COUNTA is not going to work since it will count cells with formulas regardless if they return a result. So I tried this:

=IF(ROWS($G$6:G6)>=ROWS($B$6:$B$21)-COUNTBLANK($B$6:$B$21) ...

I tried that and it get's the first and the third names, but misses the other two.

Progress? Um, maybe.
Reply With Quote