One cell not holding formula.

Livin404

Well-known Member
Joined
Jan 7, 2019
Messages
743
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have a formula
Excel Formula:
=IF(A2="","",DAY(A2))
I will give me the day of the month. In column A starting at A2 I would have a date like 06 Feb 2024, and that is to give me 6 for the day. These details make their way to a pivot table with Slicers. The day column goes down hundreds of Cells. The problem is the formula holds everywhere with the exception of the first row of data.

Thank you, very much
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
he problem is the formula holds everywhere with the exception of the first row of data.
What does that mean - you get an ERROR - you dont get a DAY , just a blank

does the first row actually have a date in

can you post the sample with the issue

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

This will possibly enable a quicker and more accurate solution for you.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone

---
 
Upvote 0
This is what your formula is returning.

1707245602479.png


What exactly are you trying to troubleshoot here?
 
Upvote 0
I'm still confused as to what the issue here is :unsure: . If there is nothing on cell A2, you want the formula to return nothing on cell B2 right?
 
Upvote 0
I agree with Coyotex3. Your explanation is very confusing. I don't really understand what you are saying.
Perhaps some screen prints would assist in you showing us what is going on.

Note that formula cannot move/disappear by themselves.
If they are moving or disappearing, it would have to be something that either you are doing manually, or is happening via VBA code.
Do you have any VBA code in this workbook?
 
Upvote 0

Forum statistics

Threads
1,215,084
Messages
6,123,028
Members
449,092
Latest member
ikke

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