formula involving drop down lists

Rufus 2019

New Member
Joined
Feb 1, 2019
Messages
11
I am going to try and explain this as best I can. Hopefully it will be clear enough for somebody to understand. :)

In cell A1 and A2 I have a list of exercises I choose from that are in a drop down list, lets say Sn and Squat. They are the same exercise but I can choose different exercises in each cell. I cell B1 and B2 is the total number of reps done for that exercise in A1 and A2.
On another sheet in the workbook I want to count the total number of reps for each separate exercise, Sn in cell A2 and Sqt in cell B2. I am trying to come up with a formula to do this. Also there could be a case where both cells contain the same exercise (A1 and A2 =Sn) on the original sheet. Can anyone help me please. Thanks a lot guys.

Rufus
 

Some videos you may like

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.

GraH

Well-known Member
Joined
Mar 22, 2020
Messages
707
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Sounds like a job for sumif() or sumifs(). Something like
Sumifs(rangeSheet1B:B , rangeSheet1A:A, Excercice )
 

Watch MrExcel Video

Forum statistics

Threads
1,128,163
Messages
5,629,060
Members
416,363
Latest member
zaveedd

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