#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default formula help

I need help with a formula. I need values for cells A1 and B1 that equals
the sum of cells C1:Z1. A1 cannot exceed the total of 10 and B1 equals the
rest of the total sum of C1:Z1.

Example: If the sum of C1:Z1 = 100, How do I get A1 = 10 and B1=90
automatically? Please help.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default formula help

Well, you haven't fully specified how you want to calculate the value for
A1, but one option that satisfies your incomplete spec is:
For A1, use =MIN(10,SUM(C1:Z1))
For B1, use =SUM(C1:Z1)-A1
--
David Biddulph

"rldjda" wrote in message
...
I need help with a formula. I need values for cells A1 and B1 that equals
the sum of cells C1:Z1. A1 cannot exceed the total of 10 and B1 equals
the
rest of the total sum of C1:Z1.

Example: If the sum of C1:Z1 = 100, How do I get A1 = 10 and B1=90
automatically? Please help.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,365
Default formula help

in A1
=MIN(10,SUM(C1:Z1))
in B1
=SUM(C1:Z1)-A1


"rldjda" wrote:

I need help with a formula. I need values for cells A1 and B1 that equals
the sum of cells C1:Z1. A1 cannot exceed the total of 10 and B1 equals the
rest of the total sum of C1:Z1.

Example: If the sum of C1:Z1 = 100, How do I get A1 = 10 and B1=90
automatically? Please help.

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
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Formula Problem - interrupted by #VALUE! in other cells!? Ted Excel Worksheet Functions 17 November 25th 05 05:18 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


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