Why will a text field flow into the next cell, but date field will not?

JenniferMurphy

Well-known Member
Joined
Jul 23, 2011
Messages
2,532
Office Version
  1. 365
Platform
  1. Windows
This minisheet shows that the date fields in B4, D4, & F4 will not flow into the cells to the right, but the text fields in the cells above will. Is there any way I can get them both to flow?

2022 Power Rankings.xlsx
BCDEF
3Week 2Week 1Week 0
4############
5Wk 2 RankWk 2 ΔWk 1 RankWk 1 ΔWk 0 Rank
63-12-11
72-11+12
81+23=03
94=04=04
Sheet1
Cell Formulas
RangeFormula
C6:C9C6=IF(ISNUMBER([@[Wk 2 Rank]]),[@[Wk 1 Rank]]-[@[Wk 2 Rank]],"--")
E6:E9E6=IF(ISNUMBER([@[Wk 1 Rank]]),[@[Wk 0 Rank]]-[@[Wk 1 Rank]],"--")


If I widen the columns, I can ser all the data.

2022 Power Rankings.xlsx
BCDEF
3Week 2Week 1Week 0
49/13/229/06/228/09/22
5Wk 2 RankWk 2 ΔWk 1 RankWk 1 ΔWk 0 Rank
63-12-11
72-11+12
81+23=03
94=04=04
Sheet1
Cell Formulas
RangeFormula
C6:C9C6=IF(ISNUMBER([@[Wk 2 Rank]]),[@[Wk 1 Rank]]-[@[Wk 2 Rank]],"--")
E6:E9E6=IF(ISNUMBER([@[Wk 1 Rank]]),[@[Wk 0 Rank]]-[@[Wk 1 Rank]],"--")
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
That is the application's way of handling values that exceed the width of the cell. There are other 'rules' pertaining to merged cells, wrap text options and such. I believe text spills, longs become scientific notation and dates become ### (which by the way, is the delimiter for date data type, so that makes sense). If there's a way to make dates spill from settings, I don't know of it. Possibly could if you wrap data in Text function, but that might cause more issues than it solves.
 
Last edited:
Upvote 0
That is the application's way of handling values that exceed the width of the cell. There are other 'rules' pertaining to merged cells, wrap text options and such. I believe text spills, longs become scientific notation and dates become ### (which by the way, is the delimiter for date data type, so that makes sense). If there's a way to make dates spill from settings, I don't know of it. Possibly could if you wrap data in Text function, but that might cause more issues than it solves.
If it's Excel's way of handlng values that exceed the cell width, why do the text fields in Row 3 extend into the cells to the right? Why allow one type of data to flow over and not another?
 
Upvote 0
why do the text fields in Row 3 extend into the cells to the right?
Because the data and formatting follow the rules.
I have no idea why and can't recall ever caring. I'd just resize the column or merge and move on. You can review this if you want to know more.
 
Upvote 0
Because the data and formatting follow the rules.
Arbitrary rules, IMNSHO

I have no idea why and can't recall ever caring.
Oh, well, I'm so sorry to have bothered you with something you don't care about. Kinda makes me wonder why you would even bother to reply to something you don't care about. 🤔🤨

I'd just resize the column or merge and move on.
I don't want to resize the column. If I did, there wouldn't be a problem.

You can review this if you want to know more.
Thanks for the link. It sounds like the rules are prertty much arbitrary and at least a few others also have complaints about it.
 
Upvote 0
The only way you are going to get what you want is to enter the dates as text and there are a number of options for that or if you are using a formula, to populate it using Text() to convert and format it.
Your issue applies to all numbers (which includes dates).
I don't know if it has to do with, that normally with numbers you want the right hand side to align and decimal points and commas to align.

Another option might be the Alignment Shrink to Fit, it is effective in terms of being able to read the data but not pretty.
Center across selection would also work but would be even uglier in your scenario.
 
Upvote 0
Solution
The only way you are going to get what you want is to enter the dates as text and there are a number of options for that or if you are using a formula, to populate it using Text() to convert and format it.
Your issue applies to all numbers (which includes dates).
I don't know if it has to do with, that normally with numbers you want the right hand side to align and decimal points and commas to align.

Another option might be the Alignment Shrink to Fit, it is effective in terms of being able to read the data but not pretty.
Center across selection would also work but would be even uglier in your scenario.

I ended up entering the dates as '9/13/22, etc. That works. They are literal dates in this case, not computed, so not a problem.

Thanks for the tips.
 
Upvote 0
Kinda makes me wonder why you would even bother to reply
Don't worry, I won't make that mistake with you again. I already suggested using text but apparently that didn't go over well either.
 
Upvote 0

Forum statistics

Threads
1,214,950
Messages
6,122,436
Members
449,083
Latest member
Ava19

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