# Help if()

#### fayez_MrExcel

##### Active Member
Please translate to proper formula:

If a1 = b2:b10 a1 = "True" if not "False"

Thanks

### Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.

#### Norie

##### Well-known Member
Please explain the logic/criteria.

#### Scott Huish

##### MrExcel MVP
=COUNTIF(\$B\$2:\$B\$10,A1)>0

#### Scott Huish

##### MrExcel MVP
Based on your other post. Is this what you mean?

=SUMIF(\$B\$2;\$B\$10,A1,\$F\$2:\$F\$10)

Replies
3
Views
543
Replies
1
Views
99
Replies
8
Views
120
Replies
5
Views
182
Replies
7
Views
238

1,191,691
Messages
5,988,110
Members
440,126
Latest member
duque00

### 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?

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