Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default IFISTEXT() function problem

Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default IFISTEXT() function problem

IF() has three arguments:

=IF(<condition, <true branch, <false branch)

You don't say what you expect TRUE to do, but you may want:

=IF(ISTEXT(C3), FALSE, SUM(F1:F20))

Which if the condition is true (i.e, ISTEXT(C3) returns TRUE), the IF()
function returns FALSE.

If, OTOH, ISTEXT(C3) returns FALSE (e.g., C3 is numeric), then the value
of the false branch will be returned, or SUM(F1:F20))



In article ,
Finance Guru wrote:

Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 168
Default IFISTEXT() function problem

Same problem -- too many arguments for the IF() function.

Try this instead:

=IF(ISTEXT(C3),SUM(F1:F20),"")

or

=IF(ISTEXT(C3),"",SUM(F1:F20))

If you are trying to sum F1:F20 only if C3 is a text entry, go with
the first formula, otherwise use the second.

HTH,
JP


On Nov 20, 9:31 am, Finance Guru
wrote:
Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default IFISTEXT() function problem

@ JP
@ JE

Thank you both very much. I shall go through both responses so tthat I
understand them - then it will be so easssssssssssy next time round
FG

"JP" wrote:

Same problem -- too many arguments for the IF() function.

Try this instead:

=IF(ISTEXT(C3),SUM(F1:F20),"")

or

=IF(ISTEXT(C3),"",SUM(F1:F20))

If you are trying to sum F1:F20 only if C3 is a text entry, go with
the first formula, otherwise use the second.

HTH,
JP


On Nov 20, 9:31 am, Finance Guru
wrote:
Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default IFISTEXT() function problem

On Tue, 20 Nov 2007 06:31:07 -0800, Finance Guru
wrote:

Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents


Well, you didn't still didn't post what you are trying to do, so that makes
things difficult.

Perhaps it is this:

=IF(not(ISTEXT(c3)),sum(F1:f20),TRUE)


--ron


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default IFISTEXT() function problem

"Finance Guru" wrote in message
...
Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents


The IF function only takes 3 arguments and you have 4.
It should look like this:
=IF(condition, expression_if_true, expression_if_false)

If you want the sum of F1:F20 when C3 is text, it should start
=IF(ISTEXT(C3),SUM(F1:F20), ... )
where ... means "what do you want if C3 is not text?"

If you want the sum of F1:F20 when C3 is NOT text, it should start
=IF(NOT(ISTEXT(C3)),SUM(F1:F20), ... )

Hope this helps.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 83
Default IFISTEXT() function problem

@Ron
@ Stephen

Many thanks guys
FG

"Stephen" wrote:

"Finance Guru" wrote in message
...
Hi Everyone

Could some one enlighten as toi what is what is wrong with this function
Excel keeps telling me there is an error,and keeps putting an * before the
TRUE
=IF(ISTEXT(c3),FALSE,sum(F1:f20),TRUE)

C3 = 999
F1 : F20 contain various numerical amounts

so if C3 is False,which it is then ???? i stumped
As always
Many thanks to all respondents


The IF function only takes 3 arguments and you have 4.
It should look like this:
=IF(condition, expression_if_true, expression_if_false)

If you want the sum of F1:F20 when C3 is text, it should start
=IF(ISTEXT(C3),SUM(F1:F20), ... )
where ... means "what do you want if C3 is not text?"

If you want the sum of F1:F20 when C3 is NOT text, it should start
=IF(NOT(ISTEXT(C3)),SUM(F1:F20), ... )

Hope this helps.



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
Mid Function Problem DEI Excel Discussion (Misc queries) 3 August 9th 06 08:08 PM
Function problem Sweeny Excel Worksheet Functions 8 October 17th 05 12:13 AM
if Function problem jerry Excel Discussion (Misc queries) 8 October 3rd 05 06:18 PM
FV Function Problem TerryG Excel Worksheet Functions 3 June 13th 05 09:26 PM
IF function problem dvonj Excel Worksheet Functions 13 March 10th 05 01:13 PM


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