#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Excell Formula

How doI formulate the following:
if A1 is thruth and if A2 is thruth then A3 equal 1
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,090
Default Excell Formula

What do you mean when you say "A1 is True"? What constitutes True? HTH
Otto
"Rolou" wrote in message
...
How doI formulate the following:
if A1 is thruth and if A2 is thruth then A3 equal 1



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 380
Default Excell Formula

=IF(AND(A1=TRUE,A2=TRUE),1,2)

is that what you mean?

--

HTH

Bob Phillips

(replace xxxx in the email address with gmail if mailing direct)

"Rolou" wrote in message
...
How doI formulate the following:
if A1 is thruth and if A2 is thruth then A3 equal 1



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 418
Default Excell Formula

Rolou wrote:
How doI formulate the following:
if A1 is thruth and if A2 is thruth then A3 equal 1


Depending on your definition of "true", put one of the following in A3:

=1*and(n(A1),n(A2))

=1*and(A1=true, A3=true)

The N() function ensures that AND() works even if A1 or A2 is blank.
The first formula treats any non-blank non-zero value in A1 or A2 as
true.

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
Find value in array Brook6 Excel Worksheet Functions 26 January 30th 07 09:40 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
formula - excell Corinna Excel Worksheet Functions 1 July 16th 06 12:03 PM
Why would a formula stop working in an Excell spreadsheet? Number one Giraffe Excel Worksheet Functions 4 January 4th 06 07:07 PM
Formula in Excell naflan Excel Worksheet Functions 2 December 27th 05 03:15 PM


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