DATE PROBLEM

imported_unknown

Active Member
Joined
Jan 13, 2002
Messages
424
In cell A6 it shows the date like 09/26/02 and in cell A7 09/27/02 and in cell A8 09/28/02 and so on. The last cell is A23. The dates change every time after copying after the period is done. So I would like to let it copy the date from cell A6 and the date from cell A23 to 1 cell and show it the periodlike this in cell B4: 09/26 - 10/15. This cell can't change after that though. I hope someone can help me. 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.

Dave Patton

Well-known Member
Joined
Feb 15, 2002
Messages
5,497
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
On 2002-10-02 16:15, LEKKERDING wrote:
In cell A6 it shows the date like 09/26/02 and in cell A7 09/27/02 and in cell A8 09/28/02 and so on. The last cell is A23. The dates change every time after copying after the period is done. So I would like to let it copy the date from cell A6 and the date from cell A23 to 1 cell and show it the periodlike this in cell B4: 09/26 - 10/15. This cell can't change after that though. I hope someone can help me. Thanks

the formula would be

=TEXT(A6,"mm/dd")& " - "&TEXT(A23,"mm/dd")

(you should check that correct dates are in the respecitive cells)

To prevent the information from changing, Edit Copy and Edit Paste Special as Value.

The formula will be replaced with the Text.

You could use the macros recorder and record the above. Then assign the macro to a button or shortcut key.
This message was edited by dave patton on 2002-10-02 16:56
 

Forum statistics

Threads
1,181,580
Messages
5,930,718
Members
436,757
Latest member
Marijn

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
Top