LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 138
Default Expand an extra condition in formula

Hi

In a previous posting I was advised on the below formula, however I need to
expand it further to ask for the following conditions

If the length is 11 characters and the left 3 characters and right 3
charaters are the same say yes
If the length is 7 characters say yes.

I'm stuck on how to do this, can you help me adapt the below formula or
advise of what I could use?

Kind regards

Paula


=IF(AND(LEFT(F2,3)=RIGHT(F2,3),LEN(F2)=11),"yes"," no")

 
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
Modify and add extra condition gootroots Excel Worksheet Functions 2 November 17th 09 11:06 AM
How to expand Index/Match formula Chris Excel Worksheet Functions 2 August 30th 08 08:24 PM
How to expand the formula bar when excel opens Jeff Lowenstein Excel Discussion (Misc queries) 9 March 18th 08 04:34 PM
How do I set a cell to auto expand when it has a formula? SriGog Excel Worksheet Functions 5 August 15th 06 09:35 PM
Need help to expand existing formula Connie Martin Excel Worksheet Functions 4 November 26th 04 04:23 PM


All times are GMT +1. The time now is 12:21 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"