Disappearing Text...

Snowmonster

New Member
Joined
Aug 25, 2011
Messages
43
Hello all...

I have a problem again... :confused:
I have a cell with a formula in it, that puts data in it from another worksheet, which is a date, I.E. 1st, 2nd, etc... It is formatted as custom dd.

What I need to do is for the proceeding cells to be blank if they are are a higher number than the next one I.E. (27th 28th 29th 30th 1st 2nd 3rd) should read (blank blank blank blank 1st 2nd 3rd)...

An additional problem therefore lies at the other end, as the end week will show (27th 28th 29th 30th 1st 2nd 3rd) but need to show (27th 28th 29th 30th blank blank blank)...

Any help would be appreciated... :)

Snowmonster
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
what formula are you using?

it would be helpful if you tell us how / why those specific dates are extracted.
 
Upvote 0
Hi Jason

It's just a simple get formula, '=IF(Rota!$F$2="Year2011",Calendar!Q3,IF(Rota!$F$2="Year2012",Calendar!Q4,etc to 2050...'

Cheers

Snowmonster
 
Upvote 0
Even simpler would be

=INDEX(Calendar!Q3:Q42,RIGHT(Rota!$F$2,2)-10)

I assume that the range Calendar!Q3:.. is literaly just a calendar of dates, what range do you have the formula entered into?

I'm trying to get a picture of what your output sheet looks like.
 
Upvote 0
So you want a whole years worth of dates visible?

With 2012 in Rota!F2, which cells in Q5:OD5 should have dates visible, and what should be in the first and last of those cells?
 
Upvote 0
A shot in the dark based on information so far, with a few assumptions to fill the blanks.

=IF(YEAR(INDEX(Calendar!Q3:Q42,RIGHT(Rota!$F$2,2)-10))-RIGHT(Rota!$F$2,4),"",INDEX(Calendar!Q3:Q42,RIGHT(Rota!$F$2,2)-10))
 
Upvote 0

Forum statistics

Threads
1,224,570
Messages
6,179,611
Members
452,931
Latest member
The Monk

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