Skip to main content

EXCEL help needed!!

Here’s a real world problem sent to me by a colleague. I think I’ll turn it over to my students for a couple days. Should be fun to watch.

 

I don't know if this is a good email address or not, but I thought I would try.  I need your help with something.  Since you seem to be our resident expert in Excel. :o)    Maybe you could put some of your students on this one...  (they're gonna love me for this!)

 

Here is my delima.  I want to automatically calculate the 'age' according to the dates (Date of birth vs. today's date).  You can see the formula below.  It works!!!  yay!  My problem, however, is that if there is no DOB entered, it calculates incorrectly.  I want it to return a 'Null' or 'error' or something indicating that information is missing.  Do you know how that could be accomplished?  I know that I could type something like 'N/A' in the DOB field and it would return a 'VALUE' error, but I don't want to have to mess with that.  Whatcha think?  You up for a challenge?

  

=DATEDIF(GD2,TODAY(), "y") & " years "

Date of Birth

Age

03/01/2000

9 years

06/18/2003

5 years

11/05/1996

12 years

 

109 years

109 years

109 years

 

Popular posts from this blog

Classcraft Interactive Notebook Page

Finished crafting interactive notebook pages for Classcraft, an engaging classroom management tool.

This fall I plan to add interactive notebooks to my classroom procedures. The goal is to provide students with something tangible to take home at the end of the semester. So that means creating or borrowing resources to guide students in developing their notebook.

Classcraft is a classroom management tool, an elaborate punishments and reward system designed like an epic role play game. Students create avatars and can upgrade pets and outfits based on experience and gold points earned. They can also lose points and suffer minor penalties. Everything is done in a fun, game like environment.

The computer lab is already divided into five or six stations, which lends itself easily to guilds or teams of students who work together in the game. I want students to develop their own backstory and choose their characters for the good of the group. I also need students to keep their login info some…

Exploring Science and Math through Music and Messes

If you have ever seen a music video by the music group OK Go, you know that they enjoy experimentation and quirky effects. Now all that energy is available for teachers in the classroom, with maybe slightly less mess.

In cooperation with Google and Morton Salt, they have produced a set of three STEM related lesson plans complete with tie-ins to their most popular videos. You can get your hands dirty in this wonderful playground at the OK Go Sandbox.

Lego Mindstorm Maze Runner

Students were tasked with writing a program for their robot to successfully navigate a preset maze. This used only directional command blocks (no sensors). The goal was to recognize sequencing, patterns and to become comfortable with testing and making modifications based on test results.