Hello
is it possible have one alert or .. if and when show up mor than 2 consecutives values graeter than 6 ?
6.584
5.994
5.781
5.829
5.901
5.970
6.313
6.328
6.302
Hello
is it possible have one alert or .. if and when show up mor than 2 consecutives values graeter than 6 ?
6.584
5.994
5.781
5.829
5.901
5.970
6.313
6.328
6.302
So in your example(Assuming that you start in A1), ALL your consecutives values are greater than 6?
Regards
Fotis.
-This is my Greek whisper to Europe.
--Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.
Advanced Excel Techniques: http://excelxor.com/
--KISS(Keep it simple Stupid)
--Bring them back.
---See about Acropolis of Athens.
--Visit Greece.
hi ccruz. do you need that alert to stop user from keying the 3rd consecutive value or simply state there's such instance? for the former, consider Data Validation if you can fix a range.
select the cells you want the dropdown applied to (say F1:F10). go to Data -> Data Validation -> Allow: Custom -> Formula:
=SUMPRODUCT((A1:A10>6)*(A2:A11>6))+1>=3
play around with the Error tab to show the error message
for the latter, you can use this formula:
=IF(SUMPRODUCT((A1:A10>6)*(A2:A11>6))+1>=3,"There are 3 or more consecutive values greater than 6","")
attaching an eg for you. D1 will show that message only when there are 3 or more consecutive values greater than 6. in F1:F10, you cannot key consecutive values greater than 6
Thanks, if you have clicked on the * and added our rep.
If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".
"Contentment is not the fulfillment of what you want, but the realization of what you already have."
Tips & Tutorials I Compiled | How to Get Quick & Good Answers
doesn't work
Why? .................
you could use conditional formatting
=COUNTIF(OFFSET(A1,-2,,3),">6")>2
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks