Formula to add days in school terms.

rehabguru

New Member
Joined
Sep 8, 2014
Messages
10
Office Version
  1. 365
Platform
  1. Windows
Dear Excel Gurus

I would be grateful for your collective thoughts on how to add days in school terms. I am sure it will be an IF(AND) scenario but can't seem to figure it out.

We have 3 terms at school, each 8 weeks long, therefore 56 days. Students achieve various goals within each of these terms and I would like a formula to add up the total number of days to reach that particular goal.

If a student achieved the grade in week one, day four, the days taken would be 4, if they achieved the score in week 2, day four, the days taken would be 7+4=11. However, in term 2, week one, day four the days taken would be (56) +4

How would I express that in a formula please, that could account for 3 terms? A student might reach the goal on Term3, Wk 7 day 5 which, by my reckoning would be (56+56) + (6*7) + 5. Two terms of 56 days plus 6 weeks and the 5 day of week 7?

I hope that makes sense and I wold greatly appreciate your insight.

My rudimentary part of term spreadsheet looks like this:

[TABLE="class: grid, width: 4, align: center"]
<tbody>[TR]
[TD]T[/TD]
[TD]W[/TD]
[TD]D[/TD]
[TD]Days[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]1[/TD]
[TD]4[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2[/TD]
[TD]4[/TD]
[TD]56+7+4[/TD]
[/TR]
</tbody>[/TABLE]


Many thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Hi,

You can do this:


Book1
ABCD
1TWDDays
21144
322467
412411
521460
6375159
Sheet527
Cell Formulas
RangeFormula
D2=(A2-1)*56+(B2-1)*7+C2


Formula copied down.

Edit: by the time I typed all that up, Eric beat me to it.
 
Last edited:
Upvote 0
Guys

Awesome - thank you so much - and so quickly too! Greatly appreciated, cheers!! :biggrin:
 
Upvote 0
Glad we could help! :grin:

(jtakw: I might have been first, but yours was definitely prettier! :laugh: )
 
Upvote 0
You're welcome OP.

Thanks Eric, :beerchug:
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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