Reset drop down using data validation

marc01

Board Regular
Joined
Sep 17, 2018
Messages
50
Office Version
  1. 2016
Platform
  1. Windows
Hi there,

Hoping someone can help, wondering if this is possible without the use if VBA/macros....

To set the scene I am looking at a tennis match, and counting where a player hits a return dependent on where the serve lands. I have a drop down menu already that allows the user to select the player returning. All is working well with the following formula:

=SUM(COUNTIFS(RawDataTable[Side],"Deuce",RawDataTable[Serve placement],"Body",RawDataTable[Returner],'Report - return data'!$C$45,RawDataTable[Return direction],"Middle"))

However, I was looking to add in another drop down menu that allows the user to select the 'Set score'. I used data validation again to create a drop down menu of "Set 1", Set 2", Set 3", etc. The following formula works great:

=SUM(COUNTIFS(RawDataTable[Side],"Deuce",RawDataTable[Serve placement],"Body",RawDataTable[Returner],'Report - return data'!$C$45,RawDataTable[Return direction],"Middle",RawDataTable[Set score],'Return patterns'!$B$3))

However, I would ideally like the user to be able to clear the Set score or select "All" set scores to show all data irrespective of the set score.....problem is the raw data column I have for Set Score doesn't have "All" so when this is included in the data validation range and then selected from the set score drop down menu it returns 0.

Hope this makes sense. Does anyone know away to work around this?

Best,

Marc
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Or is there any way to create a slicer (Set Score) for the RawDataTable, and then embed this within the countifs formula?
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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