Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
mdavis
 
Posts: n/a
Default I need assistance with wrting an Excel formula

I am attempting to write a formula that will calculate the variance between
the sum of a cell and the number 40, but only if the sum of that cell is
greater than the number 40? I have tried several functions; i.e.: IF, SUMIF,
Etc., but I am unable to crack it. Can you help?

Much appreciated,

M
  #2   Report Post  
JulieD
 
Posts: n/a
Default

Hi

not sure what you mean by "the sum of a cell" but is this what you're after

=IF(A140,A1-40,0)

if not, please post back with additional details (ie what cell(s) you're
talking about, what is actually in those cells).
Cheers
JulieD

"mdavis" wrote in message
...
I am attempting to write a formula that will calculate the variance between
the sum of a cell and the number 40, but only if the sum of that cell is
greater than the number 40? I have tried several functions; i.e.: IF,
SUMIF,
Etc., but I am unable to crack it. Can you help?

Much appreciated,

M



  #3   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

Another one:
=MAX(0,A1-40)

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"mdavis" wrote in message
...
I am attempting to write a formula that will calculate the variance

between
the sum of a cell and the number 40, but only if the sum of that cell is
greater than the number 40? I have tried several functions; i.e.: IF,

SUMIF,
Etc., but I am unable to crack it. Can you help?

Much appreciated,

M



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
What is the formula for dividing a number by 4 in excel Blessingspoint Excel Worksheet Functions 1 January 13th 05 05:58 PM
Excel - formula to calculate colored fill cells within a range wi. MA Excel Worksheet Functions 1 January 7th 05 04:06 PM
I need help figuring out this formula in Excel rlrlatr35 Excel Discussion (Misc queries) 3 January 6th 05 11:21 PM
Need excel formula to display 28.50hrs in HRS & MINS? rbc Excel Worksheet Functions 4 January 6th 05 12:21 PM
Create a formula in Excel? Fuzzy Odie Excel Worksheet Functions 2 January 5th 05 12:59 AM


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