Dates

C

chimp

I have to right an if statement relating to a range of dates.

I am more concerned about how to tell the if statement about the dat
range to start with.

i need it so that if

dates are between 1st January and 31st march they will be Quarter 1

dates are between 1st April and 30th June they will be Quarter 2

dates are between 1st July and 30th September they will be Quarter 3

dates are between 1st October and 31st December they will be Quarter 4

How would i set it up to understand this.

Cheers

And
 
C

chimp

hi i have tried looking but aint got a clue, where your looking...cos
cant see anything related to my question....

i know it is gonna be me, cos i am useless at this type o
thing..please help.

And
 
R

Ron Rosenfeld

I have to right an if statement relating to a range of dates.

I am more concerned about how to tell the if statement about the date
range to start with.

i need it so that if

dates are between 1st January and 31st march they will be Quarter 1

dates are between 1st April and 30th June they will be Quarter 2

dates are between 1st July and 30th September they will be Quarter 3

dates are between 1st October and 31st December they will be Quarter 4

How would i set it up to understand this.

Cheers

Andy

With date in A1:

="Quarter "& CEILING(MONTH(A1)/3,1)


--ron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top