PC Review


Reply
Thread Tools Rate Thread

3 cell problem

 
 
Diane
Guest
Posts: n/a
 
      5th Sep 2007
Hi need help with this simple task.
3 cells A1 A2 & A3,
if cell a2 has the number 1 in it I need cell A1 to display yes,
if cell a3 has the number 1 in it I need cell A1 to display no,
If both cells are blank I need A1 to be blank.

Thanks Much...
Diane

 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      5th Sep 2007
maybe...

=if(a2=1,"yes",if(a3=1,"no",if(and(a2="",a3=""),"","what goes here")))

What happens if both a2 and a3 contain 1?

What happens if A2 or A3 are not blank, but don't contain 1?

Diane wrote:
>
> Hi need help with this simple task.
> 3 cells A1 A2 & A3,
> if cell a2 has the number 1 in it I need cell A1 to display yes,
> if cell a3 has the number 1 in it I need cell A1 to display no,
> If both cells are blank I need A1 to be blank.
>
> Thanks Much...
> Diane


--

Dave Peterson
 
Reply With Quote
 
Diane
Guest
Posts: n/a
 
      5th Sep 2007
Hi & Thanks
When both cells A2 & A3 are blank A1 stays blank.
Only 1 cell A2 or A3 will have the number 1 in it.
Thanks dave


On Wed, 05 Sep 2007 06:20:05 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>maybe...
>
>=if(a2=1,"yes",if(a3=1,"no",if(and(a2="",a3=""),"","what goes here")))
>
>What happens if both a2 and a3 contain 1?
>
>What happens if A2 or A3 are not blank, but don't contain 1?
>
>Diane wrote:
>>
>> Hi need help with this simple task.
>> 3 cells A1 A2 & A3,
>> if cell a2 has the number 1 in it I need cell A1 to display yes,
>> if cell a3 has the number 1 in it I need cell A1 to display no,
>> If both cells are blank I need A1 to be blank.
>>
>> Thanks Much...
>> Diane


 
Reply With Quote
 
Diane
Guest
Posts: n/a
 
      6th Sep 2007
Thanks Dave, worked great...
Diane "Di"

On Wed, 05 Sep 2007 06:20:05 -0500, Dave Peterson
<(E-Mail Removed)> wrote:

>maybe...
>
>=if(a2=1,"yes",if(a3=1,"no",if(and(a2="",a3=""),"","what goes here")))
>
>What happens if both a2 and a3 contain 1?
>
>What happens if A2 or A3 are not blank, but don't contain 1?
>
>Diane wrote:
>>
>> Hi need help with this simple task.
>> 3 cells A1 A2 & A3,
>> if cell a2 has the number 1 in it I need cell A1 to display yes,
>> if cell a3 has the number 1 in it I need cell A1 to display no,
>> If both cells are blank I need A1 to be blank.
>>
>> Thanks Much...
>> Diane


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell Underline problem underlines across width of cell tshoop7 Microsoft Excel Worksheet Functions 1 24th Jul 2008 12:18 AM
Re: Very Basic Problem - Merged Cell Equals Contents of a Single Cell Dave Peterson Microsoft Excel Worksheet Functions 0 29th Dec 2006 07:37 PM
Re: Very Basic Problem - Merged Cell Equals Contents of a Single Cell T. Valko Microsoft Excel Worksheet Functions 0 29th Dec 2006 07:35 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. twister212atop@yahoo.com Microsoft Excel Worksheet Functions 2 11th Dec 2004 12:05 AM
Cell problem - cell displays formula instead of value fonzerelli_79 Microsoft Excel Misc 5 26th May 2004 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:15 PM.