No. The column "Year to Date" contains numeric values.
How do the numeric values get there? (I would have thought that column
contained a formula).
In the drop down list Week is "Week 01", "Week 02" etc
Month is "November", "December" etc. In the columns these are represented by
numeric values.
The second sheet contains sales data. Each row represents details of an
individual sale.
No. All the salespeople are on the second sheet. This is represented on the
first sheet by all the sales persons names with the figures against them.
The week or month is chosen in the first sheet and is selected through a
drop down menu and a sub drop down menu. The first drop down menu lets u make
a choice between month or week and the second sub menu lets you choose either
the month name i.e. November or the week number i.e. Week 52.
Month written as text means that I have the month displayed in the sub menu
as November, december etc. I cannot link this sub menu to the Year to Date
formula as it needs to read a value to calculate this. So what I need to know
is a way of giving the month text a value.
Since you did not write otherwise, I assumed the value you wanted to give the
month text was a number between 1 and 12 corresponding to the month's place in
the year.
When I gave you a method in your previous thread:
=MATCH(A1,List_of_Months,0)
You were not clear as to the nature of the problem.
If you check HELP for the MATCH worksheet function, you will note that A1 is
the lookup value. You should substitute the cell reference that contains the
name of the month that you selected from the dropdown list.
List_of_Months, as I wrote, is the range where you have listed the individual
months to be used to generate your month drop-down list.
You should be able to figure out the reason for the "0" once you read HELP for
the MATCH function.
That function will return the month number, so you would use it wherever you
need the number of the month.
--ron