How do I write an IF(AND formula where if B1 is between 0.5 and -2.4, and D1 is between -0.7 and -4.5, then "1", "")
I know its a simple formula but every time I try it, i keep missing something. Thanks.
How do I write an IF(AND formula where if B1 is between 0.5 and -2.4, and D1 is between -0.7 and -4.5, then "1", "")
I know its a simple formula but every time I try it, i keep missing something. Thanks.
Try like this
RegardsPlease Login or Register to view this content.
Mark the thread as solved if you are satisfied with the answer.
In your first post under the thread tools.
Mahju
=if(and(b1>=-2.4,b1<=0.5,d1>=-4.5,d1<=-0.7),"1", "")
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
yaa you r right "Tony Valko, usually I don't do it, here I copied from the OPs post and edited
Got it. Thanks everybody!
Hi All,
Here is a different approach!
=AND(B1=MEDIAN(B1,0.5,-2.4),D1=MEDIAN(D1,-0.7,-4.5))*1
I picked this up on Chandoo website a few years ago and thought it quite clever.
I hope this helps, please let me know!
Regards,
David
Please remember, your request is clearer if you attach a sample workbook.
- Click on Go Advanced and click on the Paper Clip.
If this has been of assistance, please advise. A little thanks goes a long way.
- Please click on the *Add Reputation button at the bottom of helpful responses.
Please mark your thread as SOLVED:
- Click Thread Tools above your first post, select "Mark your thread as Solved".
If several people have responded, when you reply please make it clear WHO you are responding
to by mentioning their name.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks