# Thread: Displaying two values and making a time calculation in one cell

1. ## Displaying two values and making a time calculation in one cell

Hi all,

I am converting an agenda in Word to an Excel 2010 document and I am having a problem with the information required in one column. I would like to request a numerical value in minutes which is then added to a time value taken from a previous cell, then have the inputted value and the new time be displayed in one cell, preferably one above the other. I have no idea if this is even possible, but I am trying to avoid using two columns because the agenda needs to be in a standard format.

For example, the meeting starts at 10:00 so we enter that time in C3. The first agenda item requires 15 mins, so the person creating the agenda enters 15 into C4 and the result is displayed in one cell as 15 on top of 10:15. This formula copies down the column keeping the minutes over time format.

If this is possible and if you can help, I will be very grateful. Other solutions would be helpful as well.

Thank you,
Gary.

2. If I understand, C3 has the start time, C4, c5, c6, etc will have the minutes for that item.

In (eg) D3, you can use:
=C3

Then in D4 you can enter a formula like:
=TEXT(C4,"0")&CHAR(10)&TEXT(\$C\$3+SUM(C\$4:C4)/60/24,"hh:mm")

or even:
=TEXT(C4,"0")&" min"&CHAR(10)&TEXT(\$C\$3+SUM(C\$4:C4)/60/24,"hh:mm")

this can be copied down to display the minutes of the session and the calculated ending time.

Steve

3. Thank you Steve, I will try that later and let you know how it goes.

4. Oh, I forgot to mention, you need to "wrap text" in the cells with the formulas, to display the mins on top and the endtime at the bottom...

Steve

5. Originally Posted by sdckapr
Oh, I forgot to mention, you need to "wrap text" in the cells with the formulas, to display the mins on top and the endtime at the bottom...

Steve
Cool, thanks. I am away from the PC with the spreadsheet for a while, but will give it a go later.

6. Thanks Steve, I am up and running!

7. You are welcome.

Steve