Specific Excel function -
i need format data in excel , don't know how write specific function , worse, don't know how google it. code in c-like programming language following:
if(x>1000) x = x/100+x%100; else x = x;
i know format of excel formula, this, doesn't work:
=if(a2>1000,a2/100+a2%100,a2)
any regarding problem highly appreciated!
do not use %.
use mod function instead.
how to: https://exceljet.net/excel-functions/excel-mod-function
Comments
Post a Comment