Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
dot
 
Posts: n/a
Default Create a conditional formula to replace

Hi,
How could I check if the cell in a column starts with a certain alphabet, if
yes, then in a different columns cell add the word "DONE"
eg: validate column P, if a cell starts with XYZ, then in coulmn B, of the
same row, add the word "DONE"
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default Create a conditional formula to replace

Try this:

B1: =IF(LEFT(P1,3)="XYZ","DONE","")
OR
B1: =IF(COUNTIF(P1,"XYZ*"),"DONE","")

Copy either of those formulas down

Is that something you can work with?

***********
Regards,
Ron

XL2002, WinXP-Pro


"dot" wrote:

Hi,
How could I check if the cell in a column starts with a certain alphabet, if
yes, then in a different columns cell add the word "DONE"
eg: validate column P, if a cell starts with XYZ, then in coulmn B, of the
same row, add the word "DONE"

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Create a conditional formula to replace

Enter this is B2:

=IF(LEFT(P2,3)="XYZ","DONE","")

This leaves B2 blank if P2 does not start with XYZ. Copy the formula
down as necessary.

Hope this helps.

Pete

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 do I create a formula by percentage within a formula? Miss Texas Excel Worksheet Functions 1 March 27th 06 04:51 AM
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
NEED TO CREATE A CONDITIONAL FORMULA SB Excel Worksheet Functions 1 February 15th 06 10:53 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
need to create a formula to create a timesheet but haven't a clue AHurd Excel Discussion (Misc queries) 7 August 22nd 05 12:04 PM


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