Formula to reflect name in header table

snmark

New Member
Joined
May 14, 2007
Messages
25
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
Hi
ive created a very simple table with four names in the top row in seperate columns, B,C,D, and E.. under each name is a golf score, eg: 82,87,79, 92. Column A has the date for each round. I'd like a formula in column F rows extending down to show the name of the winner of each weeks score ie: the lowest score showing the persons name! Who won that weeks game. Thank you.

stephen
 

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).
What if there's a tie?

Also, please update your account details to indicate which version of Excel you are using as it will affect what solutions are available to you.
 
Upvote 0
Hmm, well it should reflect two names in the column right? The two with the lowest score!, hopefully 😀
Thanks Rory
 
Upvote 0
OK, assuming header in row 1:

Excel Formula:
=TEXTJOIN(",",TRUE,IF(B2:E2=MIN(B2:E2),$B$1:$E$1,""))
 
Upvote 0
Just tried it Rory, I had to change the row numbers as the headers were in row 2 , but it works beautifully.
Thank you so much 🙏
Stephen
 
Upvote 0
Just one question Rory, when I dragged down to fill the formula in the rows below, it filled in all four names, is there a way to keep those rows empty till the scores are added?
sorry to be a pain.
stephen
 
Upvote 0
You could use something like:

Excel Formula:
=IF(B3>0,TEXTJOIN(",",TRUE,IF(B3:E3=MIN(B3:E3),$B$2:$E$2,"")),"")

so it will only populate once a number has been entered into column B
 
Upvote 0
Solution
You, Rory, are a star. Thank you so much.
all the best
Stephen
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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