Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
simon
 
Posts: n/a
Default can someone help me with a formula....

What I want to achieve is:

IF text in cell D says either '2 yearly' or '5 yearly'
AND
Cell A contains any number other than 0
then
insert Text: 'IN' into cell E.
otherwise
insert Text 'OUT' into Cell E.


thanks in anticipation...
SS


  #3   Report Post  
JE McGimpsey
 
Posts: n/a
Default

One way:

E1: =IF(AND(OR(D1="2 yearly",D1="5 yearly"),A1<0),"IN","OUT")



In article ,
"simon" wrote:

What I want to achieve is:

IF text in cell D says either '2 yearly' or '5 yearly'
AND
Cell A contains any number other than 0
then
insert Text: 'IN' into cell E.
otherwise
insert Text 'OUT' into Cell E.


thanks in anticipation...
SS

  #4   Report Post  
JEV
 
Posts: n/a
Default

I think this will work..
=IF(AND(OR(D1="2 YEARLY",D1="5 YEARLY"),A10),"IN","OUT")

"simon" wrote:

What I want to achieve is:

IF text in cell D says either '2 yearly' or '5 yearly'
AND
Cell A contains any number other than 0
then
insert Text: 'IN' into cell E.
otherwise
insert Text 'OUT' into Cell E.


thanks in anticipation...
SS



  #5   Report Post  
tjtjjtjt
 
Posts: n/a
Default

How about:
=IF(AND(A1<0,OR(D1="2 yearly",D1="5 yearly")),"IN","OUT")
Copy down as needed.

If your cells in D actually contain '2 yearly' instead of 2 yearly, you will
need to add the single quotes to this formula.

tj

"simon" wrote:

What I want to achieve is:

IF text in cell D says either '2 yearly' or '5 yearly'
AND
Cell A contains any number other than 0
then
insert Text: 'IN' into cell E.
otherwise
insert Text 'OUT' into Cell E.


thanks in anticipation...
SS





  #6   Report Post  
simon
 
Posts: n/a
Default

Cheers...
plenty for me to go at there....


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
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Formula Result Correct but value in the cell is wrong jac Excel Worksheet Functions 2 December 17th 04 08:05 PM
How do I use Range Names listed in a VLookup table in a formula? Essbasedvlpr32 Excel Worksheet Functions 3 December 15th 04 10:11 PM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM
Excel 2003 - Formula result shows as 0:00 Serena Excel Worksheet Functions 4 November 11th 04 10:18 PM


All times are GMT +1. The time now is 08:34 AM.

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"