#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default IF or Lookup

I am trying to tell the cell to display the proper Quarter for the Month typed.
Jan-Mar = Q1
Apr-Jun = Q2
Jul-Sep = Q3
Oct-Dec = Q4
The probelm is IF functions only allow 7 itmes to be added & I would need at
least 8 to properly work. and I tried Lookup & haven't been able to properly
work either.
Any suggestions?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 258
Default IF or Lookup

Ozzy --

Try this:

A B
1 Jan 2006 ="Q"&ROUNDUP(Month(A1)/3,0)

Seems to work for me.

HTH
If you want to type

"Ozzyworld" wrote:

I am trying to tell the cell to display the proper Quarter for the Month typed.
Jan-Mar = Q1
Apr-Jun = Q2
Jul-Sep = Q3
Oct-Dec = Q4
The probelm is IF functions only allow 7 itmes to be added & I would need at
least 8 to properly work. and I tried Lookup & haven't been able to properly
work either.
Any suggestions?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,118
Default IF or Lookup

Try something like this:

With a text month name in A1

B1: ="Q"&CEILING(MONTH(--(A1&"-2006"))/3,1)

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Ozzyworld" wrote:

I am trying to tell the cell to display the proper Quarter for the Month typed.
Jan-Mar = Q1
Apr-Jun = Q2
Jul-Sep = Q3
Oct-Dec = Q4
The probelm is IF functions only allow 7 itmes to be added & I would need at
least 8 to properly work. and I tried Lookup & haven't been able to properly
work either.
Any suggestions?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lookup function gives wrong values occasionally [email protected] Excel Discussion (Misc queries) 3 July 1st 06 12:58 AM
Another way to lookup data David Vollmer Excel Worksheet Functions 1 September 23rd 05 05:16 AM
Lookup Vector > Lookup Value Alec Kolundzic Excel Worksheet Functions 6 June 10th 05 02:14 PM
Lookup function w/Text and Year Josh O. Excel Worksheet Functions 1 February 12th 05 11:27 PM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


All times are GMT +1. The time now is 04:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"