New Board : truncated formulas

Andrew Fergus

MrExcel MVP
Joined
Sep 9, 2004
Messages
5,462
Office Version
  1. 365
  2. 2021
  3. 2016
Platform
  1. Windows
Hi

I believe formulas using the '<' and '>' without spaces around them are being truncated.

Whilst this can be easily resolved by inserting spaces into your formulas (using code tags doesn't seem to make any difference) unfortunately I think it has destroyed the meaning of a number of old posts.

Take for instance this gem from hady :
http://www.mrexcel.com/forum/showpost.php?p=1107631&postcount=14

That was not the original formula and the solution is now useless to others. For instance, if you try entering the formula I used in this thread as you would normally, it would appear like this:
=IF(IF(ISERROR(LEN(C2)),0,LEN(C2))< LEN(B2)*2,MID(B2,LEN(B2)-IF(ISERROR(LEN(C2)),0,LEN(C2)/2),1)&"."&IF(ISERROR(C2),"",C2),C2)
Code:
=IF(IF(ISERROR(LEN(C2)),0,LEN(C2))< LEN(B2)*2,MID(B2,LEN(B2)-IF(ISERROR(LEN(C2)),0,LEN(C2)/2),1)&"."&IF(ISERROR(C2),"",C2),C2)
Andrew
 
Now that is Sod's/Murphy's law isn't it? When I was replying to the thread per my previous post it took me about 5 goes just to get the formula in and here I make post on the subject and everything works just fine!

So if I try again?
=IF(IF(ISERROR(LEN(C2)),0,LEN(C2))< LEN(B2)*2,MID(B2,LEN(B2)-IF(ISERROR(LEN(C2)),0,LEN(C2)/2),1)&"."&IF(ISERROR(C2),"",C2),C2)

Edit : D'Oh! Where is the rhyme or reason?

Also, the point still stands that some formulae in older threads have been altered.

Cheers
Andrew
 
Last edited:
Well--it's not exactly a *new* problem. The same thing happened with the previous board software, too.
 
If something looks truncated to me, I will just "quote" the message temporarily to see the original text.

It isn't ideal, but it works.

And of course, not every user that searches for an answer will think of that.
 

Forum statistics

Threads
1,221,586
Messages
6,160,646
Members
451,661
Latest member
hamdan17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top