vlookup in column and row

mtagliaferri

Board Regular
Joined
Oct 27, 2004
Messages
156
I am wondering if vlookup is the right approach for my issue, if so any help is greatly appreciated!

I have a table which dictates how many days of leave a person has accrued depending on the leaving date and their annual entitlement, in the attachment I have a leaving date of 15/09/20 (E21) and the entitlement per year of 31 days (E23) I would like to return the correct number 15.5 in cell E25.
I have formatted the leaving window to display the date as dd-mmm however in the cell it display also the yyyy, I would like that to be a generic dd-mmm however I am conscious that the leaving date entered in E21 is a full date including the year.

Any ideas
 

Attachments

  • Capture.PNG
    Capture.PNG
    43.8 KB · Views: 11

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,216,030
Messages
6,128,405
Members
449,448
Latest member
Andrew Slatter

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