My Assistant
![]() ![]() |
|
|
Sep 26 2005, 09:22 AM
Post
#1
|
|
|
UtterAccess Guru Posts: 686 From: Houston TX |
=IIf(Nz([amtBidbyCSM]/[TotalReq],0) Or [TotalReq]=0 Or [amtBidbyCSM]=0,"0%",[amtBidbyCSM]/[TotalValue])
146,223/87,341= 1.67... with round up 2% But currently the above coding gives it a 0% Most of the report % do fine. But if the Percentage is a low number it kicks out 0% when it should be a 1% or even a 2% with roundup. |
|
|
|
Sep 26 2005, 01:19 PM
Post
#2
|
|
|
UtterAccess VIP Posts: 20,187 From: Colorado |
try this:
=IIf( nz([TotalReq])<> 0, IIF( nz([TotalValue])<>0, nz([amtBidbyCSM]) / [TotalValue] ,0) ,0) |
|
|
|
Sep 26 2005, 02:42 PM
Post
#3
|
|
|
UtterAccess Guru Posts: 686 From: Houston TX |
got it (IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif) Thanks!
|
|
|
|
Sep 26 2005, 02:45 PM
Post
#4
|
|
|
UtterAccess VIP Posts: 20,187 From: Colorado |
you're welcome (IMG:http://www.utteraccess.com/forum/style_emoticons/default/wink.gif) happy to help
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 22nd May 2013 - 03:20 AM |