'Less Than' symbol problems - Solved

pbornemeier

Well-known Member
Joined
May 24, 2005
Messages
3,915
I was attempting to answer a post with a formula that contained a less than symbol and my formula was truncated. I originally posted with code tags then tried code and noparse tags then noparse alone and got the same result each time:

Code:
=IF(H3=YEAR(NOW()),"OK",IF(DATE(YEAR(F3)+3,MONTH(F3)-3,DAY(F3))<NOW(),"DUE","NOT DUE"))

=IF(H3=YEAR(NOW()),"OK",IF(DATE(YEAR(F3)+3,MONTH(F3)-3,DAY(F3)) LT NOW(),"DUE","NOT DUE"))
Replace LT with the less than symbol

It worked for this post, but when I tried it here: http://www.mrexcel.com/forum/newreply.php?do=postreply&t=434154 the formula was truncated at the <

Just got the answer - leave a space at the open end of the < and > symbol - Otherwise it is sometimes interpreted as an html item.
 
Last edited:
or use the php tag
PHP:
<hello>

But I have had to edit something and when you go back I think with the php tags it is truncated when editing, but can't remember exactly. :)

lets see...
 
Last edited:
or use the php tag
PHP:
<hello>
But I have had to edit something and when you go back I think with the php tags it is truncated when editing, but can't remember exactly. :)

But of course you can't replicate it in here, since html is disabled. :p
 
Another option is to use the HTML code for less than. It's & lt ; (but without any spaces)

Denis
 

Forum statistics

Threads
1,221,574
Messages
6,160,602
Members
451,657
Latest member
Ang24

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