Newbie Question :-D

dafricano

New Member
Joined
Feb 1, 2005
Messages
7
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
Joined
Dec 10, 2004
Messages
715
It would be easier to use a single cells which does either:

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

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,210
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,"")
 
Upvote 0

dafricano

New Member
Joined
Feb 1, 2005
Messages
7
Thanks for the repsonses gentlemen,

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

So..
Instead of
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!! (y)

Dave
 
Upvote 0

Seti

Well-known Member
Joined
May 19, 2002
Messages
2,916
Try:

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

Forum statistics

Threads
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.
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
Top