Can someone tell me what is wrong with my formula

carrguy01

New Member
Joined
Apr 7, 2011
Messages
42
Here is the formula that i trying to make but i cant figure it out. The cells are ar4 and ar5 these number change when i run my formula. In the formula that i am creating goes in ar6. here is the formula.
=if(ar5<=then,32,40)
the second = is for less then or equal to
 
My analysis correct me if I am wrong:

1. If any value in [AR4] will be less than 32 then automatically [AR6] is equal to 0.
2. If [AR4] is not less than 32 then check if [AR5] is greater than or equal to 40, if so then [AR6] is equal to whatever the value of [AR5].
3. If the value of [AR4] is in between 32 and 40 (from 32 to 39) and the value of [AR5] is less than 40 then [AR6] is equal to [AR4].
4. If the value of [AR4] is greater than 40 and [AR5] is less than 40 then the value of [AR6] is equal to 0.

I hope this what carrguy01 is looking for.

Thanks
 
Upvote 0

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Sorry bebo021999 but your suggestion is a little confusing to me that's why I gave my view.

Thanks
 
Upvote 0
Thnaks Bebo i think your forumula will work!! IF i did not get a circuliar reference warning. Is there a way to by pass this?
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,284
Members
452,902
Latest member
Knuddeluff

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