Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How to get a formula result in a "whatif" situation

I need to use a formula that will do the following:
Note: All entries are given numbers in compiling a survey. The following
cells can be any combination of "1".
A1=1 or A1=0
B1=1 or B1-0
I want C1 to return a 1 only if both A1 and B1 are 1. C1 should return a 0
in all other instances.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 301
Default How to get a formula result in a "whatif" situation

in cell C1:
=IF(AND(A1=1,B1=1),1,0)

"TG9522" wrote in message
...
I need to use a formula that will do the following:
Note: All entries are given numbers in compiling a survey. The following
cells can be any combination of "1".
A1=1 or A1=0
B1=1 or B1-0
I want C1 to return a 1 only if both A1 and B1 are 1. C1 should return a

0
in all other instances.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default How to get a formula result in a "whatif" situation

=a1*b1 if values are 1 or 0

OR

=If(and(a1=1,b1=1),1,0)

"TG9522" wrote:

I need to use a formula that will do the following:
Note: All entries are given numbers in compiling a survey. The following
cells can be any combination of "1".
A1=1 or A1=0
B1=1 or B1-0
I want C1 to return a 1 only if both A1 and B1 are 1. C1 should return a 0
in all other instances.

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
The Formula is displaying, not the result tcarp Excel Discussion (Misc queries) 6 January 30th 07 06:51 AM
Rs.10,250.00 formula Rupees ten thousand two hundred fifty only Abdul Hameed ([email protected] New Users to Excel 2 June 28th 06 10:33 AM
How do I make a formula read a result rather than a formula Chris Excel Discussion (Misc queries) 7 June 20th 06 10:56 PM
Median result used in formula gives incorrect result vlatham Excel Worksheet Functions 4 September 21st 05 04:26 PM
Is there a formula to spell out a number in excel? Sha-nay-nay Excel Worksheet Functions 2 December 18th 04 09:25 PM


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