Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Smurphy
 
Posts: n/a
Default if statements help


I have a spreadsheet for insurance.
Min benefit in E1 is $10,000.00.
Max benefit in E2 is $90,000.00.
Wage Value is D6.
The formula I am trying to use is:
=IF(D6*1.5$E$2,$E$2,D6*1.5),IF(D6*1.5<$E$1,$E$1,D 6*1.5)
It does not work.

For example: wage in D6 is 110,000.00. 110,000.00 x 1.5 = 165,000.00. I
want return of 90,000.00.
If wage in D6 is 3,700.00. 3,700.00 x 1.5 = 5,550.00. I want return of
10,000.00.
If wage in D6 is 30,000.00. 30,000.00 x 1.5 = 45,000.00. I want return
of 45,000.00.
Please help.
Forever trying to learn.


--
Smurphy


------------------------------------------------------------------------
Smurphy's Profile: http://www.excelforum.com/member.php...o&userid=31233
View this thread: http://www.excelforum.com/showthread...hreadid=509020

  #2   Report Post  
Posted to microsoft.public.excel.newusers
JE McGimpsey
 
Posts: n/a
Default if statements help

One way:

=MAX(MIN(D6*1.5,E2),E1)

In article ,
Smurphy wrote:

I have a spreadsheet for insurance.
Min benefit in E1 is $10,000.00.
Max benefit in E2 is $90,000.00.
Wage Value is D6.
The formula I am trying to use is:
=IF(D6*1.5$E$2,$E$2,D6*1.5),IF(D6*1.5<$E$1,$E$1,D 6*1.5)
It does not work.

For example: wage in D6 is 110,000.00. 110,000.00 x 1.5 = 165,000.00. I
want return of 90,000.00.
If wage in D6 is 3,700.00. 3,700.00 x 1.5 = 5,550.00. I want return of
10,000.00.
If wage in D6 is 30,000.00. 30,000.00 x 1.5 = 45,000.00. I want return
of 45,000.00.
Please help.
Forever trying to learn.

  #3   Report Post  
Posted to microsoft.public.excel.newusers
flummi
 
Posts: n/a
Default if statements help

This is your formula as it should work:

=IF(D6*1.5<=$E$1,$E$1,IF(D6*1.5=$E$2,$E$2,D6*1.5) )

Hans

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
UDFunctions and nested If-the-else statements JDB Excel Worksheet Functions 1 January 25th 06 03:29 PM
Linking two IF statements together trixma Excel Discussion (Misc queries) 2 September 29th 05 06:07 AM
Better Way to Code IF Statements? TheRobsterUK Excel Discussion (Misc queries) 4 July 18th 05 03:37 PM
Nested IF statements John Simons Excel Worksheet Functions 14 February 16th 05 06:17 AM
If statements Mark Excel Worksheet Functions 3 November 2nd 04 08:39 PM


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