Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default if function, how?

Hi,

Is there any possibility that Excel can recognize text and if it true,
than calculate?
For example:
Let's say in cell A1 is written ABC-CBA,
in cell B1 is written 100
in cell C1 is written 40
So I need that it from B1 minus C1 and if A1 is = ABC-CBA that the result
from B1-C1 what is 60 in this example multiply by let's say 2, if A1 not
equal to ABC-CBA that only from B1 minus C1

More details:
B1-C1=60 and if A1=ABC-CBA than = 120 if A1 not equal to ABC-CBA only result
from B1-C1 what is 60

Thank you for any ideas.



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default if function, how?

=IF(A1="ABC-CBA",(B1-C1)*2,B1-C1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Covington" wrote in message
...
Hi,

Is there any possibility that Excel can recognize text and if it true,
than calculate?
For example:
Let's say in cell A1 is written ABC-CBA,
in cell B1 is written 100
in cell C1 is written 40
So I need that it from B1 minus C1 and if A1 is = ABC-CBA that the result
from B1-C1 what is 60 in this example multiply by let's say 2, if A1 not
equal to ABC-CBA that only from B1 minus C1

More details:
B1-C1=60 and if A1=ABC-CBA than = 120 if A1 not equal to ABC-CBA only
result
from B1-C1 what is 60

Thank you for any ideas.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default if function, how?

I get an error message that formula contains an error and CBA", with comma
is in black, how to fix?

"Niek Otten" wrote:

=IF(A1="ABC-CBA",(B1-C1)*2,B1-C1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Covington" wrote in message
...
Hi,

Is there any possibility that Excel can recognize text and if it true,
than calculate?
For example:
Let's say in cell A1 is written ABC-CBA,
in cell B1 is written 100
in cell C1 is written 40
So I need that it from B1 minus C1 and if A1 is = ABC-CBA that the result
from B1-C1 what is 60 in this example multiply by let's say 2, if A1 not
equal to ABC-CBA that only from B1 minus C1

More details:
B1-C1=60 and if A1=ABC-CBA than = 120 if A1 not equal to ABC-CBA only
result
from B1-C1 what is 60

Thank you for any ideas.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default if function, how?

Using a Mac? Check your system preferences . Try replacing commas with
semicolons

If this post helps click Yes
---------------
Jacob Skaria


"Covington" wrote:

I get an error message that formula contains an error and CBA", with comma
is in black, how to fix?

"Niek Otten" wrote:

=IF(A1="ABC-CBA",(B1-C1)*2,B1-C1)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Covington" wrote in message
...
Hi,

Is there any possibility that Excel can recognize text and if it true,
than calculate?
For example:
Let's say in cell A1 is written ABC-CBA,
in cell B1 is written 100
in cell C1 is written 40
So I need that it from B1 minus C1 and if A1 is = ABC-CBA that the result
from B1-C1 what is 60 in this example multiply by let's say 2, if A1 not
equal to ABC-CBA that only from B1 minus C1

More details:
B1-C1=60 and if A1=ABC-CBA than = 120 if A1 not equal to ABC-CBA only
result
from B1-C1 what is 60

Thank you for any ideas.





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,104
Default if function, how?

=(B1-C1)*(1+(A1="ABC-CBA"))

--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Covington" wrote in message
...
Hi,

Is there any possibility that Excel can recognize text and if it true,
than calculate?
For example:
Let's say in cell A1 is written ABC-CBA,
in cell B1 is written 100
in cell C1 is written 40
So I need that it from B1 minus C1 and if A1 is = ABC-CBA that the result
from B1-C1 what is 60 in this example multiply by let's say 2, if A1 not
equal to ABC-CBA that only from B1 minus C1

More details:
B1-C1=60 and if A1=ABC-CBA than = 120 if A1 not equal to ABC-CBA only
result
from B1-C1 what is 60

Thank you for any ideas.




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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 08:39 PM.

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"