excel - Custom number formatting at Google Spreadsheet -


i use google spreadsheet, function can set different custom formatting of cell? need it, because formatting varies depending on data, need set formatting 1 condition , other formatting different condition. how ? found similar function text, doesn't quite fit me, because need operate numbers, , in can't use asterisks in formatting. how can done in other ways? here example.

=if($g$1="usd",text(value(importjson("https://min-api.cryptocompare.com/data/price?fsym="&h1&"&tsyms="&g1&"&e="&f11&"","/"&g1&"","noheaders",$n$32)), "_ $ _____________________ #,##0.0000##"),if($g$1="rub",text(value(importjson("https://min-api.cryptocompare.com/data/price?fsym="&h1&"&tsyms="&g1&"&e="&f11&"","/"&g1&"","noheaders",$n$32)), "_ rub ___ #,##0.0000##"))) 

this use, , need change formatting of numbers along currency symbol. there similar, numbers, normal formatting? need use formatting this:

_($* #,##0.000000_);_($* (#,##0);_($* "-"??_);_(@_) 


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -