#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 361
Default Modify Formula

I am trying to modify this formula

=IF(IF(J5883="Buy";L5883-O5883;N5883-L5883)=0;"Yes";"No")

to include this expression:

if m5883 contains "Market" return "Yes"

Thank you in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Modify Formula

Try this:

=IF(ISNUMBER(SEARCH("market";M5883));"Yes";IF(IF(J 5883="Buy";L5883-
O5883;N5883-L5883)=0;"Yes";"No"))

Hope this helps.

Pete

On Nov 26, 5:15*pm, carl wrote:
I am trying to modify this formula

=IF(IF(J5883="Buy";L5883-O5883;N5883-L5883)=0;"Yes";"No")

to include this expression:

if m5883 contains "Market" return "Yes"

Thank you in advance.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Modify Formula

Hi,

What exactly do you want your formula to calculate - is J5883= "Market"
going to be tested for the condition or is it a separate condition
altogether?

=IF(IF(OR(J1="Buy",J1="Market"),L1-O1,N1-L1)=0,"Yes","No")
or
=IF(OR(J1="Market",IF(J1="Buy",L1-O1,N1-L1)=0),"Yes","No")

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"carl" wrote:

I am trying to modify this formula

=IF(IF(J5883="Buy";L5883-O5883;N5883-L5883)=0;"Yes";"No")

to include this expression:

if m5883 contains "Market" return "Yes"

Thank you in advance.

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
Modify a formula? tgcali Excel Discussion (Misc queries) 3 September 9th 08 07:43 PM
Modify a Formula carl Excel Worksheet Functions 1 August 25th 08 08:32 PM
Modify A Formula carl Excel Worksheet Functions 5 March 23rd 08 09:48 PM
Modify A formula carl Excel Worksheet Functions 1 March 14th 06 05:46 PM
Modify a formula Eintsein_mc2 Excel Discussion (Misc queries) 3 September 18th 05 05:43 AM


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