formula

Sakurkar

New Member
Joined
Oct 10, 2014
Messages
27
Hi friends, In excel sheet A1 is + (plus) and B1 is - (minus), multiplication in c1 should be - (minus). what is the formula.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Hi Sakurkar,

I am not sure if I understood you well, but if you have a positive number in a1 and a negative number in b1 then in c1 you will have this formula =a1 * b1 and the result will be a negative number.

Hope this help

Vândalo
 
Upvote 0
So if I understand correctly you have "+" in A1 and "-" in B1 and you want "-" in C1? If that is the case you can try this formula:
Code:
IF(OR(AND(A1="+",B1="-"),AND(A1="-",B1="+")),"-","+")
 
Upvote 0
=IF(COUNTIF(A1:B1,"-")=1,"-","+")
Otherwise it will return "-" when both A1 and B1 are "-"
 
Upvote 0

Forum statistics

Threads
1,215,008
Messages
6,122,672
Members
449,091
Latest member
peppernaut

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