Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default Cell result dependant on a word

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default Cell result dependant on a word

=if(F19="Bare Land",0,if(B7="","",B7*0.6))

"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default Cell result dependant on a word

Altough this completes the formula correctly it doesn't calculate a 0 when
Bare Land is written in f19?
--
Thanks in advance.

Scoober


"Sam Wilson" wrote:

=if(F19="Bare Land",0,if(B7="","",B7*0.6))

"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Cell result dependant on a word

Check out for any spaces...
OR try

=IF(TRIM(F19)="Bare Land",0,IF(B7="","",B7*0.6))

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


"Scoober" wrote:

Altough this completes the formula correctly it doesn't calculate a 0 when
Bare Land is written in f19?
--
Thanks in advance.

Scoober


"Sam Wilson" wrote:

=if(F19="Bare Land",0,if(B7="","",B7*0.6))

"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 523
Default Cell result dependant on a word

It should...

Are you putting the formula in cell C55?

"Scoober" wrote:

Altough this completes the formula correctly it doesn't calculate a 0 when
Bare Land is written in f19?
--
Thanks in advance.

Scoober


"Sam Wilson" wrote:

=if(F19="Bare Land",0,if(B7="","",B7*0.6))

"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default Cell result dependant on a word

On Tue, 4 Aug 2009 02:58:01 -0700, Scoober
wrote:

Altough this completes the formula correctly it doesn't calculate a 0 when
Bare Land is written in f19?


Most likely, F19 does not really contain "Bare Land". There may be extraneous
non-printing characters. Or the space between the two words may not be ASCII
code 32.

--ron
  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Cell result dependant on a word

=IF(F19="Bare Land",0,IF(B7="","",B7*0.6))

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


"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 82
Default Cell result dependant on a word

Does it matter that Bare Land is populated into F19 via a drop down list?
--
Thanks in advance.

Scoober


"Jacob Skaria" wrote:

=IF(F19="Bare Land",0,IF(B7="","",B7*0.6))

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


"Scoober" wrote:

I require help with a formula that does one thing unless another cell has a
particular word in it then it does something different.

e.g
C55 has the formula B7*.6

But if F19 say Bare Land I need the answer in C55 to be 0

so =if((b7="","",B7*0.6,if(f19="Bare Land",0))

Where am I going wrong?
--
Thanks in advance.

Scoober

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
change text format dependant on formula result Stu Wilkinson Excel Worksheet Functions 1 July 15th 09 03:34 PM
Cell text and background colour dependant on result Darren Excel Worksheet Functions 1 May 24th 09 04:48 PM
Show or blank out a cell dependant on an selection in another cell Larsb001 Excel Discussion (Misc queries) 0 July 10th 08 02:55 PM
Returning a Value from a Table, dependant on the word Typed Robert Excel Worksheet Functions 12 November 1st 07 08:20 PM
can i delete cells dependant on the result from a formula paulgrif Excel Discussion (Misc queries) 1 March 28th 07 04:24 PM


All times are GMT +1. The time now is 05:19 PM.

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"