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

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
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
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
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
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,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

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