Foruma to calc full and half

Erkjerk

New Member
Joined
Sep 24, 2017
Messages
36
Hi,

Row A has 1-16. Row B1 is labeled Full/Half. Row C1 is labeled Done. Row D1 is labeled total.

If in cell row b2 is typed full, it calculates 1 in total. If half is typed, it would calculate .5 to the total. If it could also only calculate if you type yes in cell c2-c16.

Hope this makes sense. Having real problems figuring it out. Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Copy D2 down to row 16.
Excel Workbook
ABCD
11Full/HalfDoneTotal
22halfyes0.5
33fullyes1
44
55
66
77
88
99
1010
1111
1212
1313
1414
1515
1616
Sheet11
 
Upvote 0
Hi,

Possibly you mean this?

But don't know if you're looking for a "Running" Total?


Book1
ABCD
1Full/HalfDoneTotal
21FullYes1
32Full
43HalfYes1.5
54Half
65HalfYes2.5
76FullYes6
87Full
98FullYes8
109HalfYes4.5
1110HalfYes5
1211Half
1312Full
1413FullYes13
1514Half
1615FullYes15
1716FullYes16
Sheet56
Cell Formulas
RangeFormula
D2=IF(C2="Yes",A2*IF(B2="Full",1,0.5),"")


Formula copied down.
 
Upvote 0
Anyway for the total to add up in d2 rather then a running total? No biggy if it can't just curious. Thanks again.
 
Last edited:
Upvote 0
Here's Cumulative and Running Totals, and Single cell Total:


Book1
ABCDEFG
1Full/HalfDoneTotalCumulative TotalRunning TotalSingle Result
21FullYes11172.5
32Full   
43HalfYes1.52.52.5
54Half
65HalfYes2.565
76FullYes615.511
87Full
98FullYes83319
109HalfYes4.562.523.5
1110HalfYes5125.528.5
1211Half
1312Full
1413FullYes1325941.5
1514Half
1615FullYes1552056.5
1716FullYes16104172.5
Sheet56
Cell Formulas
RangeFormula
D2=IF(C2="Yes",A2*IF(B2="Full",1,0.5),"")
D3=IF(C3="Yes",A3*IF(B3="Full",1,0.5),"")
E2=IF(C2="Yes",SUM(E$1:E1,A2*IF(B2="Full",1,0.5)),"")
E3=IF(C3="Yes",SUM(E$1:E2,A3*IF(B3="Full",1,0.5)),"")
F2=IF(C2="Yes",SUM(IFERROR(LOOKUP(9.99999999999999E+307,F$1:F1),0),A2*IF(B2="Full",1,0.5)),"")
F3=IF(C3="Yes",SUM(IFERROR(LOOKUP(9.99999999999999E+307,F$1:F2),0),A3*IF(B3="Full",1,0.5)),"")
G2=SUM(SUMIFS(A2:A17,B2:B17,"Half",C2:C17,"Yes")*0.5,SUMIFS(A2:A17,B2:B17,"Full",C2:C17,"Yes"))


Formulas copied down.

EDIT: added single cell result in Column G
 
Last edited:
Upvote 0
Ignore D3, E3, F3 formula above.

Just choose D2, E2, or F2 formula and copy down, Or use Single cell formula in G2.
 
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,250
Members
452,623
Latest member
Techenthusiast

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