#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Negative Numbers

I'm putting togethet a spreadsheet for my employees bonuses. One of my
bonuses is a % of the profit made in our business. My current function is
something like this =c3*.04, so if c3 is %1,000.00, then the cell brings
$40.00, which is great. But, sometimes the profit is negative, such as,
$(1,000.00). Which if you kept the same equation, would bring back,
$(40.00), making my emloyees owe me $40.00. I can't seem to figure out how
to make it so that if the profit is positive it will calculat the equation,
but if it is negative, to just leave it alone, or atleast bring back $0.00 to
the cell. Any help would be greatly appreciated.
Thanks,
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Negative Numbers

Hi,

=MAX(0,C3*0.04)

Mike

"Griffindor107" wrote:

I'm putting togethet a spreadsheet for my employees bonuses. One of my
bonuses is a % of the profit made in our business. My current function is
something like this =c3*.04, so if c3 is %1,000.00, then the cell brings
$40.00, which is great. But, sometimes the profit is negative, such as,
$(1,000.00). Which if you kept the same equation, would bring back,
$(40.00), making my emloyees owe me $40.00. I can't seem to figure out how
to make it so that if the profit is positive it will calculat the equation,
but if it is negative, to just leave it alone, or atleast bring back $0.00 to
the cell. Any help would be greatly appreciated.
Thanks,

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Negative Numbers

=MAX(0,(C3*0.04)) to return a 0

Or

=IF(C3*0.04<0,"",C3*0.04) to leave it blank



Gord Dibben MS Excel MVP

On Wed, 11 Feb 2009 12:17:01 -0800, Griffindor107
wrote:

I'm putting togethet a spreadsheet for my employees bonuses. One of my
bonuses is a % of the profit made in our business. My current function is
something like this =c3*.04, so if c3 is %1,000.00, then the cell brings
$40.00, which is great. But, sometimes the profit is negative, such as,
$(1,000.00). Which if you kept the same equation, would bring back,
$(40.00), making my emloyees owe me $40.00. I can't seem to figure out how
to make it so that if the profit is positive it will calculat the equation,
but if it is negative, to just leave it alone, or atleast bring back $0.00 to
the cell. Any help would be greatly appreciated.
Thanks,


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel, change column of negative numbers to positive numbers? Nita New Users to Excel 3 November 27th 07 04:54 AM
Excel 2002 : Convert Positive Numbers to Negative Numbers ? Mr. Low Excel Discussion (Misc queries) 2 November 6th 06 03:30 PM
Set negative numbers to zero. Do not calculate with negative valu Excel Headache Excel Discussion (Misc queries) 4 September 14th 06 08:56 PM
change 2000 cells (negative numbers) into positive numbers lisbern Excel Worksheet Functions 2 August 16th 06 05:54 PM
convert negative numbers to positive numbers and vice versa bill gras Excel Worksheet Functions 4 December 7th 05 01:39 AM


All times are GMT +1. The time now is 10:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"