Hi i need a formula please

john_cloudstrong

New Member
Joined
Feb 13, 2013
Messages
8
Hi all,

I need a formula for this please it took a while to narrow it down to this version i don't think i can word it any better. I have had Akashwani help me in this post but he is busy now so he said to re post it.http://www.mrexcel.com/forum/excel-questions/685321-i-need-formula-please-2.html#post3392878


So here is example one. So if POSITION is Either IT Manager or Head of IT (marked in green). Then they fit the first criteria.

So if they fit the first criteria then in BLUE the second criteria we need is everyone else who works under that company name (TITLE) that matches the first criteria i hope this makes it clear.

Sheet1

[TABLE="class: cms_table"]
<tbody>[TR="bgcolor: #cacaca"]
[TD]*[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD]TITLE[/TD]
[TD]POSITION[/TD]
[TD]POSGROUP[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #0066cc"]FAS Shannon Training Centre & Employment Services[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD]Managing Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD]Hertz Rent a Car[/TD]
[TD]Head of Personnel[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD]Hogan Motors Limited[/TD]
[TD]Dealer Principal[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD]Financial Controller[/TD]
[TD]Head of Finance[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD]Munster Group Insurance (PayLess Direct)[/TD]
[TD]Managing Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD]Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD]General Manager[/TD]
[TD]Head of Finance[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]12[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]13[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD]Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]14[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]15[/TD]
[TD]T Shiels & Company Limited[/TD]
[TD]Managing Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]16[/TD]
[TD]A R Brownlow Limited[/TD]
[TD]Managing Director[/TD]
[TD]Head of Finance[/TD]
[/TR]
</tbody>[/TABLE]



Excel tables to the web >> Excel Jeanie HTML 4

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

Sheet1

[TABLE="class: cms_table"]
<tbody>[TR="bgcolor: #cacaca"]
[TD]*[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]1[/TD]
[TD]TITLE[/TD]
[TD]POSITION[/TD]
[TD]POSGROUP[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]2[/TD]
[TD="bgcolor: #0066cc"]FAS Shannon Training Centre & Employment Services[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]3[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD]Managing Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]4[/TD]
[TD="bgcolor: #0066cc"]Finsa Forest Products Limited[/TD]
[TD="bgcolor: #99cc00"]IT Manager[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]5[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]6[/TD]
[TD="bgcolor: #0066cc"]Michael Houlihan & Partners[/TD]
[TD]Financial Controller[/TD]
[TD]Head of Finance[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]7[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD]Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]8[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD]General Manager[/TD]
[TD]Head of Finance[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]9[/TD]
[TD="bgcolor: #0066cc"]O'Sullivan & Hansbury Motors Limited[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]10[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD]Director[/TD]
[TD]CEO/Managing Director[/TD]
[/TR]
[TR]
[TD="bgcolor: #cacaca, align: center"]11[/TD]
[TD="bgcolor: #0066cc"]Shannon College of Hotel Management[/TD]
[TD="bgcolor: #99cc00"]Head of IT[/TD]
[TD]Head of IT[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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