Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If total answer is over default of 160 then 160, otherwise the formula i have works great!

=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If total answer is over default of 160 then 160, otherwise the formula i have works great!

If your formula works, then you could modify it to this in the same
cell:

=MIN(160,IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T1 9)*G19))

Hope this helps.

Pete

On Mar 16, 1:02 am, wrote:
=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default If total answer is over default of 160 then 160, otherwise the for

=IF(your_formula160,160,your_formula)
--
Gary''s Student
gsnu200710


" wrote:

=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default If total answer is over default of 160 then 160, otherwise the formula i have works great!

Hi
Try
=MIN(IF(M1929.9,G19*5,(SUM(N19:T19)-Q19)*G19),160)
If Q19 is a blank cell, then you can omit the -Q19 from the formula.
--
Regards

Roger Govier


wrote in message
ups.com...
=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default If total answer is over default of 160 then 160, otherwise the for

=MIN(160,IF(M1929.9,5,SUM(N19:P19,R19:T19))*G19)


" wrote:

=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)

This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.

The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default If total answer is over default of 160 then 160, otherwise the formula i have works great!

On Mar 15, 9:09 pm, "Pete_UK" wrote:
If your formula works, then you could modify it to this in the same
cell:

=MIN(160,IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T1 9)*G19))

Hope this helps.

Pete

On Mar 16, 1:02 am, wrote:



=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)


This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.


The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.- Hide quoted text -


- Show quoted text -


Thank you Pete. It works perfect. You guys are the greatest!

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default If total answer is over default of 160 then 160, otherwise the formula i have works great!

Thanks for the feedback - glad it worked.

Pete

On Mar 16, 3:27 am, wrote:
On Mar 15, 9:09 pm, "Pete_UK" wrote:





If your formula works, then you could modify it to this in the same
cell:


=MIN(160,IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T1 9)*G19))


Hope this helps.


Pete


On Mar 16, 1:02 am, wrote:


=IF(M1929.9,G19*5,(N19+O19+P19+R19+S19+T19)*G19)


This formula deciphers part time versus full time hours and then adds
the rates together; however, I need it to also determine that if the
total adds up to over $160, then the answer should default to $160.
Only if the total is over $160.


The formula works great, just missing a part to default to a weekly
rate. Is this possible or do I have to add another column. I would
prefer it to be added to this formula if at all possible.
Thank you in advance.- Hide quoted text -


- Show quoted text -


Thank you Pete. It works perfect. You guys are the greatest!- 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
What Formula to use(VBA will be great to) Need help with sumif Excel Discussion (Misc queries) 2 May 17th 06 07:09 AM
Pivot table - default answer keith Excel Discussion (Misc queries) 0 March 22nd 06 11:12 AM
Still looking for answer that works,&.appreciate past efforts Denny Crane Excel Worksheet Functions 1 March 11th 06 02:11 AM
I put a Calc. in to get a total IE =K12 the answer comes up as 0 G4 Excel Discussion (Misc queries) 1 December 17th 05 05:42 PM
how do I make excel 2003 my default spreadsheet over ms works spr. steve Setting up and Configuration of Excel 1 December 23rd 04 08:03 PM


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