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

Hi

What I'm after
If cells E and G are 0 I want the cell to show Table and if cell f is 0 I
want the cell to show Chair otherwise i want the cell to show stool -

I have the following formula which is not working - what have I done wrong
please?

=IF(AND(E2=0,G2=0),"Table")*IF(F2=0,"Chair","Stool ")
--
Thanks

Lise
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,942
Default Formula Problem

hi
not sure about the Table, Chair and Stool part but there does seem to be a
syntax problem with the formula. try this...
=IF(AND(E3=0,G3=0),"Table",IF(F3=0,"chair","Stool" ))

does this do what you want?

regards
FSt1

"Lise" wrote:

Hi

What I'm after
If cells E and G are 0 I want the cell to show Table and if cell f is 0 I
want the cell to show Chair otherwise i want the cell to show stool -

I have the following formula which is not working - what have I done wrong
please?

=IF(AND(E2=0,G2=0),"Table")*IF(F2=0,"Chair","Stool ")
--
Thanks

Lise

  #3   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Formula Problem

Maybe you meant:
=IF(AND(E20,G20),"Table",IF(F2=0,"Chair","Stool" ))

Test it out, satisfy yourself that it returns the full range of expected
values dependent on the full range of values that may be input/arise in E2,
G2 and in F2. Note that since the IF evaluates from left to right, once the
1st IF test returns TRUE, you'd get: Table, irrespective of the result of the
2nd IF, which will never get evaluated.
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:27,000 Files:200 Subscribers:70
xdemechanik
---
"Lise" wrote:
What I'm after
If cells E and G are 0 I want the cell to show Table and if cell f is 0 I
want the cell to show Chair otherwise i want the cell to show stool -

I have the following formula which is not working - what have I done wrong
please?

=IF(AND(E2=0,G2=0),"Table")*IF(F2=0,"Chair","Stool ")
--
Thanks

Lise

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Formula Problem

In your explanation you mention greater than 0 as the condition but in your
formula you're testing for equal to 0.

Try one of these:

For greater than 0:

=IF(AND(E20,G20),"Table",IF(F20,"Chair","Stool" ))

For equals 0:

=IF(AND(E2=0,G2=0),"Table",IF(F2=0,"Chair","Stool" ))


--
Biff
Microsoft Excel MVP


"Lise" wrote in message
...
Hi

What I'm after
If cells E and G are 0 I want the cell to show Table and if cell f is 0
I
want the cell to show Chair otherwise i want the cell to show stool -

I have the following formula which is not working - what have I done wrong
please?

=IF(AND(E2=0,G2=0),"Table")*IF(F2=0,"Chair","Stool ")
--
Thanks

Lise



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
Formula Problem Jason[_12_] Excel Discussion (Misc queries) 6 March 21st 08 11:56 PM
Formula problem Jennnifer Excel Discussion (Misc queries) 5 July 10th 06 09:30 PM
formula problem Rao Ratan Singh New Users to Excel 1 April 18th 06 03:41 PM
formula problem Bob Excel Worksheet Functions 1 January 26th 06 02:51 AM
Formula Problem J.C.De New Users to Excel 1 January 21st 05 04:22 PM


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