A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Nested formular to give a word answer based on 2 cells



 
 
Thread Tools Display Modes
  #1  
Old April 30th, 2010, 04:46 PM posted to microsoft.public.excel.worksheet.functions
Sean
external usenet poster
 
Posts: 491
Default Nested formular to give a word answer based on 2 cells

I have a s/s which I want to produce a statement based on 2 cells

G170 is a cell that contails a sum (if cells above are filled it it will add
them up)

I170 contains a cost

if G170 & i170 are blank then do nothing
If G170 is greater than 0 and I170 is greater than 0 then again do nothing
but if G170 is greater than 0 and I170 is = 0 then "No Charge Made"

Can anyone help all I get is FALSE

I have tried =if(g170=0, and (i170=0,No Charge made",""))
  #2  
Old April 30th, 2010, 05:00 PM posted to microsoft.public.excel.worksheet.functions
eduardo
external usenet poster
 
Posts: 2,131
Default Nested formular to give a word answer based on 2 cells

Hi,

=IF(AND(G170="",I170=""),"",IF(AND(G1700,I1700), "",IF(AND(G1700,I170=0),"No Charge Made")))

"Sean" wrote:

I have a s/s which I want to produce a statement based on 2 cells

G170 is a cell that contails a sum (if cells above are filled it it will add
them up)

I170 contains a cost

if G170 & i170 are blank then do nothing
If G170 is greater than 0 and I170 is greater than 0 then again do nothing
but if G170 is greater than 0 and I170 is = 0 then "No Charge Made"

Can anyone help all I get is FALSE

I have tried =if(g170=0, and (i170=0,No Charge made",""))

  #3  
Old April 30th, 2010, 05:04 PM posted to microsoft.public.excel.worksheet.functions
Tom Hutchins
external usenet poster
 
Posts: 722
Default Nested formular to give a word answer based on 2 cells

Try
=IF(AND(G1700,I170=0,LEN(I170)0),"No Charge Made","")

Hope this helps,

Hutch

"Sean" wrote:

I have a s/s which I want to produce a statement based on 2 cells

G170 is a cell that contails a sum (if cells above are filled it it will add
them up)

I170 contains a cost

if G170 & i170 are blank then do nothing
If G170 is greater than 0 and I170 is greater than 0 then again do nothing
but if G170 is greater than 0 and I170 is = 0 then "No Charge Made"

Can anyone help all I get is FALSE

I have tried =if(g170=0, and (i170=0,No Charge made",""))

  #4  
Old May 1st, 2010, 08:46 AM posted to microsoft.public.excel.worksheet.functions
Sean
external usenet poster
 
Posts: 491
Default Nested formular to give a word answer based on 2 cells


Great - thanks
"Sean" wrote:

I have a s/s which I want to produce a statement based on 2 cells

G170 is a cell that contails a sum (if cells above are filled it it will add
them up)

I170 contains a cost

if G170 & i170 are blank then do nothing
If G170 is greater than 0 and I170 is greater than 0 then again do nothing
but if G170 is greater than 0 and I170 is = 0 then "No Charge Made"

Can anyone help all I get is FALSE

I have tried =if(g170=0, and (i170=0,No Charge made",""))

  #5  
Old May 1st, 2010, 08:46 AM posted to microsoft.public.excel.worksheet.functions
Sean
external usenet poster
 
Posts: 491
Default Nested formular to give a word answer based on 2 cells

Many thanks

"Tom Hutchins" wrote:

Try
=IF(AND(G1700,I170=0,LEN(I170)0),"No Charge Made","")

Hope this helps,

Hutch

"Sean" wrote:

I have a s/s which I want to produce a statement based on 2 cells

G170 is a cell that contails a sum (if cells above are filled it it will add
them up)

I170 contains a cost

if G170 & i170 are blank then do nothing
If G170 is greater than 0 and I170 is greater than 0 then again do nothing
but if G170 is greater than 0 and I170 is = 0 then "No Charge Made"

Can anyone help all I get is FALSE

I have tried =if(g170=0, and (i170=0,No Charge made",""))

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.