Formula to catch a change in sign in Excel

Viva_Excel

Board Regular
Joined
Nov 13, 2008
Messages
89
I have a lot of rows data to review and need to make sure that all the data input was input using the correct sign (either positive or negative). For this, if the first month in the row is a positive number, all the remaining data in the same row needs to be positive. Conversely, if the first month in the row is a negative number, all the remaining data in the same row needs to be negative. There are times when people make mistakes and make mistakes. Thus, I am trying to come up with a way to check if there has been a mistake. Is there a formula I can use to make sure that the data is either positive or negative (maybe using conditional formatting so I can quickly identify which cell changed?). For example, if month one is $100 but month ten is input as -$100, I want to be able to identify cells where the sign used has changed using some sort of formula. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,224,600
Messages
6,179,834
Members
452,947
Latest member
Gerry_F

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