Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help!! Using IF statements for the 1st Time


Im trying to clean up data in my worksheet in Column B there is Locatio
Numbers that start with eg UG, UG-100 etc my following IF statement onl
gives me a Yes for the Rows with UG only but I want the UG-100 to com
up with a Yes to and a No for any other data which shouldn't be in tha
colum

=IF(B2="UG","yes","No"

--
gingerbrea
-----------------------------------------------------------------------
gingerbread's Profile: http://www.excelforum.com/member.php...fo&userid=3723
View this thread: http://www.excelforum.com/showthread.php?threadid=56941

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Help!! Using IF statements for the 1st Time

=IF(LEFT(B2,2)="UG","yes","No")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"gingerbread" wrote in message
...
|
| Im trying to clean up data in my worksheet in Column B there is Location
| Numbers that start with eg UG, UG-100 etc my following IF statement only
| gives me a Yes for the Rows with UG only but I want the UG-100 to come
| up with a Yes to and a No for any other data which shouldn't be in that
| column
|
|
| =IF(B2="UG","yes","No")
|
|
| --
| gingerbread
| ------------------------------------------------------------------------
| gingerbread's Profile: http://www.excelforum.com/member.php...o&userid=37233
| View this thread: http://www.excelforum.com/showthread...hreadid=569414
|


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Help!! Using IF statements for the 1st Time


Thanks mate much appreciate

--
gingerbrea
-----------------------------------------------------------------------
gingerbread's Profile: http://www.excelforum.com/member.php...fo&userid=3723
View this thread: http://www.excelforum.com/showthread.php?threadid=56941

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
time and if statements Crazy Lady Excel Worksheet Functions 4 January 17th 07 01:23 PM
If Statements With Time of Day JB Excel Discussion (Misc queries) 4 July 20th 06 08:57 PM
IF Statements and Time [email protected] Excel Worksheet Functions 4 May 6th 06 06:44 AM
Using "IF" and "AND" statements with current time Bill Excel Worksheet Functions 3 April 18th 05 08:21 PM
Working with If statements and time Sue Excel Worksheet Functions 1 March 31st 05 06:06 PM


All times are GMT +1. The time now is 12:23 AM.

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"