Dear All,
I am trying to make following expression in access i succeeded in excel but unable to get correct result in Access 2010 query.
Can anyone help me please?
My excel formulas was
=IF(ISNUMBER(AB13),IF(G13="Egyptian",AB13*1800)+IF(G13="Philippines",AB13*3500)+IF(G13="Sudan",AB13*2000)+IF(G13="Nepal",AB13*2500)+IF(G13="Indonesia",AB13*2500)+IF(G13="Bangladesh",AB13*2500)+IF(G13="Indian",AB13*2500)+IF(G13="Pakistan",AB13*2500),ROUND(,0))
My access attempt is
Approx_Amt: IIf(IsNumeric([Accrued_Tkt]),IIf([Employees]![Nationality]="Egypt",[Accrued_Tkt]*1800)+IIf([Employees]![Nationality]="India",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Sudan",[Accrued_Tkt]*2000)+IIf([Employees]![Nationality]="Nepal",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Indonesia",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Bangladesh",[Accrued_Tkt]*2000)+IIf([Employees]![Nationality]="Morocco",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Pakistan",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Philippines",[Accrued_Tkt]*3500),Round(,0))
thanks & regards,
MBA
I am trying to make following expression in access i succeeded in excel but unable to get correct result in Access 2010 query.
Can anyone help me please?
My excel formulas was
=IF(ISNUMBER(AB13),IF(G13="Egyptian",AB13*1800)+IF(G13="Philippines",AB13*3500)+IF(G13="Sudan",AB13*2000)+IF(G13="Nepal",AB13*2500)+IF(G13="Indonesia",AB13*2500)+IF(G13="Bangladesh",AB13*2500)+IF(G13="Indian",AB13*2500)+IF(G13="Pakistan",AB13*2500),ROUND(,0))
My access attempt is
Approx_Amt: IIf(IsNumeric([Accrued_Tkt]),IIf([Employees]![Nationality]="Egypt",[Accrued_Tkt]*1800)+IIf([Employees]![Nationality]="India",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Sudan",[Accrued_Tkt]*2000)+IIf([Employees]![Nationality]="Nepal",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Indonesia",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Bangladesh",[Accrued_Tkt]*2000)+IIf([Employees]![Nationality]="Morocco",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Pakistan",[Accrued_Tkt]*2500)+IIf([Employees]![Nationality]="Philippines",[Accrued_Tkt]*3500),Round(,0))
thanks & regards,
MBA