Hello, I am currently working on a form. I used textbox to set the value of currency and sumif to total nett price for all of data with that specified currency.
How can I get the value of the textbox?
I use formula :
=Sum(IIf([Currency]="USD",[NettPrice],0))
and it's worked. It sums up all net price with USD currency
However, the currency types are so many and it's impossible for me to list them down one by one, so I use this formula :
=Sum(IIf([Currency]=[txtCurrenct],[NetPrice],0))
But it keep showing 0 result.
Can anybody help me? I would highly appreciate if you can give solutions for my problem.
Thank you very much.
How can I get the value of the textbox?
I use formula :
=Sum(IIf([Currency]="USD",[NettPrice],0))
and it's worked. It sums up all net price with USD currency
However, the currency types are so many and it's impossible for me to list them down one by one, so I use this formula :
=Sum(IIf([Currency]=[txtCurrenct],[NetPrice],0))
But it keep showing 0 result.
Can anybody help me? I would highly appreciate if you can give solutions for my problem.
Thank you very much.