# Newbie Question :-D

#### dafricano

##### New Member
Hello everyone,

I have an excel form that calculates a budget. What I am trying to do is if the final tally is postive, row 106 would appear with the tally and a message stating 'This amount is due to the CUstomer'

If it's negative, row 107 would appear with the tally and a message stating 'This amount is due to the company'

The tally cell is E105

Please let me know if I need to explain something else..
Thanks

Dave

### Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

#### macleanb

##### Well-known Member
It would be easier to use a single cells which does either:

=if(e105>0,"You get ",if(e105<0,"We get ","")) & e105

##### MrExcel MVP
Since you seem to have the tally (or the amount) already in E105...

E106:

=IF(E105>=0,"This amount is due to the Customer: "&E105,"")

E107:

=IF(E105 < 0,"This amount is due to the Company: "&E105,"")

#### dafricano

##### New Member
Thanks for the repsonses gentlemen,

How can I specify the number in the output to have a currency formatting

So..
Due to My Company. -100

Due to My Company. .......

Actually i just figured this out...

=IF(E105>0,"Due to Home Owner " & "\$" & E105 & ".00",IF(E105<0,"Due to My Company. " & "\$" & -E105 & ".00",""))

THanks for all your help guys!!

Dave

#### Seti

##### Well-known Member
Try:

=IF(E105>0,"Due to Home Owner " & TEXT(E105,"\$#,##0.00"),IF(E105<0,"Due to My Company. " & TEXT(-E105,"\$#,##0.00"),""))

Replies
9
Views
175
Replies
0
Views
165
Replies
10
Views
670
Replies
0
Views
331
Replies
1
Views
521

1,195,746
Messages
6,011,412
Members
441,613
Latest member
worksux

### 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