Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default strip out < sign and then calculate

On Jun 25, 12:59 pm, "Rick Rothstein \(MVP - VB\)"
wrote:
=IF((IF(LEFT(D22)="<",--RIGHT(D22,LEN(D22)-1),D22))3000,"T","F")


By the way, we can simplify that formula a little bit...

=IF(--SUBSTITUTE(D22,"<","")3000,"T","F")

Simply remove the "<" symbol if one is present and then do your comparison
test.

Rick


Many thanks.

I wish I knew about the SUBSTITUTE function before i wrote the
following:

=IF(OR(LEFT(H17)="<",LEFT(J17)="<",LEFT(L17)="<"), "<"
&FIXED(STDEV(IF(TYPE(H17)=1,H17,RIGHT(H17,LEN(H 17)-1)),IF(TYPE(J17)=1,J17,RIGHT(J17,LEN(J17)-1)),IF(TYPE(L17)=1,L17,RIGHT(L17,LEN(L17)-1))),
2),STDEV(IF(TYPE(H17)=1,H17,RIGHT(H17,LEN(H17)-1)),IF(TYPE(J17)=1,J17,RIGHT(J17,LEN(J17)-1)),IF(TYPE(L17)=1,L17,RIGHT(L17,LEN(L17)-1))))

!!!

I appreciate your help a lot.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how can i change dollar sign to rupee sign in sales invoice vishal kohli Excel Discussion (Misc queries) 3 May 10th 07 02:06 PM
to calculate the difference between sign in and signout time in minutes. [email protected] Excel Worksheet Functions 5 October 1st 06 04:55 PM
can I change the $ sign to a £ sign in an MS template? tony Excel Worksheet Functions 1 January 2nd 06 06:31 PM
XL invoice replace the dollar sign with euro sign Pamela casares New Users to Excel 2 December 16th 05 08:21 PM
TAB STRIP icebreaker914 Excel Discussion (Misc queries) 1 April 16th 05 01:24 PM


All times are GMT +1. The time now is 11:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"