Need to find and highlight values from high column which are greater than 10 times low value but on same expiry date,same strike price,same option typ

foreveras

New Member
Joined
Oct 23, 2023
Messages
12
Office Version
  1. 2021
MARKET DATA.xlsx
ABCDEF
1EXPIRY_DateSTRIKE_PRICEOPTION_TYPEHIGHLOWDATE
229-Dec-222150CE250001-12-2022
330-Dec-222200PE218.20.701-12-2022
431-Dec-223200PE190.7001-12-2022
501-Jan-231200CE164.81.402-12-2022
629-Dec-222150PE141002-12-2022
730-Dec-222200PE119.3002-12-2022
830-Dec-223200CE100.5002-12-2022
931-Dec-221200CE84.51.502-12-2022
1001-Jan-233200CE70.85003-12-2022
1129-Dec-221200PE63.75203-12-2022
1230-Dec-222150PE48.7003-12-2022
1331-Dec-222200CE40.20.9503-12-2022
1401-Jan-232150PE33.35003-12-2022
1529-Dec-222200CE27.73.803-12-2022
1601-Jan-233200PE234.9503-12-2022
1729-Dec-221200PE19.14.703-12-2022
1830-Dec-223200CE15.857.2504-12-2022
1930-Dec-223200CE136.2504-12-2022
2031-Dec-221200PE2.857.4504-12-2022
2129-Dec-222150PE0904-12-2022
2230-Dec-222200CE1.910.9504-12-2022
2331-Dec-222150PE013.404-12-2022
2401-Jan-232200CE016.7504-12-2022
2529-Dec-222200PE020.704-12-2022
2630-Dec-223200CE1.52605-12-2022
2701-Jan-231200CE032.505-12-2022
2829-Dec-223200PE2.72.9505-12-2022
2930-Dec-223200PE0005-12-2022
3030-Dec-221200PE3.151.3505-12-2022
3131-Dec-223200CE0005-12-2022
3201-Jan-231200PE5.1006-12-2022
3329-Dec-222150CE4.95006-12-2022
3430-Dec-222200PE6.351.5506-12-2022
3531-Dec-222150PE7.25006-12-2022
Sheet2
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

but on same expiry date,same strike price,same option typ​

I was just about to answer the other thread and ask some clarifying questions

can you just outline the criteria for a match please

MAXIFS()

opps pc stuck
 
Upvote 0
In the below image red marked values in HIGH column needed to get highlighted...as its fullfilling the criteria of its 10 times greater than black marked low value..also black marked values expiry date-30 dec 22 ,strike price-3200 and option type - CE all are same to Red marked values and Red marked High values Date also needed to be greater than black marked values date..so same like this criteria need to highlight...I just want to hightlight and find similar to that Red marked values
 

Attachments

  • refence 1.png
    refence 1.png
    47.4 KB · Views: 9
Upvote 0
not sur ei fully understand
However, i have added the MAX value based on criteria for that row
see columns G
and the MIN value for the ROW
see columns H

now I have added an IF to compare the ROW to those values

see where i have highlighted
is that the expected result ???

if the value is zero 0 , then 10times is still 0
but i have used if value is 10 or greater

Book5
ABCDEFGHI
1EXPIRY_DateSTRIKE_PRICEOPTION_TYPEHIGHLOWDATEMINMAXpossible formula
2449242150CE25004489604.95FALSE
3449252200PE218.20.74489606.35FALSE
4449263200PE190.70448960190.7TRUE
5449271200CE164.81.4448971.40TRUE
6449242150PE14104489700FALSE
7449252200PE119.304489706.35FALSE
8449253200CE100.504489701.5FALSE
9449261200CE84.51.5448971.584.5FALSE
10449273200CE70.85044898070.85TRUE
11449241200PE63.75244898219.1TRUE
12449252150PE48.7044898048.7TRUE
13449262200CE40.20.95448980.9540.2FALSE
14449272150PE33.35044898033.35TRUE
15449242200CE27.73.8448983.827.7TRUE
16449273200PE234.95448984.9523TRUE
17449241200PE19.14.744898219.1TRUE
18449253200CE15.857.254489901.5FALSE
19449253200CE136.254489901.5FALSE
20449261200PE2.857.45448997.452.85TRUE
21449242150PE094489900FALSE
22449252200CE1.910.954489910.951.9TRUE
23449262150PE013.44489900FALSE
24449272200CE016.754489916.750TRUE
25449242200PE020.74489920.70TRUE
26449253200CE1.5264490001.5FALSE
27449271200CE032.5449001.40TRUE
28449243200PE2.72.95449002.952.7TRUE
29449253200PE004490000FALSE
30449251200PE3.151.35449001.353.15TRUE
31449263200CE004490000FALSE
32449271200PE5.104490105.1FALSE
33449242150CE4.9504490104.95FALSE
34449252200PE6.351.554490106.35FALSE
35449262150PE7.2504490100FALSE
Sheet1
Cell Formulas
RangeFormula
G2:G35G2=MINIFS($E$2:$E$35,$A$2:$A$35,A2,$C$2:$C$35,C2,$B$2:$B$35,B2)
H2:H35H2=MINIFS($D$2:$D$35,$A$2:$A$35,A2,$C$2:$C$35,C2,$B$2:$B$35,B2)
I2:I35I2=IF(G2=0,H2>=10,H2/10<=G2)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:I35Expression=$I1=TRUEtextYES
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top