Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to give true and false condition if my column have text and number

enter image description hereMy A column contains texts and numbers

'DP','SP','KP','4','10'

I want to get data like if my A column contains text then '0', if it is numeric then '8' in the column B. How do I do that?

question2: In the other picture in Column C I am trying to divide A1/B1 but when there is text/numeric - it is giving an error. I want to show that error as 0 and the numeric/numeric(4/8 =0.5) values should be correct.

like image 706
beenuntz Avatar asked Jan 20 '26 02:01

beenuntz


1 Answers

try like this:

=ARRAYFORMULA(IF(ISNUMBER(A1:A5), 8, 0))

0

like image 136
player0 Avatar answered Jan 23 '26 20:01

player0



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!