If Or formula

  • Thread starter Thread starter Karen
  • Start date Start date
K

Karen

I want to write a formula so that if a number entered is negative it goes in 1 column and if it is positive it goes in a different column. Is there any way of doing this?
I appreciate any help.

Thank you in advance.

Karen
 
Hi Karen

when using a formula it must go in the destination cells, i.e. if the value in A1 is positive you want to see the value in B1, otherwise you want to see the value in C1 then
in B1
type
=IF(A1>0,A1,"")
and in C1
type
=IF(A1<0,A1,"")

(BTW neither of these cater for A1 =0)

Hope this helps
Cheers
JulieD

I want to write a formula so that if a number entered is negative it goes in 1 column and if it is positive it goes in a different column. Is there any way of doing this?
I appreciate any help.

Thank you in advance.

Karen
 
Hi

If the number is entered in A2, put this in B2
=IF(A2<0,A2,0)
to catch the negatives and put this in C2
=IF(A2>0,A2,0)
to catch the positives.

--
Andy.


I want to write a formula so that if a number entered is negative it goes in 1 column and if it is positive it goes in a different column. Is there any way of doing this?
I appreciate any help.

Thank you in advance.

Karen
 
Thank you so much!
Karen
Hi Karen

when using a formula it must go in the destination cells, i.e. if the value in A1 is positive you want to see the value in B1, otherwise you want to see the value in C1 then
in B1
type
=IF(A1>0,A1,"")
and in C1
type
=IF(A1<0,A1,"")

(BTW neither of these cater for A1 =0)

Hope this helps
Cheers
JulieD

I want to write a formula so that if a number entered is negative it goes in 1 column and if it is positive it goes in a different column. Is there any way of doing this?
I appreciate any help.

Thank you in advance.

Karen
 
you're welcome
Thank you so much!
Karen
Hi Karen

when using a formula it must go in the destination cells, i.e. if the value in A1 is positive you want to see the value in B1, otherwise you want to see the value in C1 then
in B1
type
=IF(A1>0,A1,"")
and in C1
type
=IF(A1<0,A1,"")

(BTW neither of these cater for A1 =0)

Hope this helps
Cheers
JulieD

I want to write a formula so that if a number entered is negative it goes in 1 column and if it is positive it goes in a different column. Is there any way of doing this?
I appreciate any help.

Thank you in advance.

Karen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top