LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 109
Default What formula will give highest criterion value.

Col A ------------------------Col B -------------------------------Col C -----
----------------Col D ---------------Col E
1 Date --------------------- Price ---------------------------- --
--------------------B/date ------------Yield Factor
2.05-FEB-07--------------100 -------------------------------- ------
----------------07-FEB-07--------- 2
3.06-FEB-07 -------------102 -------------------------------- ------
----------------13-FEB-07 -------- 1.5
4.07-FEB-07 -------------52 ----------------------------------- ----
---------------- 19-FEB--07 ------- 2
5.08-FEB-07 -------------50.50 ----------------------------------- -
--------------------
6.09-FEB-07 ------------- 50 ---------------------------------- ----
-----------------
7.12-FEB-07 ------------- 50.90 ----------------------------- -----
---------------
8.13-FEB-07 ------------- 34.50 ----------------------------- -----
----------------
9.14-FEB-07 ------------- 35 ------------------------------ ----
--------------------
10.15-FEB-07 -----------33 ---------------------------------- ----
-------------------
11.19-FEB-07 ---------- 16 ---------------------------------- ----
-------------------
12. 20-FEB-07 ---------- 16.40 ---------------------------- -----
-------------------

Normally C2

= Max(B2:B12) will give me high price.I have a bonus table in range D2:D6 .
Basing on this table I want to calculate high price in above range.The
criteria of calculation is,on 07-FEB_07 bonus of 1 unit is given for 1 unit.
Therefore on and from 07-FEB-07 value of price will be
07-FEB-07 --- 104 (52 multiplied by yield factor 2)
08-FEB-07 --- 101 (50.50 multiplied by Yield Factor 2)
09-FEB-07 ----100( 50 " " " " 2)
12-FEB-07 --- 101.80(50.90 " " " " 2)
Again on 13-FEB-07 bonus 1unit is given for every 2 units of holding.
Therefore on and from 13-FEB-07 the value of price will be
13-FEB-07 - 103.50 ( 34.50 multiplied by Yield factor 2 and 1.5)
14-FEB-07 - 105 ( 35 multiplied by yield factor 2 and 1.5)
15-FEB-07 - 99 ( 33 multipled by yield factor 2 and 1.5)
In this way basing on this calculation the value of prices in above range
will be
05-FEB-07 -100
06-FEB-07 - 102
07-FEB-07 - 104
08-FEB-07 - 101
09-FEB-07 - 100
12-FEB-07 - 101.80
13-FEB-07 - 103.50
14-FEB-07 - 105
15-FEB-07 - 99
19-FEB-07 - 96
20-FEB-07 - 98.40
So the highest price is 35 ( 14-FEB-07)
Highest price during 05-FEB-07 to 09-FEB-07 is 52(07-FEB-07)
Highest price during 15-FEB-07 to 20-FEB-07 is 33(15-FEB-07)
I am looking for a function that gives me above results, without creating a
helper column.

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...excel/200702/1

 
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
Filter/sort data to give highest value from each day Cootha Excel Discussion (Misc queries) 10 August 28th 06 08:18 AM
2 rows, highest No in row 1, then highest number in row 2 relating to that column, possible duplicates John Excel Worksheet Functions 3 August 11th 06 04:34 AM
multiple criterion to give sum LT Hettinger Excel Worksheet Functions 3 July 16th 06 12:53 AM
Give RELEVANT responses to questions. DO NOT give usless list pmartin Excel Worksheet Functions 2 July 6th 06 06:08 PM
Is there a function to give us the highest value in a list of tex Calaw Excel Worksheet Functions 8 November 11th 05 10:48 AM


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