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 Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IF Function returns FALSE



 
 
Thread Tools Display Modes
  #1  
Old February 8th, 2009, 10:50 PM posted to microsoft.public.access.gettingstarted
Gulfman100
external usenet poster
 
Posts: 21
Default IF Function returns FALSE

The following formula returns FALSE when the first IF condition is not met. I
want to return a blank cell or a 0. The other 2 IF formulas are working
correctly. I have tried everything I can think of. Please help.

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)))
  #2  
Old February 8th, 2009, 11:27 PM posted to microsoft.public.access.gettingstarted
fredg
external usenet poster
 
Posts: 4,386
Default IF Function returns FALSE

On Sun, 8 Feb 2009 14:50:02 -0800, Gulfman100 wrote:

The following formula returns FALSE when the first IF condition is not met. I
want to return a blank cell or a 0. The other 2 IF formulas are working
correctly. I have tried everything I can think of. Please help.

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)))


You have posted this question to the wrong newsgroup.
The access in this groups title refers to Microsoft Access, a database
program.
Please repost to the correct newsgroup for the Excel program you are
using.
I would suggest you include your Windows and Office version number in
your message. It might make a difference.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
  #3  
Old February 9th, 2009, 01:24 PM posted to microsoft.public.access.gettingstarted
stumac
external usenet poster
 
Posts: 165
Default IF Function returns FALSE

As Fred says, you would probably get a better response for this if you posted
this in an Excel forum. however that said - you have not put a value to be
retuenred if the IF statement is false. therefor it will return false. Try:

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)),0)

(note the ",0" before the closing bracket).

hth

Stu

"Gulfman100" wrote:

The following formula returns FALSE when the first IF condition is not met. I
want to return a blank cell or a 0. The other 2 IF formulas are working
correctly. I have tried everything I can think of. Please help.

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)))

  #4  
Old February 9th, 2009, 01:25 PM posted to microsoft.public.access.gettingstarted
stumac
external usenet poster
 
Posts: 165
Default IF Function returns FALSE

As Fred says, you would probably get a better response for this if you posted
this in an Excel forum. however that said - you have not put a value to be
retuenred if the IF statement is false. therefor it will return false. Try:

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)),0)

(note the ",0" before the closing bracket).

hth

Stu

"Gulfman100" wrote:

The following formula returns FALSE when the first IF condition is not met. I
want to return a blank cell or a 0. The other 2 IF formulas are working
correctly. I have tried everything I can think of. Please help.

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)))

  #5  
Old February 9th, 2009, 01:30 PM posted to microsoft.public.access.gettingstarted
stumac
external usenet poster
 
Posts: 165
Default IF Function returns FALSE

As Fred says, you would probably get a better response for this if you posted
this in an Excel forum. however that said - you have not put a value to be
retuenred if the IF statement is false. therefor it will return false. Try:

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)),0)

(note the ",0" before the closing bracket).

hth

Stu

"Gulfman100" wrote:

The following formula returns FALSE when the first IF condition is not met. I
want to return a blank cell or a 0. The other 2 IF formulas are working
correctly. I have tried everything I can think of. Please help.

=IF(B3=9,IF(B7=16,(B6*12/16)+(3*B8)+(4*B9)+(B10*8),IF(B7=24,(B6*12/24)+(3*B8)+(4*B9)+(B10*8),0)))

 




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 07:34 AM.


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