Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Year and Month Question?


Hi! Frank Kabel

Thanks for your help. One more question for you.

If I assign say "Aug" in column "B1". How do I quote in the formula s
that it understand that it is equal to 8.

e.g. like this (Month(Full!$A$1000:$A$2000)=B1)

Thanks
Michael

Frank Kabel Wrote:
Hi
try:
=SUMPRODUCT((Full!$K$1000:$K$2000=2)*(Full!$AD$100 0:$AD$2000=1)*(Month(
Full!$A$1000:$A$2000)=8)*(YEAR(Full!$A$1000:$A$200 0)=2002))

--
Regards
Frank Kabel
Frankfurt, Germany




--
Michael16
-----------------------------------------------------------------------
Michael168's Profile: http://www.excelforum.com/member.php...info&userid=60
View this thread: http://www.excelforum.com/showthread.php?threadid=27449

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Year and Month Question?

You wouldn't. You would put 8 in B1. If you want to put in Aug, then put a
formula in B1 that will translate that to 8

in B1 (Aug in A1)

=IF(A1="","",MONTH(DATEVALUE(A1 & " 1, 2004")))



--
Regards,
Tom Ogilvy

"Michael168" wrote in message
...

Hi! Frank Kabel

Thanks for your help. One more question for you.

If I assign say "Aug" in column "B1". How do I quote in the formula so
that it understand that it is equal to 8.

e.g. like this (Month(Full!$A$1000:$A$2000)=B1)

Thanks
Michael

Frank Kabel Wrote:
Hi
try:
=SUMPRODUCT((Full!$K$1000:$K$2000=2)*(Full!$AD$100 0:$AD$2000=1)*(Month(
Full!$A$1000:$A$2000)=8)*(YEAR(Full!$A$1000:$A$200 0)=2002))

--
Regards
Frank Kabel
Frankfurt, Germany





--
Michael168
------------------------------------------------------------------------
Michael168's Profile:

http://www.excelforum.com/member.php...nfo&userid=605
View this thread: http://www.excelforum.com/showthread...hreadid=274495



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Year and Month Question?

Hi
as Tom said. Don't do this. But as an alternative try:
(TEXT(Full!$A$1000:$A$2000,"MMM")=B1)


--
Regards
Frank Kabel
Frankfurt, Germany

"Michael168" schrieb im
Newsbeitrag ...

Hi! Frank Kabel

Thanks for your help. One more question for you.

If I assign say "Aug" in column "B1". How do I quote in the formula

so
that it understand that it is equal to 8.

e.g. like this (Month(Full!$A$1000:$A$2000)=B1)

Thanks
Michael

Frank Kabel Wrote:
Hi
try:

=SUMPRODUCT((Full!$K$1000:$K$2000=2)*(Full!$AD$100 0:$AD$2000=1)*(Month(
Full!$A$1000:$A$2000)=8)*(YEAR(Full!$A$1000:$A$200 0)=2002))

--
Regards
Frank Kabel
Frankfurt, Germany





--
Michael168
---------------------------------------------------------------------

---
Michael168's Profile:

http://www.excelforum.com/member.php...nfo&userid=605
View this thread:

http://www.excelforum.com/showthread...hreadid=274495


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
Year/Month/Date Question Mike Excel Discussion (Misc queries) 4 November 18th 09 10:34 AM
Tell me which "season" (Month/Day through Month/Day) a date(Month/Day/Year) falls in (any year)??? misscrf Excel Discussion (Misc queries) 1 December 14th 07 02:59 PM
trying to get day/month/year froamt while user enters year only RADIOOZ New Users to Excel 3 June 7th 06 05:30 AM
Month & year question RGB Excel Discussion (Misc queries) 4 May 26th 06 12:54 PM
Year and Month Question? Michael168[_121_] Excel Programming 1 November 2nd 04 12:56 PM


All times are GMT +1. The time now is 03:47 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"