Showing posts with label excel. Show all posts
Showing posts with label excel. Show all posts

09 April 2012

Thanks For All The Fish. And Computers.

I've been thinking about all the things I do and have just updated my website, andrew-hill.net, to feature What I do and I realised just how lucky I am to be alive at this time and to have so many amazing tools just there, ready to use, so many people just there, ready to help. And it's all free. Well, apart from some electricity or phone rental, which isn't much. So I'd like to say thank you to everyone out there who makes all this possible.

My favourite author, Douglas Adams, was born in the same year as me. I share many of his interests and delights (although I never bought a Mac!) and I often think it was such a shame he didn't live to share in all this. I think he would have enjoyed it so much too.

Text design
I have always loved doing my own designs for leaflets, letterheads, posters and the like. That used to mean buying sheets of Letraset and carefully positioning each letter, rubbing over it with the end of a pencil or a stylus if I was being really careful, and hoping that the serifs would stick down properly and that I wouldn't run out of Rs or Ts. There were usually enough Es.

Now there are lots of lovely programmes that make this easy and, of course, there are web design tools too so that I can publish them and see them on screen.

ICT training
My first real experience of word processing was with golfball typewriters and then daisy wheel ones which did allow me to make mistakes and fix them without having to throw away too many sheets of company notepaper. The biggest leap was with a Digital Dual Display computer we bought for the office. It cost about £12000 and the printer was so noisy we bought a special box for it. Even that wasn't brilliant though and it finished up on the floor below where it could bother someone else! I often thought that was a bit unfair so let me say sorry now to Lyndsey, Katrina and Susan in particular, as well as thank you to Jeanne and Judy who had to go up and down stairs a lot to get whatever they'd printed.

We taught ourselves then, just as I have done since with all the programmes I've had to get used to since. From Locoscript to WordStar to Works to Word and 97 to 2010 and no doubt there'll be more to follow. I also started teaching others in the late 90s as people started buying computers either at work or for their children to use at home. I still have the Introduction to Access and Spreadsheet booklets I wrote and provided for the sessions as well as many more. That was a job that I just kind of fell into and have been doing in some form or another ever since.

Teaching
As well as ICT training, teaching other subjects has been made so much easier with places to store materials that students can access when they like. Having extra tasks on hand for those that complete the first ones, having examples I can share so that I don't have to try and explain or draw them on the board. Being able to find answers to questions within minutes as opposed to spending hours researching in books and magazines. All these internet tools have made that job something I could do and feel that I could contribute more to.

Working with pictures
I remember getting photos back from the chemist and being pleased with a few of them but seldom all of them! You could get enlargements but it was expensive and quite complicated. You had to try and indicate exactly which part you wanted enlarged and could seldom do much about the ones that weren't straight or with poor lighting. I so much wanted to do more with my photos and there was one school friend who understood developing and even had an enlarger and all the papers and chemicals at home but it looked difficult and I couldn't ask him to spend much time on my ideas.

Photocopiers were a great advance and I did quite a lot with them but the grainy and solely black and white images weren't really what I wanted. So when computers came along and I could actually scan my own pictures, crop them and do all sorts of editing I was in heaven! Then digital cameras arrived and, whilst the first one I had (free with some software and with something like a maximum of 320 pixels!) wasn't particularly great, the next one was and, in fact, had it not been stolen in 2004 I would probably still be using it now.

To be able to take as many pictures as you want and not worry about the cost is extraordinarily liberating and I can experiment and even when the results aren't quite right there are tools that can help fix them. More than anything, I think, this has been the most pleasurable development, even though it hasn't made me any money!

Writing
I have always written things, from articles to books and poems. I love writing. Whatever I did write, though, stayed virtually unseen in a pile of big books, little books and scarps of paper. I dreamed of publishing them but could never afford it. I did try printing a 450 page novel at one place where I was running some ICT courses. They had a super fast printer that did things like double-sided printing and could put two pages onto one. That enabled me to have an actual printed copy of the book and some spares to give to friends with page numbers that changed automatically if I made changes to the chapters too.

Previously, with an Amstrad PC and printer it took 1 minute to print a page and you had to remove that and insert a fresh sheet each time. I calculated that my 450 page book would take several days to print! (I did do it, though. Once.)

Now I have been able to publish my novels, with my own cover designs and jackets. I have poems on blogs and articles in a range of technical on-line journals. I'm not making any money from this but the feeling of holding your own hardback book after so many years is wonderful. To see my articles and poems on screen is good, too, and to be able to share them and hope others might enjoy them too is most satisfying.

I now write regularly for a range of TV shows and entertainment programme reviews. Again, it's mostly for fun but some of these are proving remarkably popular with lost of people seeming to read them so that makes it worthwhile too.

Whereas previously all I would have done is scribble away to myself and hope someone appreciates it when I'm gone or finds it of historical value of some sort, now I can get the kick of seeing people enjoy what I write shortly afterwards.

Numbers
I have played with numbers and been fascinated by maths since my school days. Now, with spreadsheets, I can produce all sorts of graphs and series and things and just play with formulae for hours if I ever have a few spare.

There are also great resources available on-line for those that wish to learn more. My children have enjoyed the Khan Academy courses and I have even tried to teach myself some python programming with Udacity recently.

Editor
Whilst I seldom spot my own mistakes very quickly, I do seem to be able to spot others' almost instantly and enjoy helping rephrase text as well as correcting spelling and grammar for people, especially where it's in an important document they're proposing to share with others. Word processors make this a simple task although I don't rely on their in-built checks! Even I will have trouble with some words, though, and to be able to look them up on-line and get a quick spelling idea saves me a lot of time. Word count, too, is a real time-saver!

Being able to compare students' texts to both other students' submissions and what might be published elsewhere is also an invaluable tool.

Business
I once had a client who wanted to develop a business and he provided me with new sets of figures almost every week. I spent days and nights setting up a sort of spreadsheet (although it wasn't called that in 1982) which would do all the calculations for monthly balances, cash flow etc. It was wonderful and meant that I could do more of that sort of interesting work more often. Now I can illustrate different scenarios and produce charts for this as well as nice sheets of numbers in a flash with software like Excel.

This led me into the world of helping new businesses assess feasibility of new developments and, of course, those that did proceed would need stationery, leaflets promotional material and logos, corporate identities and, more recently, web sites too. Great. Just my sort of work and I have had a wonderful time helping ideas become real and helping to make them look good too. The computer and all the software tools have made this possible whereas before I would probably never have got so involved.

Music
Then there is music. I love the sound of the Sixties as well as every decade since. As a teenager, I would have to try and record tracks with a microphone held up to the radio or TV speaker and hope no-one made any noise in the background. The tapes were fiddly and not brilliant quality but I was able to build a collection of favourites. Albums and singles were expensive for me. Yes, I bought quite a few but not nearly as many of the tracks that I would like to have done at the time.

Now, I have a really comprehensive collection of good quality music and can listen to what I want, when I want and almost wherever I want. It's crazy. There was even a track I thought I would never, ever find because it was something I heard for just a few weeks one summer. It never got into the charts but I sort of got hooked on it and never forgot it. A little while ago I discovered that all Radio London's Fab Forty Chart programmes were available on-line and, sure enough, there were a couple of weeks when that track was to be played. With a simple bit of recording software and some editing, I now have that track in my collection and can play it any time I want. That's all so cool.

In fact, everything I do is amazingly influenced by having software that is mostly free, on computers that are not expensive. I can compete with others for business. I can express my views on things and expect at least some people to see them. I can do so much that I love doing without spending a penny now that I have the essentials. I will never have time to do everything I'd like to.

The possibilities are now endless. But I shall enjoy every moment.

28 February 2012

Does 6/2x(1+2) = 1 or 9?

A popular journalist on consumer financial matters, Martin Lewis, tweeted this question today and for several hours my Twitter timeline was inundated with argument about whether 6/2x(1+2) equalled 1 or 9. There were professors, teachers, students and the whole range of responses. Some had done calculations on their phones, others on calculators, some had used Excel or programme scripts. Many just worked it out in their heads.



Everyone in the 1 camp was quite convinced they were correct. As, of course, were the 9 camp. I have to admit to being in the 9 camp too, on the basis of BODMAS. Bodmas is what I was taught at school as the order in which we should do calculations: first calculate whatever's in the Brackets, then any 'Of' calculation which, confusingly seems the same as multiplication but not the M of Multiplication which comes after Division, finishing up with Addition and Subtraction (unless of course they're in the brackets!!).

So, doing the (1+2) gives you 3 and it's re-written 6/2x3. Then you do 6/2 which is also 3. Finally 3x3 gives you the majority view of the 9 camp.

The point of this short article is really just to say that I think it is simply lazy to write such an expression in the first place. It is bound to cause confusion - it isn't clear what you're talking about and, witness very respectable programmes and top end calculator results, it will produce different results on different programmes or machines and so is not suitable as an expression in the first place.

In the real world, the expression 6/2x(1+2) will be based on some actual activity. It could be that I have six kids and need to know how many fruit in total the girls have. Half of my kids are girls and each has 1 orange and 2 apples. Clearly the answer to that is 9. I have three girls (6/2) and each has (2+1) items of fruit.

On the other hand I may have six peaches and want to share them with two groups of kids, each group having one girl and two boys? Answer 1 each. Obvious really.

In each case I would never have dreamed of leaving the calculation down to chance. In the first case I would have written (6/2)x(1+2) and in the second 6/(2x(1+2)).

Then I could have been confident that everyone understood the question and could achieve the same and desired result. And I wouldn't have a day filled with beeps from new tweets every few minutes.

By the way Martin Lewis is well worth following if you're interested in money saving matters. You'll find him at @MartinSLewis. I'm @Kirrisdad and a money spending expert.
.

25 October 2011

Web display - some statistics to bear In mind these days

Windows 7 overtook Windows XP at last a little while ago. Mac and Linux maintain a small but constant share and it will be interesting to see how Android and mobile browser use statistics grow.

There are three clear leaders in the browser field: Firefox, Chrome and Internet Explorer. Google and Mozilla continue to eat away at Microsoft's domination. Will IE9 halt that decline? Will Chrome take over the No.1 spot?

Time was when we designed web pages for users with 800 pixel screens with some nods towards the 1024 folk with nice backgrounds to occupy the space either side. Now, it would seem safe to move to utilise an extra 25% of monitor estate although we may have to make mobile versions more readily available too. Unless your site is going to appear as a small box on the screen it may be time to look again at all those 760 pixel pages! But let us hope text lines don't start stretching.


These charts have been made using Google Documents' Spreadsheets and feature data from W3Schools. The nice thing about Google Charts is that now you can add them to sites not as a mere image but as an interactive feature where you can move the mouse to see more data and if I change the 'home' spreadsheet these will be automatically updated too. That is just so cool.

Google Charts are still in development and I noticed that I wasn't able to add a text box (for the thanks to W3Schools bit, for instance) and the Spreadsheet is still a bit clunky compared to Excel. Try as I did, changing the dates so that they would actually be interpreted as dates not text proved impossible (unless I added 1 to each which would have been a drag) and percentages seem to have to be either 0 or 2 decimals (or umpteen, perhaps) just not 1 decimal point as I wanted. No doubt someone will tell me how to fix these things under the bonnet before long!

Beware! Statistics Are Often Misleading


You cannot - as a web developer - rely only on statistics. Statistics can often be misleading. Global averages may not always be relevant to your web site. Different sites attract different audiences. Some web sites attract professional developers using professional hardware, while other sites attract hobbyists using old low spec computers. Also be aware that many statistics may have an incomplete or faulty browser detection. It is quite common by many web-stats report programs, not to detect the newest browsers. (The statistics above are extracted from W3Schools' log-files, but they are also monitoring other sources around the Internet to assure the quality of these figures).

26 June 2009

when = doesn't = equals in Excel 2007?

Just for a change, it's me that's looking for an answer. Something strange happened during a recent Excel 2007 course when I was demonstrating how to make one cell use the content of another one and compare it then put a statement in a box depending on what the result was. For years I have been using something along the lines of =if(A1=0.01,"right","wrong"). Pretty simple stuff but it didn't work!

Investigating, it appeared that instead of A1 containing something like 0.01 which was the result of some basic adding and multiplying it actually contained something like 0.0099999913. So I was getting wrong when it should have been right.

We looked at other numbers on the sheet and lots of them were similarly odd. Even though we'd entered just numbers with at most two decimal places in cells and none of the calculations could have led to intermediate steps in the calculations (just adding or subtracting or multiplying by whole numbers) some had lots of extra decimals and were nearly the right number and when rounded showed the right number but weren't stored by Excel as the right number.

Now, unless I have been really silly or the coffee and biscuits had a detrimental effect on not only my sanity but also that of some pretty talented delegates, this is bizarre to say the least. I guess I should do a search for the answer but thought I'd share it with you just to show that there are questions I can't answer! No doubt there'll be more on this soon!

09 May 2008

OpenOffice 3

There's a beta version of this popular and free Office package now released for public testing. By this point most bugs have been sorted and it ought to function smoothly. From a quick glimpse this is a genuinely new version and offers a smart interface and plenty of features. Of course, two reasons alone make it worthwhile for many (other than being free!).

You can save as or open pdfs which Office 2007 will not. You can open Word2007 documents which WordXP will not (without a shove and a push from a converter you need to download).

Give OpenOffice 3 a try - and do feed back any things you'd like changed to the OpenOffice developers. Links to how to do that are available at the software download site.

http://download.openoffice.org/3.0beta

19 October 2007

1+1=3

This is, of course, an extremely old trick in Excel which I use to try and generate some interest in spreadsheets when teaching at the sleepy 3pm slot.



The formula for F4 looks fine, so why on earth does it show the wrong answer?

It's all to do with the difference between what Excel knows and what Excel shows. The figures above have had their decimal display adjusted so the display is rounded to the nearest whole number. In fact the data in B4 and D4 is 1.4 and in F4 Excel calculates 2.8

Whilst this may seem either stupid to do in the first place, obvious or generally something you don't need me to tell you about, problems can arise when, for example, dealing with money. You may well not notice that costs from some other calculations, rounded to the nearer penny, actually add up to a different total than the figure Excel shows as a total. Excel will add the exact figures (calculating up to 15 decimal places) and then round the total to the nearer penny - not necessarily the same thing. In an RSA OCR spreadsheet exam many years ago this occurred and only one out of hundreds of students spotted it and asked me what to do.

If you prefer to have 1 and 1 making 2, and totals of displayed figures adding up to the same figure as you'd get from good old mental arithmetic, counting on fingers or even an old calculator, then you'll need to tell Excel what you want.

There are three useful formulae:
=ROUND() does what Excel does naturally when you change the decimal display, rounding to the nearest number of digits indicated
=INT() may be more useful, displaying just the whole number
=TRUNC() is the best option, restricting the number stored to a chosen number of digits.




You could now, for example add up column H or I and get 30 using the usual sum formula. It is important to apply the formula at the right stage of a calculation but this might help avoid less obvious but potentially costly or embarrassing errors.

Office 2007 - where's the menu for this or that?

With acknowledgements again to Steve (trust me I'm a) Dr North at Agora, Microsoft have published some guides to help you figure out where to find the various tools that we all know exactly where to find in older versions of Word, Excel etc but can spend ages trying to find in Office 2007.

You can either access them directly on the Microsoft site or download them from there and use them off-line.

Word
Excel
PowerPoint

03 October 2007

Excel2007 makes mistakes!

Try multiplying 77.1 by 850 in Excel2007. Should be 65535. Microsoft seem to think it should be 100000. In fact any multiplication that should give an answer of either 65535 and 65536 goes wrong. Weird! I would be interested to know of any other odd 'answers'. Microsoft are to issue a patch for this particular one but who knows what others remain?

24 September 2007

Office 2007 Ultimate for £12.95

Now, as regular readers will know, I've been more than content with Office 97 for getting on for ten years. You get pretty familiar with software, for better or worse, when you've been wed to it for that long and I'm still finding things I didn't realise Word97 or Excel97 could do. It was such a huge relief too, after the hassles of teaching in a combination of Word6, 7 and 95. A mere £12.95, however, could get someone on a course with a .ac.uk e-mail address the full 2007 pack for a year or, probably the better deal, £39 for a full licence.

That's a remarkable figure. £39 vs £600 retail!

The offer's intended for students. The .ac.uk restriction will, unfortunately, exclude many and strikes me as a mistake as I know of many genuine students who are not provided with college e-mail accounts in these days of everyone having a perfectly adequate account of their own or using communication facilities within VLEs like moodle. Microsoft also state that the course should be at least 0.5 which I believe means requiring attendance, or study, for at least two and a half days a week during semesters or terms.

It's worth enrolling on something for that deal. Big Blue Brother reserves the right to check your entitlement and, for that sort of discount, I'm inclined the say that's reasonable enough.

Even if you can't figure a way to get eligible, do tell your students.

Here's the link to full details.

13 September 2007

Excel hyperlink color colours

There I was, actually doing something to get a bit more organised at the start of term in the shape of a timetable for my teaching when I hit a problem that had me scratching my head. Finished up having to look on various forums to get the answer so here's the problem and the solution which may save you a few hours one day!

For some reason best known to me I had used blue blocks for various lessons with white text. To make life simple I put hyperlinks on the text so that clicking a lesson would take me to the appropriate register. Of course, the text turns blue and gets underlined and is virtually invisible. Or it goes purple as a 'visited' link.




Ok, that'll be easy to fix, I say to myself. Uh-uh. Tried almost every menu. Tried the Microsoft help files but I seldom get much joy there anyway. Thought about the PCAdvisor forums but they don't have an obvious Excel place. Normally I would have popped into Woody's Lounge but that's under some redevelopment and temporarily off-line. Eventually I find Vastly Important Notes blog by Phil Libin and get the answer. Another addition to my favourites list.

You need Format | Styles and there you can change Hyperlink and Followed Hyperlink colours (or colors in MS speak).



That's better!

28 February 2007

London, because it's the least inconvenient . . . ?

Ten people trying to decide where to meet. Everyone has a good reason for not wanting to go somewhere as well as their own preferences. How do you decide? The boss says "London, because it's the least inconvenient" and he may well be right but it would be nice to see it in writing. Rather foolishly, I thought it would be easy to knock up a spreadsheet that would add up people's votes and work out what was actually the most popular, least inconvenient or whatever. Partly because I decided to include all sorts of checking things, validation and partly because I'd never used =AND before, it took ages!

No doubt the meeting's been arranged in London by now and it really needs to work on the web to do what I wanted but maybe all the effort will be of use to someone teaching Excel or trying to figure out some formulae. The sheet's protected but there's no password. Let me know if you use it, have a better idea or spot errors.

It's a small file that you can get here. There's an on-line version that actually seems to work using Google spreadsheets. Amazing! As I might really use this I'll just give the team the address for now but will release the link genrally soon.