Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

IFS Formula Not Working

$
0
0

I can't seem to get the following formula to work in my google sheet.

=ARRAYFORMULA(IFS(Q2:Q=3,"1",Q2:Q=2,"0.8",Q2:Q=1,"0.6"))

It is looking at a score column which is shown in the screengrab below but no matter what way I try the formula it gives me an N/A error instead of the correct number output.

enter image description here

I have tried both IF and IFS (currently shown in formula) and none of them seem to work.

EDIT:

enter image description here

Formula used to extract the number is as below:

=ARRAYFORMULA((IF(K2:K="",,IFERROR(REGEXEXTRACT(K2:K, "^\d")))))


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>