PC Review


Reply
Thread Tools Rate Thread

4 SETS OF CRITERIA USED TO DISPLAY ANSWER

 
 
Mally
Guest
Posts: n/a
 
      24th Nov 2008
Hi

I have a list of dates in column C e.g. 01/10/2008

Column D equals the dates in column C and are formatted using the custom
'mmm' e.g. Oct

What I need is a formaula in column E that shows

If D1=Apr, May or Jun then the formula result displays "Q1"
OR
If D1=Jul, Aug or Sep then the formula result displays "Q2"
OR
If D1=Oct, Nov or Dec then the formula result displays "Q3"
OR
If D1=Jan, Feb or Mar then the formula result displays "Q4"

The formaula will be copied down the column

Thank you in advance.
 
Reply With Quote
 
 
 
 
Satti Charvak
Guest
Posts: n/a
 
      24th Nov 2008
hi Mally,

use this formula:

=IF(MONTH(A1)<4,"Q4",IF(MONTH(A1)<7,"Q1",IF(MONTH(A1)<10,"Q2","Q3")))


--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast


"Mally" wrote:

> Hi
>
> I have a list of dates in column C e.g. 01/10/2008
>
> Column D equals the dates in column C and are formatted using the custom
> 'mmm' e.g. Oct
>
> What I need is a formaula in column E that shows
>
> If D1=Apr, May or Jun then the formula result displays "Q1"
> OR
> If D1=Jul, Aug or Sep then the formula result displays "Q2"
> OR
> If D1=Oct, Nov or Dec then the formula result displays "Q3"
> OR
> If D1=Jan, Feb or Mar then the formula result displays "Q4"
>
> The formaula will be copied down the column
>
> Thank you in advance.

 
Reply With Quote
 
Satti Charvak
Guest
Posts: n/a
 
      24th Nov 2008
to be more correct for your case, it should be:

=IF(MONTH(C1)<4,"Q4",IF(MONTH(C1)<7,"Q1",IF(MONTH(C1)<10,"Q2","Q3")))

It doesnot matter with the month formula, whether you pick the date from
column "C" or "D".


--
Kind Regards,
Satti Charvak
Only an Excel Enthusiast


"Satti Charvak" wrote:

> hi Mally,
>
> use this formula:
>
> =IF(MONTH(A1)<4,"Q4",IF(MONTH(A1)<7,"Q1",IF(MONTH(A1)<10,"Q2","Q3")))
>
>
> --
> Kind Regards,
> Satti Charvak
> Only an Excel Enthusiast
>
>
> "Mally" wrote:
>
> > Hi
> >
> > I have a list of dates in column C e.g. 01/10/2008
> >
> > Column D equals the dates in column C and are formatted using the custom
> > 'mmm' e.g. Oct
> >
> > What I need is a formaula in column E that shows
> >
> > If D1=Apr, May or Jun then the formula result displays "Q1"
> > OR
> > If D1=Jul, Aug or Sep then the formula result displays "Q2"
> > OR
> > If D1=Oct, Nov or Dec then the formula result displays "Q3"
> > OR
> > If D1=Jan, Feb or Mar then the formula result displays "Q4"
> >
> > The formaula will be copied down the column
> >
> > Thank you in advance.

 
Reply With Quote
 
MartinW
Guest
Posts: n/a
 
      24th Nov 2008
Hi Mally,

Try this in E1 and dragged down

=LOOKUP(MONTH(D1),{0,4,7,10,13},{"Q4","Q1","Q2","Q3"})

HTH
Martin



"Mally" <(E-Mail Removed)> wrote in message
newsAD0BEB5-F6CD-4456-8775-(E-Mail Removed)...
> Hi
>
> I have a list of dates in column C e.g. 01/10/2008
>
> Column D equals the dates in column C and are formatted using the custom
> 'mmm' e.g. Oct
>
> What I need is a formaula in column E that shows
>
> If D1=Apr, May or Jun then the formula result displays "Q1"
> OR
> If D1=Jul, Aug or Sep then the formula result displays "Q2"
> OR
> If D1=Oct, Nov or Dec then the formula result displays "Q3"
> OR
> If D1=Jan, Feb or Mar then the formula result displays "Q4"
>
> The formaula will be copied down the column
>
> Thank you in advance.


 
Reply With Quote
 
Mally
Guest
Posts: n/a
 
      24th Nov 2008
Thank you Satti for your kind help. It works perfectly.

Mally

"Mally" wrote:

> Hi
>
> I have a list of dates in column C e.g. 01/10/2008
>
> Column D equals the dates in column C and are formatted using the custom
> 'mmm' e.g. Oct
>
> What I need is a formaula in column E that shows
>
> If D1=Apr, May or Jun then the formula result displays "Q1"
> OR
> If D1=Jul, Aug or Sep then the formula result displays "Q2"
> OR
> If D1=Oct, Nov or Dec then the formula result displays "Q3"
> OR
> If D1=Jan, Feb or Mar then the formula result displays "Q4"
>
> The formaula will be copied down the column
>
> Thank you in advance.

 
Reply With Quote
 
Mally
Guest
Posts: n/a
 
      24th Nov 2008
Thank you too Martin. The Vlookup worked too.

Mally

"MartinW" wrote:

> Hi Mally,
>
> Try this in E1 and dragged down
>
> =LOOKUP(MONTH(D1),{0,4,7,10,13},{"Q4","Q1","Q2","Q3"})
>
> HTH
> Martin
>
>
>
> "Mally" <(E-Mail Removed)> wrote in message
> newsAD0BEB5-F6CD-4456-8775-(E-Mail Removed)...
> > Hi
> >
> > I have a list of dates in column C e.g. 01/10/2008
> >
> > Column D equals the dates in column C and are formatted using the custom
> > 'mmm' e.g. Oct
> >
> > What I need is a formaula in column E that shows
> >
> > If D1=Apr, May or Jun then the formula result displays "Q1"
> > OR
> > If D1=Jul, Aug or Sep then the formula result displays "Q2"
> > OR
> > If D1=Oct, Nov or Dec then the formula result displays "Q3"
> > OR
> > If D1=Jan, Feb or Mar then the formula result displays "Q4"
> >
> > The formaula will be copied down the column
> >
> > Thank you in advance.

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF FUCTION WITH 2 SETS OF CRITERIA Mark D Microsoft Excel Worksheet Functions 7 18th Sep 2009 07:49 AM
VLOOKUP on 2 sets of criteria =?Utf-8?B?U2FuZHk=?= Microsoft Excel Programming 4 1st Oct 2007 08:23 PM
Vlookup for 2 sets of Criteria (or do I need to use something else =?Utf-8?B?QnV6ejA3?= Microsoft Excel Misc 9 23rd Aug 2007 10:16 PM
SUMIF with two sets of criteria =?Utf-8?B?bHV2dGhhdm9ka2E=?= Microsoft Excel Misc 5 29th May 2006 08:02 PM
Counting using two sets of criteria Spiketrip Microsoft Excel Worksheet Functions 9 28th Jan 2004 06:03 PM


Features
 

Advertising
 

Newsgroups
 


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