Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old June 2nd 09, 04:04 PM posted to microsoft.public.excel.newusers
pjb pjb is offline
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2009
Posts: 2
Default Using IF Function

I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that
number. ie:sum = 48, I want the formula to show 8. thanks

  #2   Report Post  
Old June 2nd 09, 04:13 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Sep 2008
Posts: 117
Default Using IF Function

=IF(SUM(B16:B19)48,SUM(B16:B19)-48,SUM(B16:B19))

Substitute your range of cells as required.

"pjb" wrote:

I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that
number. ie:sum = 48, I want the formula to show 8. thanks

  #3   Report Post  
Old June 2nd 09, 04:16 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,908
Default Using IF Function

Don't understand where the 8 comes from.

8 is not above 48 unless you mean the cell above the SUM cell is 8?

=MIN(SUM(A1:A10),8) entered in A11

Or =MIN(SUM(A1:A8),A10)


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote:

I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that
number. ie:sum = 48, I want the formula to show 8. thanks


  #4   Report Post  
Old June 2nd 09, 04:38 PM posted to microsoft.public.excel.newusers
pjb pjb is offline
external usenet poster
 
First recorded activity by ExcelBanter: Jun 2009
Posts: 2
Default Using IF Function

the second works, thank you!

"Gord Dibben" wrote:

Don't understand where the 8 comes from.

8 is not above 48 unless you mean the cell above the SUM cell is 8?

=MIN(SUM(A1:A10),8) entered in A11

Or =MIN(SUM(A1:A8),A10)


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote:

I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that
number. ie:sum = 48, I want the formula to show 8. thanks



  #5   Report Post  
Old June 2nd 09, 05:54 PM posted to microsoft.public.excel.newusers
external usenet poster
 
First recorded activity by ExcelBanter: Jul 2006
Posts: 22,908
Default Using IF Function

Glad you picked up on the typo<g

=MIN(SUM(A1:A10),A10) is what I meant to post.


Gord

On Tue, 2 Jun 2009 08:38:06 -0700, pjb wrote:

the second works, thank you!

"Gord Dibben" wrote:

Don't understand where the 8 comes from.

8 is not above 48 unless you mean the cell above the SUM cell is 8?

=MIN(SUM(A1:A10),8) entered in A11

Or =MIN(SUM(A1:A8),A10)


Gord Dibben MS Excel MVP

On Tue, 2 Jun 2009 08:04:01 -0700, pjb wrote:

I am trying to create a formula that will sum a list of cells and if the
total exceeds a certain number it will return the number that is above that
number. ie:sum = 48, I want the formula to show 8. thanks






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
Excel Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM
Emulate Index/Match combo function w/ VBA custom function Spencer Hutton Excel Worksheet Functions 2 May 2nd 05 05:26 PM


All times are GMT +1. The time now is 06:24 PM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017