Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default The total of a couple cells and only include one of the cells if

I'm hoping someone out there can help me with an Excel question.

What I want to do is have the currency total of a couple cells and only
include one of the cells if that cell is greater than zero. This is the
formula I came up with but unfortunatley, it doesn't work.

=((IF(N430,N43,"")(N44:N48)))

Can someone help me!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,089
Default The total of a couple cells and only include one of the cells if

=IF(N430,N43,0)+SUM(N44:N48)

Regards

Trevor


"Jennifer" <Jennifer @discussions.microsoft.com wrote in message
...
I'm hoping someone out there can help me with an Excel question.

What I want to do is have the currency total of a couple cells and only
include one of the cells if that cell is greater than zero. This is the
formula I came up with but unfortunatley, it doesn't work.

=((IF(N430,N43,"")(N44:N48)))

Can someone help me!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default The total of a couple cells and only include one of the cells if

=SUM(IF(N430,N44:N48))

ctrl+shift+enter, not just enter


"Jennifer" wrote:

I'm hoping someone out there can help me with an Excel question.

What I want to do is have the currency total of a couple cells and only
include one of the cells if that cell is greater than zero. This is the
formula I came up with but unfortunatley, it doesn't work.

(N=((IF430,N43,"")(N44:N48)))

Can someone help me!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default The total of a couple cells and only include one of the cells if

You talked of "a couple cells". "A couple" usually means 2, so if you are
trying to add the 2 cells N44 and N48, the formula is =N44+N48.
If you use =SUM(N44:N48) it will add all 4 cells in that range. If you want
to add another value if it is greater than zero, you can use MAX(N43,0),
hence you may want a formula like =SUM(N44:N48)+MAX(N43,0)
--
David Biddulph

"Jennifer" <Jennifer @discussions.microsoft.com wrote in message
...
I'm hoping someone out there can help me with an Excel question.

What I want to do is have the currency total of a couple cells and only
include one of the cells if that cell is greater than zero. This is the
formula I came up with but unfortunatley, it doesn't work.

=((IF(N430,N43,"")(N44:N48)))

Can someone help me!



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
Why is my sum total a couple pennies off from what it should be? Chrissy[_2_] Excel Discussion (Misc queries) 2 March 2nd 07 05:42 AM
Include the info from 2 cells One-Leg Excel Discussion (Misc queries) 4 December 8th 06 06:00 PM
How do you subtotal but not include the word total in the cells? Kiesha Excel Discussion (Misc queries) 2 April 20th 06 11:37 PM
OFFSET to include blank cells GMCN Excel Worksheet Functions 2 April 3rd 06 10:11 AM
Averages that include cells with IF statements hollenbaker Excel Worksheet Functions 5 October 7th 05 04:29 PM


All times are GMT +1. The time now is 03:49 PM.

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"