I need a formula please.

john_cloudstrong

New Member
Joined
Feb 13, 2013
Messages
8
Hi

I havnt used excel in a while i was doing formula in college but that was three years ago so i forget how to do it.

I am using excel 2007 . I need to get from an excel sheet from position ( IT Manager or Head of IT) which falls under T . Then (Head of IT ) which falls under the letter W on the top of the column.

Then I also need every one that works in these companies which are outside of IT as well. So the name of the companies falls under the letter B.


I thank you very much in advance for any help.

If t(IT manager, Head of IT )and w(Head of IT)
get B ???? Thats a really crap guess :)

How do i go about putting this into excel for it to be answered as well.
If i havn't worded this correctly then please let me know

Thanks again. :)
 
HI Akashwani

I have managed to narrow it down a bit. So here is example one. So if position is Either IT Manageror Head of IT. Then they fit the first criteria.

So if they fit that then in blue the second criteria we need everyone from the company that matches the first criteria i hope this makes it clearer.

Sheet1

*ABC
TITLEPOSITIONPOSGROUP
Head of IT
Managing DirectorCEO/Managing Director
Head of IT
Hertz Rent a CarHead of PersonnelHead of IT
Hogan Motors LimitedDealer PrincipalCEO/Managing Director
Head of IT
Financial ControllerHead of Finance
Munster Group Insurance (PayLess Direct)Managing DirectorCEO/Managing Director
DirectorCEO/Managing Director
General ManagerHead of Finance
Head of IT
DirectorCEO/Managing Director
Head of IT
T Shiels & Company LimitedManaging DirectorCEO/Managing Director
A R Brownlow LimitedManaging DirectorHead of Finance

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:363px;"><col style="width:147px;"><col style="width:225px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #0066cc"]FAS Shannon Training Centre & Employment Services[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]

[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]

[TD="bgcolor: #cacaca, align: center"]9[/TD]

[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]

[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

[TD="bgcolor: #cacaca, align: center"]15[/TD]

[TD="bgcolor: #cacaca, align: center"]16[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4

So here is the end result. That should make the formula smaller and easier :)

Sheet1

*ABC
TITLEPOSITIONPOSGROUP
Head of IT
Managing DirectorCEO/Managing Director
Head of IT
Head of IT
Financial ControllerHead of Finance
DirectorCEO/Managing Director
General ManagerHead of Finance
Head of IT
DirectorCEO/Managing Director
Head of IT

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:363px;"><col style="width:147px;"><col style="width:225px;"></colgroup><tbody>
[TD="bgcolor: #cacaca, align: center"]1[/TD]

[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #0066cc"]FAS Shannon Training Centre & Employment Services[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]

[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]

[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]

[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]

[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]

[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]

</tbody>


Excel tables to the web >> Excel Jeanie HTML 4
 
Upvote 0

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Hi John,

To be honest with you, I have no idea how to solve this, sorry.
I am unable to spend the time on this problem at the moment, but I will have a look at it later.
In the mean time, seeing as you can now post sample data and results, I would suggest you start a new post, as you may get the answer quicker than I can supply one.
Make sure that you refer to this post in your new one, otherwise it may get "locked" for being a duplicate post!

Good luck.

Ak
 
Upvote 0
Hi John.

If you can add a "Helper" column to your first sheet, then try this.....

Excel Workbook
ABCDE
1TITLEPOSITIONPOSGROUPHelper
2A R Brownlow LimitedManaging DirectorHead of Finance0
3FAS Shannon Training Centre & Employment ServicesIT ManagerHead of IT1
4Finsa Forest Products LimitedManaging DirectorCEO/Managing Director1
5Finsa Forest Products LimitedIT ManagerHead of IT1
6Hertz Rent a CarHead of PersonnelHead of IT0
7Hogan Motors LimitedDealer PrincipalCEO/Managing Director0
8Michael Houlihan & PartnersHead of ITHead of IT1
9Michael Houlihan & PartnersFinancial ControllerHead of Finance1
10Munster Group Insurance (PayLess Direct)Managing DirectorCEO/Managing Director0
11O'Sullivan & Hansbury Motors LimitedDirectorCEO/Managing Director1
12O'Sullivan & Hansbury Motors LimitedGeneral ManagerHead of Finance1
13O'Sullivan & Hansbury Motors LimitedHead of ITHead of IT1
14Shannon College of Hotel ManagementDirectorCEO/Managing Director1
15Shannon College of Hotel ManagementHead of ITHead of IT1
16T Shiels & Company LimitedManaging DirectorCEO/Managing Director0
17
John Data


The formula in D2 needs to be copied down.

Result that you require.....

Excel Workbook
ABCDEFG
1TITLEPOSITIONPOSGROUP110
2FAS Shannon Training Centre & Employment ServicesIT ManagerHead of IT
3Finsa Forest Products LimitedManaging DirectorCEO/Managing Director
4Finsa Forest Products LimitedIT ManagerHead of IT
5Michael Houlihan & PartnersHead of ITHead of IT
6Michael Houlihan & PartnersFinancial ControllerHead of Finance
7O'Sullivan & Hansbury Motors LimitedDirectorCEO/Managing Director
8O'Sullivan & Hansbury Motors LimitedGeneral ManagerHead of Finance
9O'Sullivan & Hansbury Motors LimitedHead of ITHead of IT
10Shannon College of Hotel ManagementDirectorCEO/Managing Director
11Shannon College of Hotel ManagementHead of ITHead of IT
12
John Result


The formula in A2 needs entering with ctrl shift enter NOT just enter, it can then be copied across and down.

I hope that works for you John, if it does, please comment on your other post that the problem has been resolved.

Good luck.

Ak
 
Upvote 0

Forum statistics

Threads
1,223,275
Messages
6,171,126
Members
452,381
Latest member
Nova88

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