stumped by my boss...

robd11

New Member
Joined
Mar 13, 2019
Messages
3
Ive been lurking on these boards since I started working and a former boss of mine steered me to the site. you don't know it but many of you have been incredibly helpful over the last 6+ years, so thank you.

boss of mine decided to start a new monthly excel challenge and while I have one way of solving the problem, it is not the more "elegant, simplified" way he does it. it's absolutely killing me and he won't share until someone figures it out...problem is, google and this site are generally how I solve these problems and I can't find exactly what Im looking for...so here I am

its a simple data set (table below showing small example), and the idea is to write a formula in column j that will identify the 4 digit project numbers (B1-G1) that each employee spent >= 50% of their time on. Column I has the answers. Before anyone suggests it, I've already determined that I can CONCATENATE multiple IF statements, but he insists there is an easier way.

let er rip

[TABLE="width: 500"]
<tbody>[TR]
[TD]employee
[/TD]
[TD]1234
[/TD]
[TD]1235
[/TD]
[TD]1288
[/TD]
[TD]1646
[/TD]
[TD]1586
[/TD]
[TD]1975
[/TD]
[TD][/TD]
[TD]answers
[/TD]
[TD]formula
[/TD]
[/TR]
[TR]
[TD]a
[/TD]
[TD][/TD]
[TD]50%
[/TD]
[TD]50%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1235,1288
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]b
[/TD]
[TD][/TD]
[TD]100%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1235
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]c
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]100%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1646
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]d
[/TD]
[TD][/TD]
[TD]70%
[/TD]
[TD][/TD]
[TD][/TD]
[TD]30%
[/TD]
[TD][/TD]
[TD][/TD]
[TD]1235
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]e
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]100%
[/TD]
[TD][/TD]
[TD]1975
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]f
[/TD]
[TD]40%
[/TD]
[TD][/TD]
[TD]60%
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]1288
[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]g
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]50%
[/TD]
[TD]50%
[/TD]
[TD][/TD]
[TD][/TD]
[TD]1646,1586
[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

forgive me for not attaching the file, work computer restrictions...
 
You were looking for a formula solution, correct? Here is an array-entered** formula that appears to work (assumes Employee names are located in Column A and that no code in Row 1 starts with 0)...

=SUBSTITUTE(MAX(B$1:G$1*(B2:G2>=0.5))&", "&LARGE(B$1:G$1*(B2:G2>=0.5),2),", 0","")

**Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself
This might be a better way to write the above formula...

=MAX(B$1:G$1*(B2:G2>=0.5))&IF(COUNTIF(B2:G2,0.5)>1,", "&LARGE(B$1:G$1*(B2:G2>=0.5),2),"")
 
Upvote 0

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,021
Latest member
Justyna P

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