#1   Report Post  
Posted to microsoft.public.excel.misc
hjm hjm is offline
external usenet poster
 
Posts: 12
Default IF Formula

Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default IF Formula

Hi

=IF(AND(P2=0,T2=0),"yes","no")

--
Regards

Roger Govier


"hjm" wrote in message
...
Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default IF Formula

Try this:

=IF(AND(P2=0,T2=0),"Yes","No")

Hope this helps.

Pete


On Jul 2, 12:52 pm, hjm wrote:
Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM



  #4   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default IF Formula

if(and(P2=0,T2=0),"Yes","No")

"hjm" wrote:

Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM

  #5   Report Post  
Posted to microsoft.public.excel.misc
hjm hjm is offline
external usenet poster
 
Posts: 12
Default IF Formula

Thanks everyone, that worked a treat :-)

"bj" wrote:

if(and(P2=0,T2=0),"Yes","No")

"hjm" wrote:

Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM



  #6   Report Post  
Posted to microsoft.public.excel.misc
CmK CmK is offline
external usenet poster
 
Posts: 69
Default IF Formula

Hi
try this
=IF(AND(P2=0,T2=0),"yes","no")

thanks

"hjm" wrote:

Hiya,

I need a formula for the following:

If P2 & T2 both = 0 then Yes otherwise No

Thanks

HJM

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



All times are GMT +1. The time now is 04:30 AM.

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"