Function returning value with assigned binary value

tennentslager

New Member
Joined
Oct 5, 2018
Messages
2
I'm looking for a function that would return a value which has a binary characteristic assigned to it. More specifically, a function that would only return the values with 1 assigned to them (i.e. male employees) into the male employee list but disregard any female (i.e. 0) employees

EmployeeMaleMale employees
John1John
Jane0Martin
Martin1Fred
Marta0Jim
Fred1Jack
Francesca0Johnie
Jim1
Jack1
Johnie1
Lara0

<tbody>
</tbody>

thanks a lot in advance!
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Is this what you are trying to do?
Formula in E2 is an array formula that must be entered with CTRL-SHIFT-ENTER. Drag formula down as needed.

If you have Excel ver. 2010 or later you can use the formula in G2 which doesn't require CTRL-SHIFT-ENTER. Copy this formula down as needed.
Excel Workbook
ABCDEFG
1EmployeeMaleMale employees6= # of Males
2John1JohnJohn
3Jane0MartinMartin
4Martin1FredFred
5Marta0JimJim
6Fred1JackJack
7Francesca0JohnieJohnie
8Jim1
9Jack1
10Johnie1
11Lara0
Sheet
 
Upvote 0
You're welcome. Thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,094
Messages
6,123,071
Members
449,092
Latest member
ipruravindra

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