Referencing cells into one cell

Jedit

New Member
Joined
Feb 8, 2013
Messages
27
I am trying to reference two cells and have both values show up in one cell.

I would like for cell C1 to say 10:54:13 to 10:56:13. I attempted to write =A1 to =A3 inside cell C1 but I always get an error.

What is the macro I need to write in order to make C1 show values of A1 and A3 with the word 'to' in between the two values?

I am trying to determine a range and will be doing this throught my entire workbook.

Thanks for any help you can provide me.

Jedit

See Table below for a visual reference:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]10:54:13[/TD]
[TD].0352[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]10:55:13[/TD]
[TD].0462[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]10:56:13[/TD]
[TD].571[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

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.
You can use the & operator for that

=A1&" to "&A3

Now, if A1 and A3 are true time values, you'll need to include the TEXT function as well.
=TEXT(A1,"hh:mm:ss")&" to "&TEXT(A3,"hh:mm:ss")
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

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