Easy Help

VanCleave8

New Member
Joined
Dec 29, 2016
Messages
14
Hey guys first timer here, as you can tell Ive struggled to insert a picture, Ive been trying for an hour. Hopefully, we can get by with this. So im creating a golf stats sheet to share with buddies. I want to create a Stroke Differential column. Here is what Id like to accomplish...I want my formula in M4. I need it to do this...anytime a name in column E matches I4 "BOGEY" then take the difference from Column D and Column F. So the math would look like 99-84=15....77-65=12...15+12=27 and continue that for the rest of the sheet. Then I need to be able to copy that formula down Column M to each golfer. In the actual sheet there is a blank column in H as D-G and I-M are their own tables. Any help I would greatly appreciate, Ive been screwing around trying to make this work for hours and cant seem to get it to work past the first row. Sorry again about not having a screenshot, hopefully this still works.

JVC


DEFGIJKLM
3MY SCOREOPPONENTOPP. SCORERESULTOPPONENTWONLOSSSTREAKSTROKE DIFF
499BOGEY84LBOGEY
574JMACK88WJMACK
677BOGEY65LBG
778CAPTAIN78TCAPTAIN

<tbody>
</tbody>

DISREGARD EVERYTHING BELOW THIS


STROKE DIFF
4 99BOGEY84LBOGEY
WJMACK
65LBG
7 7878TCAPTAIN

<tbody>
</tbody>



<tbody>
</tbody>
 
Here you go Jake...

Code:
=IF((J4+K4)>0,IF(MAX(($E$4:$E$100=I4)*($G$4:$G$100="L")*1/ROW($G$4:$G$100))>MAX(($E$4:$E$100=I4)*($G$4:$G$100="W")*(1/ROW($G$4:$G$100))),"L","W")&MAX(SUMPRODUCT(($E$4:$E$100=I4)*($G$4:$G$100="L")*(1/ROW($G$4:$G$100)>MAX(($E$4:$E$100=I4)*($G$4:$G$100="W")*(1/ROW($G$4:$G$100))))),SUMPRODUCT(($E$4:$E$100=I4)*($G$4:$G$100="W")*(1/ROW($G$4:$G$100)>MAX(($E$4:$E$100=I4)*($G$4:$G$100="L")*1/ROW($G$4:$G$100))))),"")
 
Upvote 0

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.

Forum statistics

Threads
1,214,590
Messages
6,120,423
Members
448,961
Latest member
nzskater

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