Go to entered date in Excel for Mac 2016

renpilot

New Member
Joined
Dec 4, 2023
Messages
28
Office Version
  1. 2016
Platform
  1. MacOS
Hello all experts,

I have tried some VBA solutions I found but they don't work (or maybe I am doing something wrong). I read that Excel for Mac is not as advanced, so maybe that is the reason.

I am trying to make Excel for Mac 2016 go to a date that I enter in A2. The date can be in rows b4:nc4 or b11:nc11 or b18:nc18 as I am displaying the days for three years in these rows. The entered dates in the three rows are dd/mm/yyyy but are displayed as dd/mmm to save space. The entered date is in format dd/mm/yy.

I would like this functionality as it is easier to navigate all these dates when an input has to be made in a cell below the specific date. Column A is frozen so the identifiers will always be visible when scrolling through to any given date.

Hope you have ideas :-)
 

Attachments

  • Screenshot 2023-12-04 at 18.05.51.png
    Screenshot 2023-12-04 at 18.05.51.png
    212.1 KB · Views: 21
Sorry to bother you again, but the curser doesn't jump to the cell with the date, but the cell just below. E.g. it does't jump to a cell in range b4:nc4 but to d4:nc4.

Any ideas?
 
Upvote 0

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Another thing to consider is to organize your data differently. I don't know what you actual data in rows A, B, C, D, E are but you could try this:
To create a table with these columns:

DateABCDE
01/01/2024105935
02/01/2024368103
03/01/202437717
04/01/2024531024
05/01/202488592
06/01/202421832
07/01/202464665
08/01/2024381109
09/01/202478843
10/01/202446139
11/01/202459193


With dates from 01/01/2024 to 31/12/2026, and in the A - E columns you data.

Then you could filter the table by date for example

View attachment 103145

And you'll get this:

View attachment 103146

You also can do lookups. Enter a date in one cell and get values from columns A to E.

Here is a (hopefully) working example: DataAsTable.zip

Let me know what you think.
I don't think that will work as I need it as a calendar showing occupied dates over any of the years...
 
Upvote 0
Sorry to bother you again, but the curser doesn't jump to the cell with the date, but the cell just below. E.g. it does't jump to a cell in range b4:nc4 but to d4:nc4.

Any ideas?

It does that because the cells below, has the same date just another format.
You could fix it by transforming the formula below the date, for example in cell B5 to this:

Excel Formula:
=TEXT(B4, "ddd")

And copy across. Do the same for row 13. In row 21 it wont be necessary because it isn't in the dataset considered.

And how about this other example: DataAsTable2.zip

Here you have you data in Sheet1 and in Sheet2 you can enter a date and it populates the columns to the left with the next dates. And if you need to show more dates, just select columna I and copy to the right. No need to click a hyperlink, just input the date.
If you need to show the data of the other years, that can be done also if you need.

Cell Formulas
RangeFormula
D3:I3D3=C3+1
C4:I4C4=TEXT(C3,"ddd")
C5:I9C5=INDEX(Tabla1,MATCH(C$3,Tabla1[[Date]:[Date]],0),MATCH($B5,Hoja1!$A$1:$F$1,0))
 
Last edited:
Upvote 0
Something like this:

Cell Formulas
RangeFormula
B3,B19,B11B3=YEAR(C3)
D3:I3,D19:I19,D11:I11D3=C3+1
C4:I4,C20:I20,C12:I12C4=TEXT(C3,"ddd")
C5:I9C5=INDEX(Tabla1,MATCH(C$3,Tabla1[[Date]:[Date]],0),MATCH($B5,Hoja1!$A$1:$F$1,0))
C11C11=DATE(2025,MONTH(C3),DAY(C3))
C13:I17C13=INDEX(Tabla1,MATCH(C$11,Tabla1[[Date]:[Date]],0),MATCH($B13,Hoja1!$A$1:$F$1,0))
C19C19=DATE(2026,MONTH(C3),DAY(C3))
C21:I25C21=INDEX(Tabla1,MATCH(C$19,Tabla1[[Date]:[Date]],0),MATCH($B21,Hoja1!$A$1:$F$1,0))
 
Upvote 0
Ok thanks that is advanced. What I need is an overview of a full year with indications whether a date is occupied by A or B or C or D or E. I looked online for a sort of booking calendar, but they all cost a good bit of money. So I tried myself...
The one I liked best displayed a full year and then colour coded triangles in the upper corner on each date corresponding to occupied or not. Don't know if it can be done with 6 conditions (not occupied, A, B, C, D, E). I will have a look at your suggestion above.
Have attached a screenshot of a colour coded one giving an easy overview through the colours so a year is not 365 cells in a row but rather kind of a matrix. I suspect this is heavy VBA coding so that's why I tried my own amateur layout :)
 

Attachments

  • Screenshot 2023-12-07 at 16.10.42.jpg
    Screenshot 2023-12-07 at 16.10.42.jpg
    86 KB · Views: 8
Upvote 0

Forum statistics

Threads
1,223,157
Messages
6,170,420
Members
452,325
Latest member
BlahQz

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