difficult formula

djtrv

New Member
Joined
Oct 9, 2011
Messages
2
I have a hard formula that i want to construct in excel and i need help...

I have made up an equation in one cell (A1) that is the average of 4 other cells. What I need, is this answer (A1) to then equal a "Pass" in another cell dependng on the if the answer in A1 is between values x (cell B1) and y (cell B2); B1(x) < A1 > B2(y).

Also if A1 is not between these values (x and y) i need it to say "Fail".

Please help!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
I have a hard formula that i want to construct in excel and i need help...

I have made up an equation in one cell (A1) that is the average of 4 other cells. What I need, is this answer (A1) to then equal a "Pass" in another cell dependng on the if the answer in A1 is between values x (cell B1) and y (cell B2); B1(x) < A1 > B2(y).

Also if A1 is not between these values (x and y) i need it to say "Fail".

Please help!

Try...

=IF(AND(A1>=B1,A1<=B2),"Pass","Fail")

This is an all inclusive test. Otherwise, remove the = sign(s) where appropriate.
 
Upvote 0
Thanks heaps! your formula works fantastic and with it will save me hours of using a normal calculator

Cheers
 
Upvote 0

Forum statistics

Threads
1,215,430
Messages
6,124,849
Members
449,194
Latest member
HellScout

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