Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Donald Thomas
 
Posts: n/a
Default Ignore a cell used in a formula if it contains a negative value

I am trying to create a simple formula...=(F40*F28)+F30

F30 is a calculated cell. Sometimes it may contain a negative value. When
F30 does contain a negative value I want the formula I am trying to create to
ignor it or use a zero.

Thanks for your help,

Donald Thomas
  #2   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom
 
Posts: n/a
Default Ignore a cell used in a formula if it contains a negative value

One way

=(F40*F28)+MAX(F30,0)

--

Regards,

Peo Sjoblom

Northwest Excel Solutions

www.nwexcelsolutions.com

Portland, Oregon




"Donald Thomas" <Donald wrote in message
...
I am trying to create a simple formula...=(F40*F28)+F30

F30 is a calculated cell. Sometimes it may contain a negative value.
When
F30 does contain a negative value I want the formula I am trying to create
to
ignor it or use a zero.

Thanks for your help,

Donald Thomas


  #3   Report Post  
Posted to microsoft.public.excel.misc
Donald Thomas
 
Posts: n/a
Default Ignore a cell used in a formula if it contains a negative valu



Peo Sjoblom,

That was FAST and it worked!

Thank you very much,

Donald
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
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Formula to ignore negative numbers in a column? Tia Excel Worksheet Functions 3 February 4th 06 02:53 PM
Instead of a negative number, I'd like to show zero... Dr. Darrell Excel Worksheet Functions 6 December 7th 05 08:21 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula returns (correctly) a negative value brit64 Excel Discussion (Misc queries) 5 September 19th 05 08:56 AM


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