Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
saybut
 
Posts: n/a
Default Quick one(I think!), LEN & IF


Hi,

does anyone know if its possible to incorporate the IF and LEN
statements,

I'm trying to say, IF the field is over 62 characters in Legth, show 1,
or show 0 if its under.

I tried various, =IF(A162,1,0) but that doesn't work, do I need to use
the LEN statement somewhere also?

Thanks for any help, much appreciated.


--
saybut
------------------------------------------------------------------------
saybut's Profile: http://www.excelforum.com/member.php...fo&userid=5949
View this thread: http://www.excelforum.com/showthread...hreadid=523611

  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default Quick one(I think!), LEN & IF

=IF(LEN(A1)62,1,0)

--
Kind regards,

Niek Otten

"saybut" wrote in message
...

Hi,

does anyone know if its possible to incorporate the IF and LEN
statements,

I'm trying to say, IF the field is over 62 characters in Legth, show 1,
or show 0 if its under.

I tried various, =IF(A162,1,0) but that doesn't work, do I need to use
the LEN statement somewhere also?

Thanks for any help, much appreciated.


--
saybut
------------------------------------------------------------------------
saybut's Profile: http://www.excelforum.com/member.php...fo&userid=5949
View this thread: http://www.excelforum.com/showthread...hreadid=523611



  #3   Report Post  
Posted to microsoft.public.excel.misc
kraljb
 
Posts: n/a
Default Quick one(I think!), LEN & IF


Try this...

=IF(LEN(A1)62, 1, 0)


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=523611

  #4   Report Post  
Posted to microsoft.public.excel.misc
saybut
 
Posts: n/a
Default Quick one(I think!), LEN & IF


Ah that's brilliant, thanks.. I didn't realise you need to include the
LEN in sperate brackets.

thanks a lot


--
saybut
------------------------------------------------------------------------
saybut's Profile: http://www.excelforum.com/member.php...fo&userid=5949
View this thread: http://www.excelforum.com/showthread...hreadid=523611

  #5   Report Post  
Posted to microsoft.public.excel.misc
 
Posts: n/a
Default Quick one(I think!), LEN & IF

Hi

Try this:
=IF(LEN(A1)62,1,0)

Andy.

"saybut" wrote in
message ...

Hi,

does anyone know if its possible to incorporate the IF and LEN
statements,

I'm trying to say, IF the field is over 62 characters in Legth, show 1,
or show 0 if its under.

I tried various, =IF(A162,1,0) but that doesn't work, do I need to use
the LEN statement somewhere also?

Thanks for any help, much appreciated.


--
saybut
------------------------------------------------------------------------
saybut's Profile:
http://www.excelforum.com/member.php...fo&userid=5949
View this thread: http://www.excelforum.com/showthread...hreadid=523611



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
Can I link a result from Quick Book Pro 2006 to an Excel file? giloboy Excel Discussion (Misc queries) 0 February 20th 06 03:05 PM
quick charting question for similar charts on multiple sheets Boon8888 Charts and Charting in Excel 2 January 27th 06 07:33 PM
is there a quick way to put spaces in data? jvoortman Excel Discussion (Misc queries) 8 October 15th 05 07:52 PM
NEED HELP QUICK AGAIN! The_ tone Excel Discussion (Misc queries) 0 May 10th 05 07:20 PM
quick books and excel 2002 bookeeper New Users to Excel 2 February 7th 05 06:09 PM


All times are GMT +1. The time now is 05:27 PM.

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

About Us

"It's about Microsoft Excel"