Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Adding 2 cells only if one is not over

I am trying to create an Attendance Calendar. We are allotted only a certain
number of days (can't go over that). But we get a day each month. I need
the formula to add Allotted Days + Carry over days and minus Total days used
that month but never go over 36 days.

Allotted Days + Carry Over Days -Total days used = Total Days left (never to
exceed 36 days)

Thanks in advance for any help with this problem.

--
cao
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding 2 cells only if one is not over

Substitute your cell references as necessary, and use a formula like
this:

=MIN(Allotted Days + Carry Over Days -Total days used,36)

If the first part of this exceeds 36, then 36 will be returned.

Hope this helps.

Pete

On Jan 12, 7:08*pm, srctr wrote:
I am trying to create an Attendance Calendar. *We are allotted only a certain
number of days (can't go over that). *But we get a day each month. *I need
the formula to add Allotted Days + Carry over days and minus Total days used
that month but never go over 36 days.

Allotted Days + Carry Over Days -Total days used = Total Days left (never to
exceed 36 days)

Thanks in advance for any help with this problem.

--
cao


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 24
Default Adding 2 cells only if one is not over

Thanks for your help. I found an example that had me use MIN this way and it
works. =MIN(36,SUM(A8+B8-AI8))
--
cao


"Pete_UK" wrote:

Substitute your cell references as necessary, and use a formula like
this:

=MIN(Allotted Days + Carry Over Days -Total days used,36)

If the first part of this exceeds 36, then 36 will be returned.

Hope this helps.

Pete

On Jan 12, 7:08 pm, srctr wrote:
I am trying to create an Attendance Calendar. We are allotted only a certain
number of days (can't go over that). But we get a day each month. I need
the formula to add Allotted Days + Carry over days and minus Total days used
that month but never go over 36 days.

Allotted Days + Carry Over Days -Total days used = Total Days left (never to
exceed 36 days)

Thanks in advance for any help with this problem.

--
cao



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Adding 2 cells only if one is not over

That's fine, although you don't really need the SUM:

=MIN(36,A8+B8-AI8)

Thanks for feeding back.

Pete

On Jan 13, 12:57*pm, srctr wrote:
Thanks for your help. *I found an example that had me use MIN this way and it
works. *=MIN(36,SUM(A8+B8-AI8))
--
cao



"Pete_UK" wrote:
Substitute your cell references as necessary, and use a formula like
this:


=MIN(Allotted Days + Carry Over Days -Total days used,36)


If the first part of this exceeds 36, then 36 will be returned.


Hope this helps.


Pete


On Jan 12, 7:08 pm, srctr wrote:
I am trying to create an Attendance Calendar. *We are allotted only a certain
number of days (can't go over that). *But we get a day each month. *I need
the formula to add Allotted Days + Carry over days and minus Total days used
that month but never go over 36 days.


Allotted Days + Carry Over Days -Total days used = Total Days left (never to
exceed 36 days)


Thanks in advance for any help with this problem.


--
cao- Hide quoted text -


- Show quoted text -


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
adding cells msiz Excel Discussion (Misc queries) 1 April 22nd 08 12:16 PM
Need help w/ adding cells and dividing SUM by number of cells lnbegin Excel Worksheet Functions 4 September 26th 07 04:26 PM
ADDING CELLS Scott Excel Discussion (Misc queries) 1 March 15th 07 05:37 PM
Adding only cells with an X in it Pete Elbert Excel Discussion (Misc queries) 2 April 8th 06 07:32 PM
Adding colour to a range of cells based on one of the cells v... McKenna Excel Discussion (Misc queries) 4 March 11th 05 02:25 PM


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