Formula/function?

number cruncher

New Member
Joined
Aug 23, 2007
Messages
2
I'm sure this is a simple thing but m excel skills are somewhat limited. Hoping someone can help.

I have 2 columns of data in sheet 1 under columns 'a' (titled 'Females') and 'b' (titled 'Male').
I have the same list of data but all in column 'a' of sheet 2 (listed in a different order than sheet 1).
In sheet 2, column b, if I want to insert which column (Males or females in sheet 1) that cell matches then what formula should I be using? NB, the cell value can appear in both columns a & b of sheet 1.

Thanks!!
 

Some videos you may like

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)

Lewiy

Well-known Member
Joined
Jan 5, 2007
Messages
4,284
I have put it all on one sheet for display purposes, but does this help?:
Book4
ABCDEFG
1FemaleMaleNamesColumn
2SarahJohnBillMale
3AnneBillAnneFemale
4SueJoeSueFemale
5JohnMale
6JoeMale
7SarahFemale
8
9
10
11
12
13
14
15
Sheet1
 

number cruncher

New Member
Joined
Aug 23, 2007
Messages
2
Thank you sooooooooooooo much!! - this works like a charm, the only problem is that if the item appears in both columns, it picks up on the first column only. How do I add a "both" result to the formula?
 

Watch MrExcel Video

Forum statistics

Threads
1,123,535
Messages
5,602,217
Members
414,513
Latest member
junbuggle

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
Top