Help. Don't know what formula to use. Can you figure this out?

st600r

New Member
Joined
Sep 18, 2015
Messages
2

<colgroup><col style="mso-width-source:userset;mso-width-alt:7008;width:164pt" width="219"> <col style="width:82pt" span="7" width="109"> </colgroup><tbody>
[TD="class: xl71, width: 219"] 1998 Porsche Boxster
[/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]
[TD="class: xl65, width: 109"] [/TD]

[TD="class: xl67"]Today's Date[/TD]
[TD="class: xl68"]15-Sep-2013[/TD]
[TD="class: xl68"]2-Apr-2015[/TD]
[TD="class: xl68"]9-Jul-2015[/TD]
[TD="class: xl68"]4-Aug-2015[/TD]
[TD="class: xl68"]13-Sep-2015[/TD]
[TD="class: xl68"]16-Sep-2015[/TD]
[TD="class: xl68"][/TD]

[TD="class: xl70"] Mileage [/TD]
[TD="class: xl64"] 78,722 [/TD]
[TD="class: xl64"] 83,419 [/TD]
[TD="class: xl64"] 86,647 [/TD]
[TD="class: xl64"] 87,561 [/TD]
[TD="class: xl64"] 89,022 [/TD]
[TD="class: xl64"] 89,196 [/TD]
[TD="class: xl64"][/TD]

[TD="class: xl70"] Oil Change [/TD]
[TD="class: xl64"] yes [/TD]
[TD="class: xl64"] yes [/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"] yes [/TD]
[TD="class: xl64"][/TD]

[TD="class: xl70"] Oil Level [/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"] full [/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"] full [/TD]
[TD="class: xl64"][/TD]

[TD="class: xl72"]*****************[/TD]
[TD="class: xl73"]78,722 [/TD]
[TD="class: xl73"]83,419 [/TD]
[TD="class: xl73"] [/TD]
[TD="class: xl73"] [/TD]
[TD="class: xl73"] [/TD]
[TD="class: xl73"]89,196 [/TD]
[TD="class: xl73"] [/TD]

[TD="class: xl75"]Driven since last Oil Change[/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]
[TD="class: xl76"] [/TD]

[TD="class: xl70"] Driven since last date [/TD]
[TD="class: xl64"][/TD]
[TD="class: xl64"] 4,697 [/TD]
[TD="class: xl64"] 3,228 [/TD]
[TD="class: xl64"] 914 [/TD]
[TD="class: xl64"] 1,461 [/TD]
[TD="class: xl64"] 174 [/TD]
[TD="class: xl64"] (89,196)[/TD]

</tbody>

I AM TRYING TO FIGURE OUT HOW TO SHOW "Driven since last Oil Change".
C8:Z8 has this formula: =+C3-B3.......this gives me "mileage" driven since last date. I need to figure out what formula to use on row 7 so that I get a cumulative number showing the total mileage driven since the last oil change.
Row 6 has this formula C6:Z6. =+If(C4="yes",C3,"")
Thanks! Steve
 
Something like this??


Excel 2010
ABCDEFGH
11998 Porsche Boxster
2Today's Date15-Sep-1302-Apr-1509-Jul-1504-Aug-1513-Sep-1516-Sep-15
3Mileage78,72283,41986,64787,56189,02289,196
4Oil Changeyesyesyes
5Oil Levelfullfull
6*****************78,72283,41989,196
7Driven since last Oil Change4,6973,2284,1425,6035,777
8Driven since last date4,6973,2289141,461174-89,196
Sheet1
Cell Formulas
RangeFormula
C7{=C3-INDEX($B$3:B3,,MAX(($B$4:B4="yes")*(COLUMN($B$4:B4)-COLUMN($B$4)+1)))}
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0

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