What formula do I use to get a date value from another cell returned?

StacyAnn1974

New Member
Joined
Jun 21, 2023
Messages
3
Office Version
  1. 365
Platform
  1. MacOS
I'm working on a spreadsheet for planning. Across the top row are the dates. The first cell is a drop down calendar and the columns just add +1 to get consecutive dates to 13 weeks.

If I put an x or anything in the rows below, I want it to return the dates of the first row like this 7/01, etc. I'm working Google Sheet and Excel both and haven't figured out the correct formula yet. I'm pretty new to Google Sheets.
 

Attachments

  • calendar.png
    calendar.png
    29 KB · Views: 23

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
@StacyAnn1974 Could you post an example* and upload an image with higher resolution (your's is barely visible).
When referring to cells, please post their absolute "address" like "A1", "Row 1" or "Column A" instead of "in the rows below"

*) Could you please upload two images, one showing your original sheet and another sheet that shows exactly the desired result.
 
Upvote 0
Let me know if that's better. Cell G4 is a dropdown calendar. H4:AF4 is just a +1 formula to get the continuing dates.
Is it possible to type any data like an “x” in cell G6, and have the date populate like 7/1 (not 1 and not 7/1/23)? It may be impossible but I don't have extensive knowledge of the formulas so I wanted to ask. Thanks!
Calendar2.png
Calendar3.png
 

Attachments

  • Calendar Summary.png
    Calendar Summary.png
    105.7 KB · Views: 6
Upvote 0
Thanks for the update.

You need to know two basics:
  1. A cell cannot contain both, an user entered value and a formula
  2. A formula can only change the value of the cell it is in
As far as I know it's impossible to accomplish with pure Excel formulas.
You may need VBA for Excel that changes the cells' value on user interaction, but I'm not sure if your version can handle that.

So would you please tell me what Excel version you want to work with and if VBA is an option.
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,451
Members
449,161
Latest member
NHOJ

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