Calculating Age, creating date formulas and drop down lists

BBAgroup

New Member
Joined
Mar 27, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello,
In the doc attached I have colour coded with what I require:
Orange column - need to be able to choose from a dropdown list (list is in other tab)
Yellow column - Need to automatically populate employee age
Red column - need this to populate 3 months later than their start date
Blue column - same as above but for 12 months

1679906591656.png
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Hi,
For cell D3
Excel Formula:
=DATEDIF(C3,TODAY(),"y")
 
Upvote 0
Maybe:
Book1
CDEFG
2DOBAgeStart Date3 Months12 Months
312/08/19833927/03/202327/06/202327/03/2024
413/08/19833928/03/202328/06/202328/03/2024
514/08/19833929/03/202329/06/202329/03/2024
615/08/19833930/03/202330/06/202330/03/2024
716/08/19833931/03/202330/06/202331/03/2024
817/08/19833901/04/202301/07/202301/04/2024
918/08/19833902/04/202302/07/202302/04/2024
1019/08/19833903/04/202303/07/202303/04/2024
1120/08/19833904/04/202304/07/202304/04/2024
1221/08/19833905/04/202305/07/202305/04/2024
1322/08/19833906/04/202306/07/202306/04/2024
1423/08/19833907/04/202307/07/202307/04/2024
1524/08/19833908/04/202308/07/202308/04/2024
1625/08/19824009/04/202309/07/202309/04/2024
1726/08/19833910/04/202310/07/202310/04/2024
Sheet1
Cell Formulas
RangeFormula
D3:D17D3=DATEDIF(C3:C17,TODAY(),"y")
F3:F17F3=BYROW(E3:E17,LAMBDA(x,EDATE(x,3)))
G3:G17G3=BYROW(E3:E17,LAMBDA(x,EDATE(x,12)))
Dynamic array formulas.
 
Upvote 0
=BYROW(E3:E17,LAMBDA(x,EDATE(x,12)))
Hi Georgiboy, thanks for your help. I've implemented those formulas and have 2 new issues.
With columns F & G the formula works however when I click the formula bar it is a grey colour and disappears - this has never happened to me? Pictured below
Additionally, the age formula in column D yellow didn't work as you can see. Thank you so much for your help

1679948548820.png
 
Upvote 0
Hi,

Just Format your Column D as General ...
 
Upvote 0
Hi,
With a dynamic array formula, there is a Spill effect ...
And ....only the first cell in the Spill area is editable.
If you select another cell in the spill area, the formula will be visible in the formula bar, but the text is "ghosted", and cannot be changed ...
 
Upvote 0

Forum statistics

Threads
1,214,854
Messages
6,121,941
Members
449,056
Latest member
denissimo

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