#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 0 instead of false

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))*1
--
Gary's Student


"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Thank you very much. It worked fine. Can you explain what is the *1 function?

Regards,

Jaleel

"Gary''s Student" wrote:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))*1
--
Gary's Student


"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 0 instead of false

It is just a way to convert TRUE/FALSE to 1/0
--
Gary''s Student


"Jaleel" wrote:

Thank you very much. It worked fine. Can you explain what is the *1 function?

Regards,

Jaleel

"Gary''s Student" wrote:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))*1
--
Gary's Student


"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,290
Default 0 instead of false


=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Thanks Jim. It also worked. What was the shortcoming of my formula?

Regards,

Jaleel

"Jim Cone" wrote:


=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default 0 instead of false

You'd given the outcome for AO7=TRUE, but not for the alternative condition.
Another way would be =IF(AND(AO7=TRUE,AP7=TRUE),Z7,0)
--
David Biddulph

"Jaleel" wrote in message
...
Thanks Jim. It also worked. What was the shortcoming of my formula?

Regards,

Jaleel

"Jim Cone" wrote:


=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are
some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel






  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Thanks David for your explanation.

Regards,

Jaleel

"David Biddulph" wrote:

You'd given the outcome for AO7=TRUE, but not for the alternative condition.
Another way would be =IF(AND(AO7=TRUE,AP7=TRUE),Z7,0)
--
David Biddulph

"Jaleel" wrote in message
...
Thanks Jim. It also worked. What was the shortcoming of my formula?

Regards,

Jaleel

"Jim Cone" wrote:


=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are
some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel







  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 422
Default 0 instead of false

What about using the "--" (I forget the $0.50 word/phrase for it) which
Converts TRUE/FALSE to 1/0,,??



=--IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))


"Jim Cone" wrote in message
:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel


  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default 0 instead of false

Surely it was the missing else condition that caused Flase in the first
place

Steve

On Sun, 10 Dec 2006 18:27:00 -0000, JMay wrote:

What about using the "--" (I forget the $0.50 word/phrase for it) which
Converts TRUE/FALSE to 1/0,,??



=--IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))


"Jim Cone" wrote in message
:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)
--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware


"Jaleel"
wrote in message
...
Hi all,
I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are
some
arguments. How can I get "0" instead of 'FALSE"?
Thanks & Regards,
Jaleel





--
Steve (3)


  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default 0 instead of false

On Sun, 10 Dec 2006 04:55:01 -0800, Jaleel
wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



Try:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)

--ron
  #12   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Thanks Ron. What was the shortcoming of my formula?

Regards,

Jaleel

"Ron Rosenfeld" wrote:

On Sun, 10 Dec 2006 04:55:01 -0800, Jaleel
wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



Try:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)

--ron

  #13   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default 0 instead of false

On Sun, 10 Dec 2006 05:25:01 -0800, Jaleel
wrote:

Thanks Ron. What was the shortcoming of my formula?

Regards,

Jaleel


=IF(AO7=TRUE,
IF(AP7=TRUE,Z7,0),???????)

Note that if your first condition is FALSE, you have not defined what to do
(that's where I have the ?'s). In that circumstance, the function will return
a FALSE.


--ron
  #14   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default 0 instead of false

Try this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0),0)

Or this:

=IF(AO7,IF(AP7,Z7,0),0)
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------


"Jaleel" wrote in message
...
Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are

some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel




  #15   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default 0 instead of false

Enclose everything in the N worksheet function:
=N(IF(AO7=TRUE,IF(AP7=TRUE,Z7,0)))

"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel





  #16   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 208
Default 0 instead of false

=IF( AND( AO7, AP7 ), Z7, 0 )

or if Z7 is always a number

=AO7 * AP7 * Z7


--
Regards,
Luc.

"Festina Lente"


"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #17   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 187
Default 0 instead of false

Thanks a lot for all of you who replied with their wonderful formulas. I was
wondered at the shortest formulas of Papa and Rag.

Cheers!

Jaleel

"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



  #18   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22
Default 0 instead of false

your formula can be written as
N(AO7*AP7*Z7)

"Jaleel" wrote:

Hi all,

I put a formula in AR7 like this:

=IF(AO7=TRUE,IF(AP7=TRUE,Z7,0))

It is showing FALSE. Both the cells AO7 AND AP7 are false as they are some
arguments. How can I get "0" instead of 'FALSE"?

Thanks & Regards,

Jaleel



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
Need some comments on my Utility_Move class module. jchen Excel Worksheet Functions 0 August 21st 06 07:05 PM
Stop renaming or moving sheet tabs sparx Excel Discussion (Misc queries) 9 May 16th 06 08:44 PM
Inconsistent Macro Behavior Sarah K Excel Discussion (Misc queries) 4 November 1st 05 10:36 PM
Grouped Sheets and Formating Pank Mehta Excel Discussion (Misc queries) 3 March 24th 05 01:42 AM
Grand Totals @ Same Place Amber M Excel Worksheet Functions 2 December 30th 04 07:13 PM


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