Thursday, 10 July 2014

Excel DATEVALUE Function

Microsoft Excel DATEVALUE Function

Basic Description

The Excel Datevalue function converts a text representation of a date, into an Excel date.
- ie. the function converts a text string representing a date, into the serial number that represents the date in Excel's date-time code.
The syntax of the Datevalue function is :
DATEVALUE( date_text )
where the date_text argument is a text string representing a date.

Interpretation of Date Text Strings

When reading in the supplied date_text argument, the Datevalue function follows simple rules that are the same as if you type a date directly into a cell. These are :
  • If just a date and month are provided, the date returned will have the current year.
  • The default settings for the year are that one- and two-digit years are interpreted as follows:
  • The numbers 0 through to 29 are interpreted as the years 2000 to 2029
  • The numbers 30 through to 99 are interpreted as the years 1930 to 1999

These rules are illustrated in the examples below.

Datevalue Function Examples

The following spreadsheet shows examples of the Excel Datevalue function:
 Formulas:
A
1=DATEVALUE( "01/01/2012" )
2=DATEVALUE( "01/01/12" )
3=DATEVALUE( "01/01" )
4=DATEVALUE( "01/01/29" )
5=DATEVALUE( "01/01/30" )
 Results:
AB
140909- represents the date 01/01/2012
240909- represents the date 01/01/2012
340909- represents the date 01/01/2012
447119- represents the date 01/01/2029
510959- represents the date 01/01/1930
In the above example spreadsheet:
  • The text string in cell A3 contains just a day and month, and so the function returns a date in the current year. As these examples were input into Excel in the year 2012, the returned date has the year 2012.
  • The cells in the results spreadsheet all have the general formatting type. These values can be displayed as dates by setting the cell formatting to the date type. To do this:
  • Highlight the cell(s) to be formatted
  • Right click with the mouse
  • Select the Format Cells ... option and ensure the Number tab is selected
  • Under the Category heading, select the option Date. Select a date format from the list on the right and click OK
The resulting formatted spreadsheet is shown on the right.
For more details on formatting in Excel, go to the Excel Formatting page.
 Results with date formatting:
A
101/01/2012
201/01/2012
301/01/2012
401/01/2029
501/01/1930


Datevalue Function Common Error

If you get an error from the Excel Datevalue function, this is likely to be the #VALUE! error :
Common Error:
#VALUE!-Occurs if the supplied date_text cannot be recognised as a valid Excel date.

Excel TIME Function

Microsoft Excel TIME Function

Basic Description

The Excel Time function accepts three integer arguments representing hours, minutes and seconds, and returns an Excel time.
The syntax of the function is:
TIME( hour, minute, second )
where the hour, minute and second arguments are integer values that can be supplied to the function either directly, as values returned from other formulas, or as references to cells containing integers.
If any of the Time function arguments are supplied as decimals, these are truncated to integers. Note also that, if the hour value is greater than 23, this value is divided by 24 and the remainder is used as the hour (for example, if you supply the function with the value 25 as the hour argument, the value 1 is used).
Like all Excel times, the time returned from the Excel Time function is stored, within Excel, as a decimal (see the page on Excel Dates & Times for further information on this). Therefore, if you want the result of the function to be displayed as a time, you will need to make sure that the cell containing the function is formatted with an Excel 'Time' format.

Time Function Examples

The following spreadsheet shows several examples of the Time function. The formulas are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right:
 Formulas:
ABCDE
1HrsMinsSecsTime
2=TIME( 5, 44, 32 )
3=TIME( 2+3, 44, 32 )
452155=TIME( A4, B4, C4 )
50073=TIME( A5, B5, C5 )
 Results:
ABCDE
1HrsMinsSecsTime
205:44:32
305:44:32
45215505:21:55
5007300:01:13
The results in column E of the above spreadsheet, are formatted with the Time format hh:mm:ss.
Also note that, in cell E5 of the example above, the Excel Time function successfully converts the supplied value, 73 seconds, into the time 1 minute and 13 seconds.

Excel Date Function

Microsoft Excel Date Function

Basic Description

The Excel Date function, when supplied with integers representing a year, month and day, returns an Excel date.
The syntax of the function is :
DATE( year, month, day )

Date Function Examples

The following spreadsheet shows the Date function applied to different sets of values.
 Formulas:
ABCD
1DayMonthYearDate
2=DATE( 2001, 1, 2 )
33151998=DATE( C3, B3, A3 )
42151984=DATE( C4, B4, A4 )
5912012=DATE( C5, B5, A5 )
 Results:
ABCD
1DayMonthYearDate
202-Jan-2001
3315199831-May-1998
4215198421-May-1984
591201209-Jan-2012

Month and Day Arguments

Typically, the month will be between 1 and 12 and the day will be between 1 and 31. However, these values can extend below or above these ranges, in which case, they behave as follows:
month-
If the supplied month argument is negative or is greater than 12, the date extends back or forward, into the previous or following year. For example:
DATE( 2012, -1, 1 )=1st November 2011
DATE( 2012, 0, 1 )=1st December 2011
DATE( 2012, 1, 1 )=1st January 2012
DATE( 2012, 2, 1 )=1st February 2012
.
.
.
.
.
.
DATE( 2012, 12, 1 )=1st December 2012
DATE( 2012, 13, 1 )=1st January 2013
DATE( 2012, 14, 1 )=1st February 2013
day-
If the supplied day argument is negative or is greater than 31, the date extends back or forward, into the previous or following month. For example:
DATE( 2012, 6, -1 )=30th May 2012
DATE( 2012, 6, 0 )=31st May 2012
DATE( 2012, 6, 1 )=1st June 2012
DATE( 2012, 6, 2 )=2nd June 2012
.
.
.
.
.
.
DATE( 2012, 6, 30 )=30th June 2012
DATE( 2012, 6, 31 )=1st July 2012
DATE( 2012, 6, 32 )=2nd July 2012


Date Function Common Problem

Common Problem:
The result of your Date function looks like a number (eg. "41061"), instead of a date.
Solution:
This is likely to be due to the formatting of the cell. I.e. the function has actually returned the correct value, but the cell is displaying the date serial number, instead of the formatted date.
To correct this,
  • Highlight the cell(s) with the wrong formatting
  • Right click with the mouse
  • Select the Format Cells ... option and ensure the Number tab is selected
  • Under the Category heading, select the option Date and click OK

Excel Value Function

Microsoft Excel Value Function

Basic Description

The Excel VALUE Function converts a text string into a numeric value.
Excel stores values as either text or numeric values, so, for example, if you attempt to use the text value "10" in an addition, multiplication, or other numeric operation, you will get an error.
Therefore, if you want to extract a numeric value from a text string, you need to convert this to a number, before Excel will be able to recognise it as a numeric value. The Value function can be used to do this.
The syntax of the Value function is :
VALUE( text )
where the text argument is a text string that can be translated into a number.
If the Value function is not able to convert the supplied text value into a number, it will return the #VALUE! error.

Value Function Examples

The following spreadsheet shows four different examples of the Value function. The spreadsheet on the left shows the format of the function and the spreadsheet on the right shows the results :
 Formulas:
A
1=VALUE( "50" )
2=VALUE( "1.0E-07" )
3=VALUE( "5,000" )
4=VALUE( "$50" )
 Results:
A
150
20.0000001
35000
4#VALUE!
It is seen, from the examples above, that the Excel Value function can interpret different formats of numbers. For example,
  • In cell B2, the function understands the text value "1.0E-07" to represent the scientific notation for the number 0.0000001
  • In cell B3, the function understands the text value "5,000" to represent the number 5000
However, in the example in cell B4, the Value function is not able to interpret the currency $ symbol as part of a number, so it produces the #VALUE! error message.

Further information and examples of the Excel Value function can be found on the Microsoft Office website.

Value Function Error

If you get an error from the Excel Value function, this is most likely to be the #VALUE! error:
Common Error
#VALUE!-Occurs if the supplied text argument cannot be interpreted as an Excel numeric value.

Excel Text Function

Microsoft Excel Text Function

Basic Description

 

The Excel TEXT function converts a supplied value into text, in a user-specified format.
The format of the function is :
TEXT( value, format_text )
Where the function arguments are:
value-A numeric value, that you want to be converted into text
format_text-A text string that defines the formatting that you want to be applied to the supplied value


The format definitions that can be used in the Excel Text function are shown in the table below. These definitions have the same meaning when used in the custom style of Excel Cell Formatting.
0-Forces the display of a digit in its place
#-Display digit if it adds to the accuracy of the number (but don't display if a leading zero or a zero at the end of a decimal)
.-Defines the position that the decimal place takes
d-
Day of the month or day of week
d = one or two digit representation (eg. 1, 12)
dd = 2 digit representation (eg. 01, 12)
ddd = abbreviated day of week (eg. Mon, Tue)
dddd = full name of day of week (eg. Monday, Tuesday)
m-
Month (when used as part of a date)
m = one or two digit representation (eg. 1, 12)
mm = two digit representation (eg. 01, 12)
mmm = abbreviated month name (eg. Jan, Dec)
mmmm = full name of month (eg. January, December)
y-
Year
yy = 2-digit representation of year(eg. 99, 08)
yyyy = 4-digit representation of year(eg. 1999, 2008)
h-
Hour
h = one or two digit representation (eg. 1, 20)
h = two digit representation (eg. 01, 20)
m-
Minute (when used as a part of a time)
m = one or two digit representation (eg. 1, 55)
m = two digit representation (eg. 01, 55)
s-
Second
s = one or two digit representation (eg. 1, 45)
ss = two digit representation (eg. 01, 45)
AM/PM-Indicates that a time should be represented using a 12-hour clock, followed by "AM" or "PM"


Problem with Simple Concatenation of Dates
Because an Excel date is stored as a simple number in Excel, if you attempt to join a name and date into a text string by just using the simple & operator, this will be displayed as a name followed by a number.
For example, if used in cell C2 of the spreadsheet below, the formula:
=A2 & " " & B2

gives the following result:
Example of use of the & operator with a date in Excel

 

Text Function Example 1

One of my most common uses of the Excel Text function is to insert dates into text strings.
Without the use of the Text function, the simple concatenation of a text string with a date gives an unexpected result (see right).
The spreadsheet below shows the Excel Text function used to produce the required merged text string.
As shown in the formula bar, the formula used is:
=A2 & " " & TEXT( B2, "dd/mm/yyyy" )

Example of use of the Excel Text Function

Text Function Example 2

The examples below show use the Text function, with a variety of specified formats. The spreadsheet on the left shows the function formats and the spreadsheet on the right shows the results.
 Formulas:
Examples of use of the Excel Text Function
 Results:
Excel Text Function Example Results

Note that the results of the Text function, in column B of the spreadsheet above, are all text values, rather than numeric values.

Further information and examples of the Excel Text function can be found on the Microsoft Office website.

Excel Text Function Error

Some users have problems when the Excel Text function returns the #NAME? error:

Common Error
#NAME?-
This is returned from the Excel Text function, if you omit the quotation marks from around the format_text
For example, the formula
=TEXT( A2, dd/mm/yyyy )

will return the #NAME? error.
Solution:   Add quotes around the formatting definition. Eg. the above example would be corrected as:
=TEXT( A2, "dd/mm/yyyy" )

Excel Fixed Function

Microsoft Excel Fixed Function

Basic Description

 

The Excel FIXED function rounds a supplied number to a specified number of decimal places and then converts this into text.
The format of the function is :
FIXED( number, [decimals], [no_commas] )
Where the arguments are as follows :
number-The number to be converted into a text string
[decimals]-An optional numerical argument which specifies the number of decimal places to be shown after the decimal point
Note :
-If [decimals] is omitted, it takes on the default value of 2
-If [decimals] is negative, the supplied number is rounded up to the left of the decimal point
-If [decimals is a decimal (rather than an integer), it is truncated to an integer
[no_commas]-An optional logical argument which specifies if the returned text should separate thousands by commas. Possible values are :
TRUE-Commas are not included in the resulting text
FALSE-Commas are included in the resulting text
If the [no_commas] argument is omitted, it takes on the default value of FALSE.


Fixed Function Examples

The spreadsheet below shows examples of use of the Excel Fixed Function. The spreadsheet on the left shows the format of the functions and the spreadsheet on the right shows the results.
 Formulas:
Examples of use of the Excel Fixed Function
 Results:
Excel Fixed Function Results

Fixed Function Common Problem


Common Problem
Once a number has been converted, using the Excel Fixed function, it is stored in Excel as text. Therefore, it cannot be used in numeric calculations. 

If you want to be able to use the numbers in calculations, you may prefer to keep the values as numbers in Excel and just change the formatting into the required numeric format. To do this:
  • Right click with the mouse, on the cell to be formatted
  • Select the Format Cells ... option and ensure the Number tab is selected
  • Under the Category heading, select the option Number
  • From the options that appear on the right, specify the details of the formatting required
  • Click OK

Excel Dollar Function

Microsoft Excel Code Function

Basic Description

The Excel DOLLAR function rounds a supplied number to a specified number of decimal places and then converts this into text, using a currency format. The currency format used is the format that is set as the default on your computer.
The format of the Excel DOLLAR function is :
DOLLAR( number, [decimals] )
Where the arguments are as follows :
number-
The number to be converted into a text string

[decimals]-An optional numerical argument which specifies the number of decimal places to be shown after the decimal point
Note :
-     If [decimals] is omitted, it takes on the default value of 2.
-     If [decimals] is negative, the supplied number is rounded up to the left of the decimal point.

Dollar Function Examples

 Formulas:
AB
1=DOLLAR( 123.591 )
2123.591=DOLLAR( A2 )
3123.591=DOLLAR( A3, 1 )
4123.591=DOLLAR( A4, 0 )
5123.591=DOLLAR( A5, -1 )
6123.591=DOLLAR( A6, -2 )
 Results:
AB
1$123.59          
2123.591$123.59
3123.591$123.6
4123.591$124
5123.591$120
6123.591$100

Dollar Function Common Problem


Common Problem
Once a number has been converted, using the Excel Dollar function, it is stored in Excel as text. Therefore, it cannot be used in numeric calculations.
If you want to be able to use the numbers in calculations, you may prefer to keep the values as numbers in Excel and just change the formatting into a currency format. To do this:
  • Right click with the mouse, on the cell to be formatted
  • Select the Format Cells ... option and ensure the Number tab is selected
  • Under the Category heading, select the option Currency
  • From the options that appear on the right, specify the details of the formatting required
  • Click OK

Excel Bahttext Function

Microsoft Excel Bahttext Function

Basic Description

The Excel Bahttext function converts a number into Thai text, with the the suffix "Baht".
The syntax of the function is :
BAHTTEXT( number )
Where the number argument can be supplied to the function either directly, or as a reference to a cell containing a number.

Bahttext Function Examples

The following spreadsheet shows two simple examples of the Excel Bahttext function. The format of the function is shown in the spreadsheet on the left and the result is shown in the spreadsheet on the right.
 Formulas:
Examples of use of the Excel Bahttext Function
 Results:

 

Bahttext Function Error

If you get an error from the Excel Bahttext function, this is likely to be the #VALUE! error :

#VALUE!-Occurs if the supplied number argument is not recognised as a numeric value.

Excel Trim Function

Microsoft Excel Trim Function

Basic Description

 

The Excel Trim function takes a supplied text string and removes any spaces, except for single spaces between words or characters.
The syntax of the function is :
TRIM( text )
where the 'text' argument can be supplied to the function either directly, as a text string returned from another formula, or a reference to a cell containing text.
Note that the Trim function differs from the Clean Function in that the Trim function removes additional spaces (represented by the ASCII numeric code 32), while the Clean Function removes the non-printable characters, represented by the ASCII numerics codes 0 to 31.

Trim Function Examples

The example below shows the Trim function used on four different text strings.
Excel Trim Function Examples
In all four of the above cases, the result is the string
"trimmed text"
- with no spaces at the start or end and just one space in the middle.

Excel Clean Function

Microsoft Excel Clean Function

Basic Description

The Excel CLEAN function takes a supplied text string and removes all non-printable characters.
The function is designed to remove the non-printable characters, represented by numbers 0 to 31 of the 7-bit ASCII code, which are often found at the start of data that has been imported into Excel from other applications.
The syntax of the function is :
CLEAN( text )
where the 'text' argument can be supplied to the function either directly, as a text string returned from another formula, or a reference to a cell containing text.

Clean Function Examples

The example below shows the Excel Clean function used on four different text strings.
Excel Clean Function Examples

All four of the above examples give the same result, which is the string,
"clean text"

Creating a New Microsoft Access Database



Creating a New Microsoft Access Database  

A new Access file is an empty database that you create or it may be based on an existing
template where certain elements of the database are created automatically.

When you create a new database, it has to be saved. Whereas when you create a new
document in Word or a new spreadsheet in Excel, you can set up the document or
spreadsheet and then decide when to save.

The Process to create a database is

• Click on the Office button.

• Select New.

(Using the Office button is not necessary if you are creating a new database on first entering
Access).
.

A New Blank Database



 To create a blank database click on Blank Database  This will then allow you to name and save the database into a chosen location


1. Click on the button and choose the  location of the database.

2. Enter the file name for the database.

3. Click on the create button.


  

A New Database From a Template



1. When a new database is going to be based on a template, you need access to where the
template is. The database template can be on your machine or it can be a Microsoft
template that you need to connect to on-line.

2. Once a template category has been selected, it updates the list of templates available.
Select the template required.

3. A database with the same name as the template will be created and saved in the default
location unless you choose the location and give the database a name.

File names can be upto 255 characters (including the file extension) the name cannot start
with a space but can have spaces within the name. Ccertain characters should not be used
in file names as they can produce unexpected results. These are invalid characters for file
names ?, ",/,\,<,>,|,:
When a new database is created any database that was already open will automatically be
closed. If anything needed to be saved a prompt would have come up asking you to save if

you wanted to.
Microsoft Access can only have one database open at a time. The same is true when you
open an existing database. If you want more than one database open at the same time then
you need to have Microsoft Access running once for each database.

Microsoft Access Column Views


Microsoft Access Column Views 


At times, you do not want to view the table in a particular way.
Sometimes there will be columns that you do not want to see as they are not relevant at that
point in time for what you need.
At other times as you scroll across to view other columns you still want to be able to see key
columns.
Hiding/hiding columns

Columns can be hidden by
1. Highlight column(s).
2. Right click on column heading of column to be hidden.
3. Select Hide columns.


Columns can be unhidden by
Highlight column(s) on either side of the hidden column(s)
1. Right click on column heading.
2. Select Unhide Columns.

Freezing Columns


At times as you scroll across the
screen, you want to be able to
always see certain columns rather
than have them disappear to the left
so that you can identify the records.
In this example, we can see the city
country and telephone numbers but
we can’t tell who the customers are.

Columns can be frozen by:

1. Highlight columns to be
frozen.
2. Right click on column heading
3. Select Freeze Columns.
(Frozen Columns can be
unfrozen by selecting the
Unfreeze All Columns command).



By freezing customer id and
customer name columns as you
scroll across to see other data
you will still see the two frozen
columns.

Wednesday, 2 July 2014

Excel- Tick Marks and Check Boxes in cells

Check boxes, a pipe-dream?
It isn't much to ask for is it? Cells with tick marks (or check boxes if you like) would tick all the boxes for me. After all, you can easily create Yes/No fields in Microsoft Access tables and creating check boxes in Apple Numbers is a breeze but poor old Excel just doesn't seem to want to play the check box game.

Yes, you can draw Form Controls or ActiveX Controls on a worksheet and link them to the cells but it is such a long-winded and painful process when you need loads of check boxes. I want an entire column full of check boxes, I want them in the cell and not on the cell and I want to do them quickly and easily. Dream on.

Rant over, the awful truth is that if the Excel designers don't give you exactly what you want then you have to do it yourself and here's how to do a home-brew version of an Excel in-the-cell checkbox. It involves doing an Excel macro and creating a shortcut for it but don't let that put you off as it only takes a few minutes and then you can have as many check boxes or tick marks as you like whenever you like.

Step One. Record a Macro

You need a module to store your macro and the easiest way to get one is to turn on the macro recorder and then turn it off again. Click Record Macro in the Macros control on the View tab.

Recording a macro
When this dialog displays, enter the Macro name. This one is named as "TickToggle" but you can name it as you like (no spaces are allowed in macro names) Set the shortcut key by typing a letter into the Shortcut key box. I am using the letter "t" (t for ticks!) Try not to use a shortcut key that you want to keep for other purposes, like maybe CTRL+C.

The final setting is to drop the list for Store macro in and select Personal Macro Workbook. Click the OK button, click a cell on your worksheet and then click Stop Recording in the Macros control on the View tab.

Step Two. Copy and Paste the Tick Mark code

Now the macro has been recorded you need to find it and substitute the recorded macro with the macro code that does the tick marks.

Unhiding PERSONAL
The Personal Macro Workbook is a hidden document so we need to unhide it first. Click the Unhide control in the Window group on the View tab and choose PERSONAL from the list.

Then we need to see the code of the recorded macro. Click View Macros in the Macros control on the View tab, select "TickToggle" in the listing and then click the Edit button on the right hand side.

This will transfer you to the macro editor and your screen should be looking something like the illustration below.

The recorded macro
Don't worry if it's not exactly the same so long as you have the first and last lines the same. Everything between the Sub and End Sub lines will be replaced.

The final part of this step is to copy and paste our new tick mark macro, save the file and exit from the editor.




Here's the macro code to copy and paste:

Sub TickToggle()

    On Error Resume Next

    If ActiveCell = "" Then
        With ActiveCell
            .Formula = "=CHAR(252)"
            .Font.Name = "Wingdings"
        End With
    Else
        ActiveCell.Clear
    End If

End Sub

The finished macro
Here's the macro in the editor after the above code has been pasted. Translating the code into plain English, it reads as follows "If the cell is empty then enter character 252 into the cell and set the font format as Wingdings, otherwise clear the cell". Character 252 in Wingdings is a tick mark.

Choose File, Save in the menu and then exit from the editor and return to Excel by choosing File, Close. When you're back in Excel click the Hide control in the Window group on the View tab to hide PERSONAL.

Step Three. Test the macro

Click a cell, press your shortcut keys CTRL+t and a tick mark appears in the cell, press them again and the tick mark disappears.

Tick marks!
Centre-align the cell if you want your ticks centred and change the column width setting.

Your macro is stored in your Personal Macro Workbook which opens automatically when you start Excel and you can use this macro on any workbook. See the next section if you prefer check boxes to tick marks.


Ticks or Boxes?

There's a big decision to make here; do you want to have a tick in the cell and then an empty cell when you turn it off or do you want a proper check box with a tick in it which then changes to an empty box when you turn it off?

The macro above is the "plain tick or an empty cell" version, if you want the "ticked box or un-ticked box" version then you need to change the macro code so that the correct character is entered into the cell. The plain tick is Wingdings character 252, the ticked check box is character 254 and the un-ticked box is character 168. Change your macro by copying and pasting the code below. 

The logic required is slightly different, now it reads in plain English as "If the cell is empty or if it contains character 168 (an un-ticked box) then enter character 254 (a ticked box), otherwise enter character 168".

Copy and Paste this macro for check boxes


Sub TickToggle()

    On Error Resume Next

    If ActiveCell = "" Or ActiveCell.Formula = "=CHAR(168)" Then
        With ActiveCell
            .Formula = "=CHAR(254)"
            .Font.Name = "Wingdings"
        End With
    Else
        With ActiveCell
            .Formula = "=CHAR(168)"
            .Font.Name = "Wingdings"
        End With
    End If
 
End Sub

Checking if the cell has been ticked

If all you need is a simple tick or checkbox in the cell then you're fine but what if you have to have a formula or some Conditional Formatting in the worksheet do something as a result of the cell being ticked or the box checked?

Usually you would use a formula to make a logical test giving you TRUE or FALSE so that you could do something to respond to the current state of the check box. Here's the sort of logical constructions that can make the relevant tests:

Check Tests
Checking for the tick-mark or empty cell is the easiest one as all you are doing is asking "is the cell empty?", which can be done like this:

=ISBLANK(A1)

Where A1 is the cell containing the tick. ISBLANK returns FALSE if the cell contains a tick. Should you find the test easier to process if you return TRUE for a ticked cell then reverse the logic as follows:

=NOT(ISBLANK(A1))

The check box is a little harder as you asking "does the cell contain character 254?" (a ticked box) and you have to use Excel's CELL function as follows:

=CELL("contents",A1)=CHAR(254)

Happy ticking...

Related Posts


Training Courses

If you've still got that "I just don't know what I'm doing" feeling then you might like to arrange an Excel training course for yourself or with some of your colleagues. It's really easy to book one of our courses and they're great value for money. See our website for full details.

Apple OS X Yosemite Preview

Yosemite is Apple's next big release of their desktop operating system due out later this year. Once again, as a free upgrade for existing Mac owners. 

Apple has better integrated its desktop OS with their iPhone and iPad iOS 7 devices. While the look of the desktop matches the iOS 7 interface design with translucency, brighter, flatter styling, new icons and fonts mercifully they've not had a Windows 8 moment; it's still a traditional desktop with drop down menus and a dock.



Phone You can make and receive phone calls on your Mac. When your iPhone rings, the caller's name, number and picture show as a notification on your Mac. You can answer calls by clicking the notification and your Mac becomes a speakerphone. You can make phone calls using Contacts, Calendar, Messages and Safari.

No WiFi? Your Mac automatically uses the personal hotspot on your iPhone which appears in the Mac's WiFi menu.

Messages All the SMS and MMS messages that you receive on your iPhone now appear in Messages regardless of what type of phone your friends and colleagues are using. You can respond using whichever device is the most convenient.

iCloud Drive You can store any file in your iCloud Drive and then find it on any device. The iCloud Drive is available in the Finder window and works like any other folder on your Mac, just drag and drop your files into the folder. You can rearrange everything as you wish and see all your files organised in the same way on your iPhone and iPad.

Mail Drop You can send large attachments without having to worry whether they will get through or not. Send large files like videos, images and presentations and they are automatically uploaded to iCloud. Mail Drop works with any email service, if your recipient uses Apple Mail then they receive the attachment as they normally do, otherwise they receive a link to download the file.

AirDrop Sharing files is so easy with AirDrop, you can take a file from any folder and send it to a nearby Mac or iOS device and vice versa. Send a document to a colleague in the next room or send a presentation to a customer across the table. Easy.

Handoff You can automatically pass whatever you're doing from one device to another whenever they are in range. Start writing an email on your iPhone and then finish typing it on your Mac using a full keyboard without losing your place. Or start writing a report on your Mac and finish it off on your iPad on the train home. Handoff works with the following apps: Mail, Pages, Numbers, Keynote, Maps, Messages, Reminders, Calendar, Contacts and Safari.

See more on the Apple website

Excel-the Highest and the Lowest. MIN, MAX, SMALL and LARGE.

Entering Excel's LARGE function
Most people know about the MIN and MAX worksheet functions to calculate the highest and lowest values in a range.

But what about the ninth highest or the third lowest? That's where you need the functions LARGE and SMALL.


The LARGE function

In the illustration above we have a list of countries in column B and a corresponding list of numbers in column C. The formula to calculate the ninth highest number in column C is:

=LARGE(C:C,9)

If you then wanted to identify which country in column B that number referred to you would firstly have to find out where the number was in column C and then use that information to refer back to column B. Use the MATCH function to locate the ninth highest number in column C and then the INDEX function to look up the country from column B.

The formula for the match is as follows (presuming the LARGE formula is entered into cell E4):

=MATCH(E4,C:C,0)

The match formula gives a number that locates the value in column C and then you use that number to index column B (presuming that the MATCH formula is entered into cell E6):

=INDEX(B:B,E6)

Of course, you don't have to do three separate formulas, you can combine LARGE and MATCH into one formula like this:

=MATCH(LARGE(C:C,9),C:C,0)

Or do the entire calculation in one like this:

=INDEX(B:B,MATCH(LARGE(C:C,9),C:C,0))

The SMALL function

The SMALL function is much the same as LARGE, for example =SMALL(C:C,3) gives you the third smallest value in column C:C.

The MIN and MAX functions

=SMALL(C:C,1) will give you the lowest value in column C but it's much easier to use the MIN function to calculate the lowest value in a range. =MIN(C:C) gives the lowest value in the column C, similarly, =MAX(C:C) gives the highest value.

Related Posts


Training Courses

If you've still got that "I just don't know what I'm doing" feeling then you might like to arrange an Excel training course for yourself or with some of your colleagues. It's really easy to book one of our courses and they're great value for money. See our website for full details.

Excel- Roman Numerals

Use Excel's ROMAN function if you need to express normal, arabic numbers as Roman numerals.

Excel's ROMAN function
Just type "=r" into a cell and you will see a list of Excel functions pop up, then double-click ROMAN in the list to start your formula. If you like using the keyboard then type-in "=ro" and press the TAB key.

Enter the reference of the cell containing the number you want converted and you're done. Excel's ROMAN function converts positive numbers up to a maximum of 3999. The optional Form argument gives you a choice of up to four degrees of simplification of the classic roman form. For example, the value of 2500 can not be simplified and is expressed as roman MMD. However, 2499 is MMCDXCIX in the classic form but MMID in the simplified form. 

Enter your formula as =ROMAN(E6,FALSE) for the simplified form or use a number from 1 to 3 for the less simplified forms, i.e. =ROMAN(E6,2) gives you MMXDIX. I'm glad we don't have to use roman numerals in our Excel worksheets, no wonder Maximus* was always in a bad mood. 

Excel's 2013 ARABIC function
If you've got a copy of Excel 2013 you can convert roman numerals to arabic using the ARABIC function which was introduced with this version.




"My name is Maximus Decimus Meridius, commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered son, husband to a murdered wife. And I will have my vengeance, in this life or the next."

*Sorry, I just had to.

Related Posts


Training Courses

If you've still got that "I just don't know what I'm doing" feeling then you might like to arrange an Excel training course for yourself or with some of your colleagues. It's really easy to book one of our courses and they're great value for money. See our website for full details.