Help W/Small Formula

Evagrius Ponticus

Well-known Member
Joined
May 24, 2007
Messages
1,467
Hi - This formula isn't working for me. If M3 has any of the values in range b3:b22 in another worksheet - then place a one in the cell w/the formula . . .I confirmed with cse . . .thanks for any help . .

=IF(M3=STATS!$B$3:$B$22,1,0)
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
will the word stats! be in M3 ? if so the word need to be like this,

=IF(M3="STATS!"$B$3:$B$22,1,0)

if not sorry.
 
Upvote 0
i beleive you need to do the following:

PHP:
=sum(IF(M3=STATS!$B$3:$B$22,1,0))

confirmed with CSE.
 
Upvote 0
Here's one way:

Code:
=(COUNTIF(STATS!B3:B22,M3) > 0)+0
 
Upvote 0

Forum statistics

Threads
1,214,642
Messages
6,120,698
Members
448,979
Latest member
DET4492

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