dynamic scatter with dropdown menu

marc01

New Member
Joined
Sep 17, 2018
Messages
48
Office Version
  1. 2016
Platform
  1. Windows
Hi all,
Wondering someone can help.

I am looking to create a dynamic scatter chart that will change depending on the selection from a dropdown menu.
To give some context, I am looking to report the XY locations of serve ball bounce in a tennis match. The chart have a dropdown menu to allow the user to select "Overall", "1st serve", or "2nd serve" ball locations.

I was thinking that using an if function to return all the values in a column could work (?) but can't seem to figure it out. for example =IF(A1="Overall", return all coordinates from a rawData column, IF(A1 = "1st serve", return all 1st serve coordinates from another rawdata column, otherwise return all 2nd serve coordinates from another rawdata column)

Hope this makes sense. If the above idea isn't possible any other advise would be much appreciated.

Many thanks,

Marc
 

Some videos you may like

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Watch MrExcel Video

Forum statistics

Threads
1,127,217
Messages
5,623,459
Members
415,971
Latest member
Graeme M

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
Top