Combining two formulas using concatenate

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Here is the formula I've tried that isn't working:

­=concatenate(text(=$c$17-time(1,45,0),"hh:mm"),"­",text(=$c$17-time(1,15,0),"hh:mm"))

Is it possible to put these two formulas together? Basically, I need the
time to look like 07:15-07:45. These times pull off of cell C17. If C17 is
changed this range of time needs to change. How do I program excel to do
this?
 
How about this:

=TEXT($C$17-TIME(1,45,0),"hh:mm")&" - "&TEXT($C$17-TIME(1,15,0),"hh:mm")

Biff
 
You're getting close. You don't use equal signs in functions (only at the start
of a formula). And you need a dash inside the quotes of the second parameter.
Try:

=concatenate(text($c$17-time(1,45,0),"hh:mm"),"-­",text($c$17-time(1,15,0),"hh:mm"))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top