View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
MJW[_2_] MJW[_2_] is offline
external usenet poster
 
Posts: 39
Default Column value for row = fiscal quarter (determined by date field)

Hi All,

I have a sheet (roughly 6k rows) in which I've inserted a column to assign a
fiscal quarter label dependent on the date in the column following it. Eg:
A B C etc....
Fiscal Quarter Date Data
(dependent on B) 8/7/07 Case data and other irrelevants...

I attempted doing a multi-nested IF statement to assign "Q1 07", "Q2 07",
"Q3 07" or "Q4 07" depending on the date range and no matter what the actual
related date is, it invariably results in "Q1 07".

=IF(12/2007<A34/2007, "Q1 07", IF(3/2007<A37/2007, "Q2 07",
IF(6/2007<A310/2007, "Q3 07", IF(9/2007<A31/2008, "Q4 07"))))

(I also tried this using the DATEVALUE format for the dates, just in case
Excel wasn't reading my ranges as dates. No go with that either.)

I'm sure there's an easy way to do this, I'm just not finding it.

Thanks,

Jamie