Multiplication, Addition Formula.

Rye

New Member
Joined
Apr 24, 2023
Messages
36
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Please let me thank you all for your effort in solving some formulas recently. Appreciate it much.

I just have the last formula to ask to complete my table, but if it's not gonna work in this case, it will be totally fine. Please see the situation below.

MetersContinuityScore
02
3S15
7S26
91
103
25F15
40F26
Total Score6+110+198=314
This will be my last missing formula to complete my table. But if we don’t have possible solution, it's fine.
Is there any way to get the sum of Column C? But the situation is the value of S1 will be multiply by Meters where F1 is located.
Ex. Continuity S1(5) * 22 (Meters (3-25)) =110
5*22=110
Continuity S2(6) * 33 (Meters (40-7))=198
6*33=198
S1 means Start, and F1 means finish. S1 always ends in F1, same as S2 always ends in F2.
Please note as well that S1, S2 and F1, F2 are always changing cell position in Column C (Score)
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
this solution with a helper column

Book1
ABCD
1MetersContinuityScoreHelper
2022
33S15110
47S26198
5911
61033
725F15 
840F26 
9
10Total Score6+110+198=314314
Sheet1
Cell Formulas
RangeFormula
D2:D8D2=IF(ISBLANK(B2),C2,IF(LEFT(B2,1)="S",C2*(INDEX($A$1:$A$8,MATCH("F"&RIGHT(B2,1),$B$1:$B$8,0))-A2),""))
D10D10=SUM(D2:D8)
 
  • Like
Reactions: Rye
Upvote 1
Solution
Thank you @AlanY, it works pretty well. I appreciate your quick response.. Cheers
 
Upvote 0

Forum statistics

Threads
1,215,276
Messages
6,124,006
Members
449,137
Latest member
abdahsankhan

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