Correction require

aligahk06

Active Member
Joined
Apr 26, 2009
Messages
257
Dear All,

Can i make a condition for range of cells in and function, Correction require in below function
=IF(AND(B6:B525>=15000,B6:B525<=16000),"SERVICING","Change Oil after every 2500KM")

Rgds,
ak
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
It isn't clear what you are trying to achieve. It looks to me like you might need to be calculating for every row individually. So, in row 6, copied down

=IF(AND(B6>=15000,B6<=16000),"SERVICING","Change Oil after every 2500KM")

If that isn't waht you want, you might need to post 5-10 rows of dummy sample data and the expected results and explain what you want in relation to that sample data.
 
Upvote 0
It isn't clear what you are trying to achieve. It looks to me like you might need to be calculating for every row individually. So, in row 6, copied down

=IF(AND(B6>=15000,B6<=16000),"SERVICING","Change Oil after every 2500KM")

If that isn't waht you want, you might need to post 5-10 rows of dummy sample data and the expected results and explain what you want in relation to that sample data.

I have CELL B6:B520 which contains numerical value . if any cell value become >=15000 or <=15500 and again >=20000 or <=20500 then cell H50 gives a alert SERVICING or pop up a MESSAGE FOR SERVICING.
 
Upvote 0
One more condition included.
It isn't clear to me. A cell cannot be between 15000 & and 15500 and also between 20000 and 20500. Could you make up a small set of dummy data, say 8-10 rows and post that together with the expected result(s) and explanation in relation to that data?
 
Upvote 0
Cell Value
B5 :7779
B6 :8642
B7 :9180
B8 :9785
B9 :10470
B10 :11130
.........
..........

In a single any cell ( for ex H52 CELL ) I need a formula that (B5:B400 >=15000 AND B5:B400 <=15500) then display servicing else nothing..
Thanks....
 
Upvote 0
Cell Value
B5 :7779
B6 :8642
B7 :9180
B8 :9785
B9 :10470
B10 :11130
.........
..........

In a single any cell ( for ex H52 CELL ) I need a formula that (B5:B400 >=15000 AND B5:B400 <=15500) then display servicing else nothing..
Thanks....
So, the rows have changed (now starting at 5 & stopping at 400) and the extra condition (between 20000 & 20500) has disappeared & 'Change oil" has disappeared. Bit hard to keep up with the changes. ;)

=IF(COUNTIFS(B5:B400,">=15000",B5:B400,"<=15500"),"SERVICING","")
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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