My formula has stopped working!

tashface

New Member
Joined
Feb 5, 2024
Messages
3
Office Version
  1. 2016
Hello all,
Please could anyone shed some light on my problem?

Photo Data is a sample of my data set.

Photo Year shows the formula to retrieve the year data which is copied across from cell B33, then copied down all the columns and working perfectly.

Photo Month shows the same formula as above but edited to retrieve the month data, copied across and down, again working perfectly.

Photo Day shows the same formula edited to retrieve the Day data (please note, I have removed the "=" at the beginning to show the formula).

Photo IFERROR shows the message I get when I try to enter the day formula, ignore the cell reference in this photo.

All the photos are from my working book which shows the sheets are laid out identically.

The month and year formulas work perfectly BUT the day formula does not.


Any help would be greatly appreciated.


Thanks
Shayne.
 

Attachments

  • Day.jpg
    Day.jpg
    113.7 KB · Views: 7
  • Month.jpg
    Month.jpg
    211.9 KB · Views: 7
  • IFERROR 2.jpg
    IFERROR 2.jpg
    100.5 KB · Views: 7

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Missing photos.
 

Attachments

  • Data set 1.jpg
    Data set 1.jpg
    183.5 KB · Views: 5
  • Year 2.jpg
    Year 2.jpg
    112.9 KB · Views: 5
Upvote 0
Hi & welcome to MrExcel.
Make sure that the Day column header does not have any leading/trailing spaces.
 
Upvote 0
Solution
Hi Fluff,
That was my problem DOH, I got so fixated with the actual formula I didn't bother to look elsewhere.

Thank you very much for your help, I am now back on track.

Shayne.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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