Please, help me to find right formula

belimbor

New Member
Joined
Jan 22, 2014
Messages
5
FG
60
70
8460
9460
10-40
11-70
12-70
13-70
14-70=IF(ISNA(MATCH($B$1;F6:F13;0));0;1))

<tbody>
</tbody>


Dear forum, I am trying to create formula when in the range F6:F13 there is number that is less than or equal to 0, then formula will get 0, and if there all numbers are above 0, need to get 1. There is 0 in B1. My above mentioned formula can only do this only if in a range is 0. Can someone help me?
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Hi,

=IF(COUNTIF(F6:F14,"<=0"),0,1)

or without an IF


=--(NOT(COUNTIF(F6:F14,"<=0")>0))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,216,763
Messages
6,132,580
Members
449,737
Latest member
naes

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