HELP!!!

TNTitans1974

New Member
Joined
Sep 24, 2006
Messages
2
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.

Thanks in advance
:confused:
 

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
 
Upvote 0
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),"")
 
Upvote 0
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
 
Upvote 0

Forum statistics

Threads
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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

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

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

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
Back
Top