It would be much simpler if you just used a date instead of text, (you could format the date as "ddd" without the quotations and it will show as "Wed")
However, if you insist on using text then:
=INDEX({"Mon","Tue","Wed","Thu","Fri","Sat","Sun"},IF(MOD(MATCH(B1,{"Mon","Tue","Wed","Thu","Fri","Sat","Sun"},0)+INT(E1),7)=0,7,MOD(MATCH(B1,{"Mon","Tue","Wed","Thu","Fri","Sat","Sun"},0)+INT(E1),7)))
seems to work for me.
--
HTH
Sandy
In Perth, the ancient capital of Scotland
(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
thanks for the speedy response but I don't think I explained what I want very well.
I am not interested in the start date only the day of the week and the time. Similarly I only require the finish day and time example
A1 B1 C1 D1 E1
Duration Start Finish
16 Tues 21:00 Wed 13:00
hope this is a little clearer
Martin
I am trying to develop a spreadsheet to plan production batches and I require is a formula which takes a start time, adds a number of hours and displays the projected finish time. Foe example if a job is started at 21:00 on tuesday and takes 16 hours I need the sheet to display Wednesday 13:00.
Thanks for any assistance you are able to offer
Martin B