Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Subtracting an absolute value

=IF(J1860,(J186-J198),(J128-J198))

How can I change this formula to make J198 an absolute value. Because if
J198 is negative, it adds the number and I want it to always subtract.

Can someone please advise me on how to make that happen?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Subtracting an absolute value

Try ...

=IF(J1860,(J186-ABS(J198)),(J128-ABS(J198)))

ABS =absolute value.

WKR,

JP


"NOAAlw" wrote in message
...
=IF(J1860,(J186-J198),(J128-J198))

How can I change this formula to make J198 an absolute value. Because if
J198 is negative, it adds the number and I want it to always subtract.

Can someone please advise me on how to make that happen?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Subtracting an absolute value

Thank you so very much! You really saved my day!

"JP Ronse" wrote:

Try ...

=IF(J1860,(J186-ABS(J198)),(J128-ABS(J198)))

ABS =absolute value.

WKR,

JP


"NOAAlw" wrote in message
...
=IF(J1860,(J186-J198),(J128-J198))

How can I change this formula to make J198 an absolute value. Because if
J198 is negative, it adds the number and I want it to always subtract.

Can someone please advise me on how to make that happen?




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
Absolute cell reference will not remain absolute. Mike K Excel Worksheet Functions 1 October 8th 08 07:12 PM
Subtracting A from B Sibbs Excel Discussion (Misc queries) 4 March 3rd 08 07:57 PM
Subtracting daizee Excel Discussion (Misc queries) 2 January 3rd 08 11:03 AM
Subtracting petrino Charts and Charting in Excel 2 January 9th 07 08:56 AM
Subtracting Paul M Excel Discussion (Misc queries) 0 February 15th 06 05:49 PM


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