Excel not displaying date as text - excel

I received a excel spreadsheet to complete, and there is a column that is displaying a number formatting instead of a date, I tried changing the individual cell by right clicking and formatting the cell into date format however the cell is still displaying a number value instead of the date. See example below:
43049 instead of 11/10/2017
What do I need to do to change the cell to display the date text?

Right click on the cell or range
In the pop up click on Format Cells
Under Number on the category sub menu click on date and choose the date type you want
OR
Select the Cell Or Cells
Click On HOME menu Ribbon
Change the formatting from General to Short Date

Related

AutoFill not picking up my date pattern

I'm tyring to create a time series in the format of yyyy-mm (e.g 1950-01:1950-12) for the period 1950-2016.
I have changed the cell format to this custom setting but still when I try and drag down to autofill the next date after xxxx-12 is xxxx-13 instead of 01.
Can anybody advise me on how to get excel to recognize this pattern please?
Select the cells you want to format.
Press CTRL+1.
In the Format Cells box, click the number tab.
In the Category list, click custom, and then under Type, type the date format that you want

Excel: Change ####### in a cell to n/a

Excel question how to change ####### (shows up this way when data exceeds what the cell can display) in a cell to n/a without using VBA? I can do it manually by expanding the width of a column but I want to keep the spreadsheet small and don't need 9999999% its meaningless. Thanks in advance.
Select one or more cells you want to change; perhaps start with the cells that are showing 'meaningless' values like 9999999%. Note the 'active cell'. This is typically the cell in the top-left corner of a selected group of cells. For the sake of demonstration, that cell will be D2.
Use Home ► Styles ► Conditional Formatting ► New Rule. When the New Formatting Rule dialog opens, choose Use a formula to determine which cells to format then supply the following in the Format values where this formula is true: textbox.
=ABS(D2)>10
A raw value of 10 is 1000%. Anything that is greater than 1000% or less than -1000% will receive the conditional formatting. Note that D2 is involved in the formula.
Click Format and when the Format Cells dialog opens, go to the Number tab and choose Custom from the list down the left. Supply the following in the Type: textbox,
"n/a"
Click OK to accept the new formatting then OK again to create the new rule.
Repeat for other cells that may have values showing other scope(s) that you consider 'meaningless'.

Excel: Highlighting a whole column depending on date

I have made my own Gantt chart in Excel, which is shown in this picture:
.
I would like to highlight the whole column (or until the last activity) depending on the date, as shown in the picture. I figured out how to highlight a single cell depending on the date, but not a whole column.
I don't know how to do it short of entering the date into the whole column, but I thought there would be something more efficient if conditional formatting is used.
If you'd like an entire range to conditionally format based on the value of one of the fields in the range, use an absolute cell reference. I couldn't figure out perfectly from your picture which cell contains the date, but I'll try to give you an example.
If you have dates in the Cells in Row 1, and you want to highlight the entire column when the row has today's date, the conditional format formula would look like below. (Assuming today's date is in cell C1, then the entire column from C1:C25 [the range upon which I applied the conditional format] will be highlighted).
Steps:
Highlight the entire range upon which you want to apply the formatting. In my example, I'm using range A1:H25
In the Excel Ribbon, select Home > Conditional Formatting > New Rule...
On Windows, select Use a formula to determine which cells to format. On macOS, first choose Classic from the Style dropdown menu and then from the second dropdown menu, pick Use a formula to determine which cells to format.
The formula will be =A$1=TODAY() [NOTE: We check cell A1 first because it is the first cell in our highlighted range. We choose $1 because the dates are always in Row 1. Change that to suit.]
Select the format you'd like to apply
To test out how it looks, press OK

how to format time from HH:MM:SS to HHMM in excel?

I have an excel sheet in which one of the column is transaction time and its format is HH:MM:SS. But I need transaction time in HHMM format so that i can upload that excel sheet into my application. As of now i am manually formatting each row, is there any way i can apply required format to whole column at once?
If for your eyes only:
select whole column, right click somewhere in your selection, go to Format Cells, tab Number, Catergory Custom.
Type HHmm
Press OK
done.
If you need this as the actual value:
make a column containing the following formula =TEXT(<targetcell>;"HHmm")
Note that it is language-dependant whether you need a , or ; in that formula.
You have two options:
Custom format the field.
Use a function in another cell. Suppose, cell A1 contains the text 15:48:58. You use the formula in another cell (say B1) as =TEXT(HOUR(A1),"00")&TEXT(MINUTE(A1),"00"). This gives the output as 1548.
For example, type .633 in B2 cell. When we convert 0.633 to time means we convert 0.633day. We consider 24 hours as 1 day.
Follow the steps:
Select B2 cell and right click.
From shortcut menu, go to Format cells. Format cells dialog box appears.
In the dialog box. click custom under Category list. Find hh:mm:ss from right list.
Now edit it as hhmmss in the right side just under 'Type:'.
You may read this tutorial from msofficeworld: Format Time in Excel

excel find gap in dates

I have a range of dates in the following format
Hire TERM ReHire1 TERM2 ReHire2 TERM3 ReHire3 TERM4
The problem is that some rows might be missing a date, say a row will have dates in all but 'term' (B2). I can go in and use the filters to show blanks, but this becomes a nuisance when there are 15-20 date columns. Is there a formula that will look at the whole range and return an error of sort where there are empty cells?
Below is a comma delimited sample data that you can import into excel to help illustrate.
Hire,TERM,ReHire,TERM,ReHire,TERM,ReHire,TERM
05/06/2002,12/09/2002,,05/12/2003,02/10/2004,03/29/2005,,
05/30/2000,05/24/2004,09/27/2004,11/27/2004,,08/31/2006,05/24/2007,
03/15/2004,02/01/2005,02/16/2005,06/13/2005,02/06/2006,03/13/2006,10/14/2007,01/06/2008
03/13/1998,08/28/1998,,11/20/2000,11/03/2002,07/23/2009,09/08/2009,11/21/2009
07/12/2007,05/01/2009,07/12/2007,05/01/2009,07/28/2011,,07/28/2011,
12/20/2004,11/11/2005,02/23/2009,11/25/2009,08/10/2010,08/24/2010,,
08/23/2001,08/11/2002,,11/22/2006,01/15/2007,,,
Additional details per feedback:
A missing value -or "gap" as I call it- would be if a row has dates under hire and rehire but no date on Term.
You can either:
Split your data with Excel builtin solution and choose to split on commas ,
Select your data on Excel
Then click on "Data", "Text To Columns..."
Click on the "Delimited" radio button
Then click on the "Next" button, in "Delimeters" put a checkmark in "Comma"
Then click on the "Finish" button.
and then find the empty cells with a conditional formula
Use this kind of formula
=IF(ISERR(FIND(",,",A1)),"Missing value","")
to check if there is any missing value
One option would be to use conditional formatting on the cells. In Excel 2010, highlight the data range, pick "home->conditional formatting->highlight cell rules->more rules".
Then pick "format only cells that contain" and change the drop down with "Cell Value" to "Blanks" and click the "Format..." button and set how you want it highlighted (Fill color to yellow for example).
Alternativley, you could add a formulae "countblank" either over the the entire range or a subrange (row for example) and it will specify the number of blank cells. For example, you could in the final column add "=countblank(a2:h2)" and then filter the results for anything greater than 0. This would show you all the rows with missing data and you could correct them as needed.
I have imported your data into Excel 2011 on a mac.
If I understand your question, all you want to do is to find the empty cells. Then you just press CMD-F or CTRL-F on windows to start a search. You just leave the search field empty. Excel will then show you the empty fields one by one.

Resources