Combing Functions

Purdue15

Registered User.
Local time
Yesterday, 16:30
Joined
Jun 12, 2013
Messages
29
I have two functions IIf([NWeight]=" ",[CWeight],[NWeight]) And
Round(([CWeight]-[NWeight])/[CWeight]*100,2)

How do I combine these two together so that they can both run?

The IIf statement needs to be completed before the Round statement in the function
 
you'll need to show the context and is this being done in SQL or VBA

does the iif result substitute a value in the round function? Perhaps you are trying to get?
Round(([CWeight]-IIf([NWeight]=" ",[CWeight],[NWeight]))/[CWeight]*100,2)
 
This worked thanks!
 

Users who are viewing this thread

Back
Top Bottom