# HELP!!!

#### TNTitans1974

##### New Member
I am trying to get a sum to copy from another page, which I was able to do. Now I am trying to get it to move to another cell if its negitive or stay in the same cell if it is positive. Could someone help how to do this. I can't figure out the language to do an IFTHEN statement, and I don't even know if this is what I would use.

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
For the positive cell...

=If(SUM(sheet2!A1:A0)>0,SUM(sheet2!A1:A10),"")

and the negative.....

=If(SUM(sheet2!A1:A0)<0,SUM(sheet2!A1:A10),"")

if the sum is equal to zero then you'll get blanks in both cells

You would need 2 foumulas, 1 in each cell
positive cell would be =if(sum(myrange)>=0, sum(myrange),"")
The negative cell would be =if(sum(myrange)<0, sum(myrange),"")

If I understand correctly, i think that you must use If two time:

in cells where place positive =if(yourCell>0, yourCell,)
and in cells where place negative =if(yourCell>0, ,yourCell)

yourCell is riferiment of cell where you get sum!

Ciao

Thank you

Thank you so much... I greatly apprieciate the help. It worked..

Replies
5
Views
198
Replies
4
Views
340
Replies
3
Views
184
Replies
15
Views
440
Replies
5
Views
187

1,216,497
Messages
6,130,993
Members
449,612
Latest member
geniusufo007

### We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.

### Which adblocker are you using?

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

### Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

### Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back