If negative/positive

jmaskin

New Member
Joined
Sep 24, 2024
Messages
2
Office Version
  1. 2010
Platform
  1. Windows
I am trying to return specific text based on whether a number in a different cell is positive or negative.
In other words, If B11 Is positive then A11 should read Balance Due, If B11 is negative A11 should read Credit Due
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
I suppose "Balance Due"

Side bar, is there a way to make it show as a positive number? I am trying to create an invoice. However, sometimes they will owe, other times they will get credit
 
Upvote 0
Book1
AB
11Credit Due-20
Sheet1
Cell Formulas
RangeFormula
A11A11=IF(B11>=0,"Balance Due","Credit Due")
 
Upvote 0
Side bar, is there a way to make it show as a positive number? I am trying to create an invoice. However, sometimes they will owe, other times they will get credit
You can use a custom number format like this:
0.00;0.00;0.00
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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