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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
#Num! Get Rid of This???
How can I make the formulas below show a zero if the value is null? i.e.
Text600; Get Rid of the #Num! =nz([Labor]/[Text600],0) =nz([NetAfterCom]/[Text600],0) |
#2
|
|||
|
|||
=IIf(Nz([Text600],0) = 0, 0, [Labor]/[Text600])
This will also prevent "divide by zero" if Text600 is zero instead of Null. -- Wayne Morgan MS Access MVP "Dave Elliott" wrote in message m... How can I make the formulas below show a zero if the value is null? i.e. Text600; Get Rid of the #Num! =nz([Labor]/[Text600],0) =nz([NetAfterCom]/[Text600],0) |
#3
|
|||
|
|||
=IIf(Nz([Text600],0) = 0, 0, [Labor]/[Text600])
This will also prevent "divide by zero" if Text600 is zero instead of Null. -- Wayne Morgan MS Access MVP "Dave Elliott" wrote in message m... How can I make the formulas below show a zero if the value is null? i.e. Text600; Get Rid of the #Num! =nz([Labor]/[Text600],0) =nz([NetAfterCom]/[Text600],0) |
Thread Tools | |
Display Modes | |
|
|