Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Sun, 29 May 2005 14:30:46 -0700, Lee wrote:

How would I write a function with the following conditions

If H1 < 1.7 and K2 <1 return 1.7
If H1 < 1.7 and K2 is between 1 and 2 return 2 (if k2 = 1 return 1, if k2 =
2 return 2)
If H1 < 1.7 and K2 is between 2 and 3 return 3 (if k2 = 3 return 3)
If H1 < 1.7 and K2 3 return 3
If H1 = 1.7 return 1.7

Sorry for the errors in my previous post

Lee



=IF(OR(H1=1.7,AND(H1<1.7,K2<1)),1.7,MIN(3,CEILING (K2,1)))
--ron
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
Historical Excel question statistical capabilities [email protected] Excel Discussion (Misc queries) 1 April 22nd 05 04:29 PM
Hints And Tips For New Posters In The Excel Newsgroups Gary Brown Excel Worksheet Functions 0 April 15th 05 05:47 PM
Question about combining data from multiple workbooks into one rep BookOpenandUpright Excel Discussion (Misc queries) 2 February 19th 05 12:37 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM
test for date in column question Buster Excel Worksheet Functions 1 December 10th 04 04:38 AM


All times are GMT +1. The time now is 09:02 AM.

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"