Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Restraints on an "if" statement

Something like this in say, C1:
=IF(A1="","",IF(MAX(A1,0)B1,"C","D"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"jmac2006" wrote:
Hi there,

I have a simple "if" statement and am trying to add a constraint.
Essentially, the statement is:

If(AB, C, D)

However, I wan to say if "A" is a negative number, then it should be 0
(can't have a negative number).

Anyone have any advice?

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
Nested "IF" Statement lajohn63 Excel Worksheet Functions 1 October 6th 06 10:56 AM
"IF" Statement Problem lajohn63 Excel Worksheet Functions 0 October 5th 06 11:53 AM
Need help with and "IF" statement - ASAP iasiddiqui Excel Discussion (Misc queries) 6 August 15th 06 04:52 PM
Can I use "In" in an "If" statement? mbrockhaus Excel Discussion (Misc queries) 3 June 29th 06 11:57 PM
"If" statement using "And" Amanda Excel Discussion (Misc queries) 2 December 28th 05 03:02 PM


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

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"