Formula NOT Calculating for some odd reason

mcmuney

Board Regular
Joined
Sep 11, 2015
Messages
86
Code:
=LOOKUP(2,1/(U:U<>""),U:U)
I'm using the above formula and it works fine on my computer. I sent the schedule to some other people and it's working fine for most; however, for one individual, the cell with this formula isn't calculating:


  • Her Options are set to Automatic Formulas: all other cells auto calculate fine
  • F9: hitting F9 doesn't calculate
  • Saving the file doesn't calculate
  • The only way it calculates is by hitting F2 into the cell and exiting out

Anyone know what's causing this to not function properly?

Thanks.
 

Some videos you may like

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.

joeu2004

Well-known Member
Joined
Mar 2, 2014
Messages
2,737
Office Version
2010
Platform
Windows
You neglect to say what the cell displays when the formula does not calculate.

My guess: it displays the formula itself.

If that is the case, my guess is: the cell was formatted as Text when the formula was entered, then the cell format was changed to a numeric format (General, Number, etc).

In that case, the type of the cell value remains text until you "re-enter" the formula (or constant), for example by pressing f2, then Enter.

PS.... That is a imprudent formula. Excel creates an array of 1+ million elements for the second parameter. Unless you might actually have as much as 1+ million rows of data, it is better to use a limited ranged; for example, =LOOKUP(2,1/(U1:U10000<>""),U:U). Change U10000 to any reasonable limit.
 

mcmuney

Board Regular
Joined
Sep 11, 2015
Messages
86
It's not text, that was one of my checks. The formula cell displays the first lookup result.

Thanks for the suggestion to limit the range.


You neglect to say what the cell displays when the formula does not calculate.

My guess: it displays the formula itself.

If that is the case, my guess is: the cell was formatted as Text when the formula was entered, then the cell format was changed to a numeric format (General, Number, etc).

In that case, the type of the cell value remains text until you "re-enter" the formula (or constant), for example by pressing f2, then Enter.

PS.... That is a imprudent formula. Excel creates an array of 1+ million elements for the second parameter. Unless you might actually have as much as 1+ million rows of data, it is better to use a limited ranged; for example, =LOOKUP(2,1/(U1:U10000<>""),U:U). Change U10000 to any reasonable limit.
 

Watch MrExcel Video

Forum statistics

Threads
1,099,142
Messages
5,466,929
Members
406,510
Latest member
wizekor

This Week's Hot Topics

Top