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 Smaller than 0 to return a 0 result

Every tenant gets one free go per week. I need to create a formula where
where any negative numbers are returned as a '0' result.
('01'!C3+'02'!C3+'03'!C3+'04'!C3+'05'!C3+'06'!C3+' 07'!C3-1) Returns a -1
result. I need it to return '0' answer.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Smaller than 0 to return a 0 result

Well - first let's fix the formula. This assumes your sheets '01' through
'07' are ALL side by side

Rewrite

('01'!C3+'02'!C3+'03'!C3+'04'!C3+'05'!C3+'06'!C3+' 07'!C3-1)

as

=SUM('01:07'!C3)-1

Now, to ensure it never goes negative, use

=MAX(SUM('01:07'!C3)-1,0)

"MWRhino" wrote:

Every tenant gets one free go per week. I need to create a formula where
where any negative numbers are returned as a '0' result.
('01'!C3+'02'!C3+'03'!C3+'04'!C3+'05'!C3+'06'!C3+' 07'!C3-1) Returns a -1
result. I need it to return '0' answer.

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
how do I look up a value and return more than one result? amiller Excel Worksheet Functions 2 January 13th 09 05:41 PM
excel result return wrong calcuation result garyww Excel Worksheet Functions 1 August 14th 06 11:14 AM
excel result return wrong calcuation result garyww Excel Worksheet Functions 0 August 14th 06 05:02 AM
excel result return wrong calcuation result garyww Excel Worksheet Functions 0 August 14th 06 05:02 AM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM


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