Solved

Choose Year

Posted on 2014-01-24
2
226 Views
Last Modified: 2014-01-24
Hi,

In the attached ss can you look at tab "Sales" and column L

I am trying to pick the year from Column A

Can i use a choose formula like i did in Column I?

Many thanks
Seamus
The-howl-sales.xlsx
0
Comment
Question by:Seamus2626
2 Comments
 
LVL 35

Accepted Solution

by:
mvidas earned 500 total points
Comment Utility
Hi Seamus,

You can use CHOOSE in column L like you do column I, but I don't know what you'd get out of it. You'd have to subtract the year below the smallest year, so the first year would result in a 1. For example, to make the years use the last two digits in word format, you could use
=CHOOSE(YEAR(A2)-2011,"Twelve","Thirteen","Fourteen")
But I don't know why you'd ever want to do that.

For column L just use =YEAR(A2) and put the number format as General. Then your autofilter can easily filter by year.

Matt

EDIT: Brief explanation of choose. CHOOSE uses a numeric result between 1 and 254 to return a result. So if A2 had a number between 1 and 254, you could use
=CHOOSE(A2,"result if one","result if two","result if three",etc). That is why you use it for column I, because the WEEKDAY formula returns 1-7.
0
 

Author Closing Comment

by:Seamus2626
Comment Utility
Perfect Matt,

For column L just use =YEAR(A2) and put the number format as General. Then your autofilter can easily filter by year.

Is what i was looking for

Thanks!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now