If Cells Contain (Specific) Text Multiply Corresponding Cells (Excel-Meathead needs help)

Cederstark

New Member
Joined
Feb 25, 2018
Messages
3
(A) Exercise(A) Sets(A) Reps(B) Total(B) Sets(B) Reps
Squat15Squat15
Bench25Bench210
Deadlift35Deadlift315

<tbody>
</tbody>

Hey everyone, I'm using Excel 2016, and I'm trying to have Excel auto-calculate the total number of reps based on the exercise. I've managed auto-calculating the total number of sets using the "SUMIF"-command, however, I'm at a loss when it comes to this portion.

Calculating reps is very straightforward (Sets x Reps = Total Reps).

In it's simplest terms I'm trying to have Excel do the following:
1. Identify the exercise under (A) Exercise.
2. Multiply (A) Sets with (A) Reps.
3. Show the result in (B) Reps, next to the correct exercise.

Hopefully this is legible enough to warrant a response. Thanks to everyone in advance!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Hi,

Here's one way:


Excel 2010
ABCDEF
1(A) Exercise(A) Sets(A) Reps(B) Total(B) Sets(B) Reps
2Squat15Squat15
3Bench25Bench210
4Deadlift35Deadlift315
Sheet1
Cell Formulas
RangeFormula
F2=SUMPRODUCT((A$2:A$4=D2)*(B$2:B$4)*(C$2:C$4))


F2 formula copied down.
 
Upvote 0
On second thought, maybe you meant this:


Excel 2010
ABCDEF
1(A) Exercise(A) Sets(A) Reps(B) Total(B) Sets(B) Reps
2Squat15Squat210
3Bench25Bench315
4Deadlift35Deadlift420
Sheet1
Cell Formulas
RangeFormula
F2=SUMPRODUCT((A$2:A$4=D2)*(E$2:E$4)*(C$2:C$4))
 
Last edited:
Upvote 0
You're welcome, welcome to the forum.
 
Upvote 0

Forum statistics

Threads
1,214,808
Messages
6,121,686
Members
449,048
Latest member
81jamesacct

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