A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF formula to flag 'record types'



 
 
Thread Tools Display Modes
  #1  
Old June 18th, 2004, 04:39 PM
loscherland
external usenet poster
 
Posts: n/a
Default IF formula to flag 'record types'

I need an IF formula to display TRUE or FALSE depending on what text is
contained in a cell.

Eg. Column J Contains differnt record types:

'New Agreement'
'Expiring (URGENT)'
'Completed'
'Pending'
'Cancelled'

I need a formula to look up this row & display True IF it contains
either of these 3 record types: New Agreement, Expiring (URGENT) &
'Pending'

I tried this, it's completely wrong I know, but it might give u a
better idea of what im looking for:

=IF(J2='Agreement',OR,'Expiring (URGENT)',OR,'New
Agreement',TRUE,FALSE)

*** Can you include brackets as text in a formula?


---
Message posted from http://www.ExcelForum.com/

  #2  
Old June 18th, 2004, 04:47 PM
Freemini
external usenet poster
 
Posts: n/a
Default IF formula to flag 'record types'

Try changing your formula to :
=IF(OR(J2="New Agreement",OR(J2="Expiring
(URGENT)",J2="Completed")),TRUE,FALSE)

hth

Mike


---
Message posted from http://www.ExcelForum.com/

  #3  
Old June 19th, 2004, 03:09 AM
RagDyer
external usenet poster
 
Posts: n/a
Default IF formula to flag 'record types'

A little more concise, plus a typo in the last argument:

=OR(J2="New Agreement",J2="Expiring(URGENT)",J2="Pending")
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Freemini " wrote in message
...
Try changing your formula to :
=IF(OR(J2="New Agreement",OR(J2="Expiring
(URGENT)",J2="Completed")),TRUE,FALSE)

hth

Mike


---
Message posted from http://www.ExcelForum.com/

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:42 PM.


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