Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Help with negative number please

Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%, how can
I change the formula to do this please.

Regards,

Eamon


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Help with negative number please

=IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95))

Dave
--
Brevity is the soul of wit.


"Eamon" wrote:

Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%, how can
I change the formula to do this please.

Regards,

Eamon



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Help with negative number please

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%, how
can I change the formula to do this please.

Regards,

Eamon




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,574
Default Help with negative number please

What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%, how
can I change the formula to do this please.

Regards,

Eamon





  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Help with negative number please

Dave,

When I copy and past =IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95)) into Q11
I get the message the formula you typed contains an error and when I click
OK "<0" the "0" is highlighted in black.

Hope this helps.

Eamon

"Dave F" wrote in message
...
What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%,
how
can I change the formula to do this please.

Regards,

Eamon









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 618
Default Help with negative number please

Your parentheses don't match, & the error being highlighted is that you
don't have enough arguments for the first IF statement.

To cure that, try
=IF(O11<0,O11,IF(O11="","",Q10+(O11/100)*95))
or
=IF(O11<0,O11,IF(O11="","",Q10+O11*95%))

But that may not be what you want. If you're trying to produce a cumulative
total, you may want something more like
=IF(O11<0,Q10+O11,IF(O11="",Q10,Q10+O11*95%))
--
David Biddulph

"Eamon" wrote in message
...
Dave,

When I copy and past =IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95)) into
Q11
I get the message the formula you typed contains an error and when I click
OK "<0" the "0" is highlighted in black.

Hope this helps.

Eamon

"Dave F" wrote in message
...
What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%,
how
can I change the formula to do this please.

Regards,

Eamon









  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Help with negative number please

Re the error only, it looks like the if got "closed" early. Try this:

=IF(O11<0,O11,IF(O11="","",Q10+(O11/100)*95))
--
Kevin Vaughn


"Eamon" wrote:

Dave,

When I copy and past =IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95)) into Q11
I get the message the formula you typed contains an error and when I click
OK "<0" the "0" is highlighted in black.

Hope this helps.

Eamon

"Dave F" wrote in message
...
What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%,
how
can I change the formula to do this please.

Regards,

Eamon








  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Help with negative number please

David,

Just tried =IF(O11<0,Q10+O11,IF(O11="",Q10,Q10+O11*95%)) and works perfect
many thanks.
Thanks to David F as well.
Your efforts are much appreciated. Thanks again.

Best regards,

Eamon

"David Biddulph" wrote in message
...
Your parentheses don't match, & the error being highlighted is that you
don't have enough arguments for the first IF statement.

To cure that, try
=IF(O11<0,O11,IF(O11="","",Q10+(O11/100)*95))
or
=IF(O11<0,O11,IF(O11="","",Q10+O11*95%))

But that may not be what you want. If you're trying to produce a
cumulative total, you may want something more like
=IF(O11<0,Q10+O11,IF(O11="",Q10,Q10+O11*95%))
--
David Biddulph

"Eamon" wrote in message
...
Dave,

When I copy and past =IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95)) into
Q11
I get the message the formula you typed contains an error and when I
click OK "<0" the "0" is highlighted in black.

Hope this helps.

Eamon

"Dave F" wrote in message
...
What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%,
how
can I change the formula to do this please.

Regards,

Eamon











  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 23
Default Help with negative number please

Kevin,

Thanks as well for your help, but have it solved with David's formula.

Best regards,

Eamon
"Kevin Vaughn" wrote in message
...
Re the error only, it looks like the if got "closed" early. Try this:

=IF(O11<0,O11,IF(O11="","",Q10+(O11/100)*95))
--
Kevin Vaughn


"Eamon" wrote:

Dave,

When I copy and past =IF(O11<0),O11,IF(O11="","",Q10+(O11/100)*95)) into
Q11
I get the message the formula you typed contains an error and when I
click
OK "<0" the "0" is highlighted in black.

Hope this helps.

Eamon

"Dave F" wrote in message
...
What error are you getting?
--
Brevity is the soul of wit.


"Eamon" wrote:

Dave,

Thanks for your reply but am getting error in formula?

Eamon

"Eamon" wrote in message
...
Hello,

Appreciate any help please

For example In O10:O1000 I have numbers such as...
56.50
100.00
-100.00
324.66
etc!
In Q10 I have the number in O10 less 5%
In Q11 I have =+IF(O11="","",Q10+O11/100*95)
to keep a running total of the numbers in column "O" less 5%
This is working fine until I come to a negative number in column "O"
i.e. -100.00, when the number is negative I don't want to deduct 5%,
how
can I change the formula to do this please.

Regards,

Eamon










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
Converting Negative Number to Postive number Tedd Excel Worksheet Functions 7 September 2nd 09 04:34 PM
remove negative from number jermsalerms Excel Worksheet Functions 5 June 30th 06 01:53 PM
Pulling Data off Web - Need Function Help patfergie44 Excel Worksheet Functions 9 June 22nd 06 03:27 AM
MROUND on a negative number. Big Rick Excel Discussion (Misc queries) 6 December 29th 05 03:45 PM
thousand separator as indian style for negative number kamlakar Excel Discussion (Misc queries) 0 July 11th 05 12:23 PM


All times are GMT +1. The time now is 05:11 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"