How to select data in a row that is higher/lower using if problem

Ed Harris

New Member
Joined
Dec 9, 2017
Messages
49
Office Version
  1. 2010
Platform
  1. Windows
Hello, I am trying to use "if" and "or" functions to select higher of lower values in a row of 40 cells. I use MAX and MIN and the mean of the row and ABS to get rid of negatives. I would like column AX to show "check" only if there is a qualifying value which is >= 0.009. It works in the AX2 but I cant work out why it is not working in AX3-5. Ideally I would like AX to show the value or the cell number of the high or low peak so that I can find it easily, any ideas?


Cell Formulas
RangeFormula
AS2:AS5AS2=AVERAGE(C2:AP2)
AT2:AT5AT2=MAX(C2:AP2)
AU2:AU5AU2=MIN(C2:AP2)
AV2:AV5AV2=AT2-AS2
AW2:AW5AW2=AU2-AS2
AX2:AX5AX2=IF(OR(AV2 > 0.009,(ABS(AW2))<0.009),"check","")
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Av2 is not greater than 0.009
Aw2 is greater than -0.009
So AV2 is NOT TRUE and so blank
 
Upvote 0
Solution
Thanks, It was because I put ABS on the lesser value.
Beam2 2021.xlsx
AX
2check
3s for 40
Cell Formulas
RangeFormula
AX2AX2=IF(OR(AV2 > 0.009,AW2<-0.009),"check","")

 
Upvote 0
you are welcome
glad its resolved
 
Upvote 0

Forum statistics

Threads
1,214,534
Messages
6,120,084
Members
448,943
Latest member
sharmarick

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