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


How can I use 2 if functions together. My function is
=IF($U9<1,ROUND(AK9-(AK9*$U9),-2),ROUND(AK9-$U9,-2)) and if U9 is
greater than 1 and some of my cells in the range are 0 it gives me a
negative number. How can I add another if function to change the
negative numbers to zero?


--
billykiller05
------------------------------------------------------------------------
billykiller05's Profile: http://www.excelforum.com/member.php...o&userid=36813
View this thread: http://www.excelforum.com/showthread...hreadid=565246

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 299
Default 2 if functions together

One possible way

=MAX(IF($U9<1,ROUND(AK9-(AK9*$U9),-2),ROUND(AK9-$U9,-2)),0)

meaning that if the IF function returns less than zero the result will be
zero

--


Regards,

Peo Sjoblom

Excel 95 - Excel 2007
Northwest Excel Solutions
www.nwexcelsolutions.com




"billykiller05"
wrote in message
news:billykiller05.2bkbes_1153933813.0031@excelfor um-nospam.com...

How can I use 2 if functions together. My function is
=IF($U9<1,ROUND(AK9-(AK9*$U9),-2),ROUND(AK9-$U9,-2)) and if U9 is
greater than 1 and some of my cells in the range are 0 it gives me a
negative number. How can I add another if function to change the
negative numbers to zero?


--
billykiller05
------------------------------------------------------------------------
billykiller05's Profile:
http://www.excelforum.com/member.php...o&userid=36813
View this thread: http://www.excelforum.com/showthread...hreadid=565246



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
Can I get Excel to determine the line curve formula without graph. Cadelima Excel Discussion (Misc queries) 8 December 20th 05 09:57 PM
User-defined functions created in Excel 2000 fail in Excel 2003 goodguy Excel Discussion (Misc queries) 1 October 3rd 05 07:04 PM
Database functions should use criteria in formula, as 1-2-3 does 123user Excel Worksheet Functions 8 September 29th 05 08:57 PM
Are there functions that perform robust statistics in Excel? froot_broot Excel Worksheet Functions 0 August 30th 05 10:18 PM
Visible rows and functions that work tracy Excel Worksheet Functions 2 August 19th 05 05:25 AM


All times are GMT +1. The time now is 09:51 AM.

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

About Us

"It's about Microsoft Excel"