#1   Report Post  
Posted to microsoft.public.excel.misc
s boak
 
Posts: n/a
Default Formula Help

Hi Folks:

I'm trying to develop a formula that says if the first 2 characters of a
cell are not either a CU, or a GU, return the word "Tube"

The formula below yields a #VALUE!

=IF(E7<"CU*","Tube","Module")*OR(IF(E7<"GU*","Tu be","Module"))

Any help appreciated

Steve


  #2   Report Post  
Posted to microsoft.public.excel.misc
Pete_UK
 
Posts: n/a
Default Formula Help

Try this then:

=IF(OR(LEFT(E7,2)="CU",LEFT(E7,2)="GU"),"Module"," Tube")

I think I've got the negative logic right!

Hope this helps.

Pete

  #3   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Formula Help

Maybe this mod to cover a blank cell......

=IF(OR(LEFT(E7,2)="CU",LEFT(E7,2)="GU"),"Module",I F(E7="","","Tube"))

Vaya con Dios,
Chuck, CABGx3



"Pete_UK" wrote:

Try this then:

=IF(OR(LEFT(E7,2)="CU",LEFT(E7,2)="GU"),"Module"," Tube")

I think I've got the negative logic right!

Hope this helps.

Pete


  #4   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default Formula Help


=IF(OR(LEFT(E7,2)="CU",LEFT(E7,2)="GU"),"Module"," Tube")

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=544673

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
2 Nesting questions Starchaser Excel Worksheet Functions 7 January 20th 06 06:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


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