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 if less then zero put zero if greater then zero state number

I need a formula that goes like this

if 7000-c2-e2-g2 less then zero put zero in column & if 7000-c2-e2-g2 is
greater then zero put the actual sum in column

I need to have both in one column
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,339
Default if less then zero put zero if greater then zero state number

=MAX(0,7000-c2-e2-g2)

"Pamela Jean" wrote:

I need a formula that goes like this

if 7000-c2-e2-g2 less then zero put zero in column & if 7000-c2-e2-g2 is
greater then zero put the actual sum in column

I need to have both in one column

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default if less then zero put zero if greater then zero state number

=IF(700-(C2+E2+G2)<0,0,700-(C2+E2+G2))


"Pamela Jean" wrote:

I need a formula that goes like this

if 7000-c2-e2-g2 less then zero put zero in column & if 7000-c2-e2-g2 is
greater then zero put the actual sum in column

I need to have both in one column

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
countif formula to find the occurances of a number that is greater than one number but less than another steveo Excel Discussion (Misc queries) 3 July 8th 06 02:04 AM
Way of making an object with a greater number be given a point.... petros89 Excel Discussion (Misc queries) 3 October 6th 05 10:41 AM
calculate the number of words in a row whose length is greater than 2 sks1379 Excel Worksheet Functions 5 September 4th 05 06:21 PM
Display a greater number of recently used spreadsheets on File ta. stevjones Excel Discussion (Misc queries) 2 May 21st 05 06:19 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


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