Format cell based on input of another cell

WLHagen

Board Regular
Joined
Sep 18, 2009
Messages
177
For all -

I'm using Excel 2010 and trying to assist our payroll department with insurance billing to our accounting department. I'm trying to have one cell that HR uses to enter the date of the billing, which could be an actual date (such as 08/26/2014) or a month (such as 08/2014 or Aug 2014).

I enter this billing date in cell J8. I need this date information to flow over to cells E2:E19. My formula in the cells in column E is =$J$8. I would like format the cells in E to display EXACTLY what is in J8 as listed above. I've tried formatting Column E to Date, but then if J8 = 08/2014, the E cells and J8 display 08/01/2014, not 08/2014. I know I can use an accent (') before my entry to indicate text, but is there an easier way to automatically format the column E cells to display Exactly what is in J8?

Thanks in advance for any and all assistance!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
If your format the cell you are entering your value in (J8) as Text before entering your data, then any reference to it (like =$J$8) should return that value in J8, exactly as it appears.
 
Upvote 0
OOps.... I mis-spoke (mis-typed?). E3 contains the formula =J8. All the rest of the cells in column E contain the formula =$e$3. All of column E is formatted (at present) as General. If I type 10/2014 (without a ' before it) J8 shows 10/1/2014, and all of column E shows 41913 (the "Excel date" for 10/1/2014).
 
Upvote 0
I cannot reproduce that behavior. It shows "10/2014" in all my cells when I try what you said.

What is your formatting on cell J8?

What do these formulas return?
=ISNUMBER(J8)
=ISNUMBER(E3)
 
Upvote 0

Forum statistics

Threads
1,216,106
Messages
6,128,863
Members
449,473
Latest member
soumyahalder4

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