Naming formulas

Joined
Oct 12, 2011
Messages
1
Reaction score
0
Hi,
I have a long formula which is working well, but needs to be on about 500 lines:

=IF(OR($B2="",ISNA(VLOOKUP($B2,JobTimes,1,0))),"",$C2*(IF(ISNUMBER($O2),VLOOKUP($B2,JobTimes,2,0)*(1-$O2),0)+IF(ISNUMBER($P2),VLOOKUP($B2,JobTimes,3,0)*(1-$P2),0)+IF(ISNUMBER($Q2),VLOOKUP($B2,JobTimes,4,0)*(1-$Q2),0)))
I named the formula "JHR" to make for easier entry and editing.

Later, I needed to edit the formula, so I went back into the 'Define Name' window, but found that the formula had become:

'Jobs in Hand'!$B2="" "" 'Jobs in Hand'!$C2 IF(ISNUMBER('Jobs in Hand'!$O2),VLOOKUP('Jobs in Hand'!$B2,JobTimes,2,0)*(1-'Jobs in Hand'!$O2),0) ISNUMBER('Jobs in Hand'!$P2) VLOOKUP('Jobs in Hand'!$B2,JobTimes,3,0)抜1 'Jobs in Hand'!
This formula (complete with chinese character) does not work if I enter it into a cell (not suprisingly), but continues to work as if it was exactly like the original when called by name.

I found that some other long formulas had also changed. This makes editing them difficult, since I had to figure out what the original was before doing so.

Has anyone else come across this?
I am using XL2003

Regards - Dave.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top