Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LPS LPS is offline
external usenet poster
 
Posts: 108
Default XL2000 More Function Problems

My Excel 2000 workbook has two sheets, the first (Evaluation Detail) contains
details about course evalutions per instructor. Column A is Course Name, B
and C are Course Numbers, D is Course Date, E is Training Provider, F is
Instuctor Name, G thru P are evaluation scores and Q is Evaluation Average.

On the second sheet (Evaluation Summary), I am using the following function
to calculate the number of courses taught by each instructor, from
"Evaluation Detail". It works perfectly in its original cell, representing
the month of September. When I copy it over to the total number of courses
cell for October, and change the date reference to October, it returns a
"False", even though there is data in the cells referenced by the function
(it should return a "1").

=IF(AND('Evaluation Detail'!$D$7:$D$500=DATE(2008,10,1),'Evaluation
Detail'!$D$7:$D$500<=DATE(2008,10,31)),SUMPRODUCT(--('Evaluation
Detail'!$B$7:$B$500<0),--('Evaluation Detail'!$F$7:$F$500="Linda
Sgabellone")))

I am getting very confused. Why does it work in one cell and not another,
when the cell references have not been changed - the only change is the date
value?

If anyone can explain this I would be very relieved and grateful.
--
LPS
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default XL2000 More Function Problems

LPS,

When you use the AND as the condition with a multi-row range, it is evaluated using only the values
on that row.

Try it this way instead:

=SUMPRODUCT(('Evaluation Detail'!$D$7:$D$500=DATE(2008,10,1))*('Evaluation
Detail'!$D$7:$D$500<=DATE(2008,10,31))*('Evaluatio n Detail'!$B$7:$B$500<0)*('Evaluation
Detail'!$F$7:$F$500="Linda Sgabellone"))


HTH,
Bernie
MS Excel MVP


"LPS" wrote in message
...
My Excel 2000 workbook has two sheets, the first (Evaluation Detail) contains
details about course evalutions per instructor. Column A is Course Name, B
and C are Course Numbers, D is Course Date, E is Training Provider, F is
Instuctor Name, G thru P are evaluation scores and Q is Evaluation Average.

On the second sheet (Evaluation Summary), I am using the following function
to calculate the number of courses taught by each instructor, from
"Evaluation Detail". It works perfectly in its original cell, representing
the month of September. When I copy it over to the total number of courses
cell for October, and change the date reference to October, it returns a
"False", even though there is data in the cells referenced by the function
(it should return a "1").

=IF(AND('Evaluation Detail'!$D$7:$D$500=DATE(2008,10,1),'Evaluation
Detail'!$D$7:$D$500<=DATE(2008,10,31)),SUMPRODUCT(--('Evaluation
Detail'!$B$7:$B$500<0),--('Evaluation Detail'!$F$7:$F$500="Linda
Sgabellone")))

I am getting very confused. Why does it work in one cell and not another,
when the cell references have not been changed - the only change is the date
value?

If anyone can explain this I would be very relieved and grateful.
--
LPS



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
LPS LPS is offline
external usenet poster
 
Posts: 108
Default XL2000 More Function Problems

Thank you Bernie. That did work. I had to change the date references on the
first sheet by using the =Date function, but it solved that problem.

Have a great day.

--
LPS


"Bernie Deitrick" wrote:

LPS,

When you use the AND as the condition with a multi-row range, it is evaluated using only the values
on that row.

Try it this way instead:

=SUMPRODUCT(('Evaluation Detail'!$D$7:$D$500=DATE(2008,10,1))*('Evaluation
Detail'!$D$7:$D$500<=DATE(2008,10,31))*('Evaluatio n Detail'!$B$7:$B$500<0)*('Evaluation
Detail'!$F$7:$F$500="Linda Sgabellone"))


HTH,
Bernie
MS Excel MVP


"LPS" wrote in message
...
My Excel 2000 workbook has two sheets, the first (Evaluation Detail) contains
details about course evalutions per instructor. Column A is Course Name, B
and C are Course Numbers, D is Course Date, E is Training Provider, F is
Instuctor Name, G thru P are evaluation scores and Q is Evaluation Average.

On the second sheet (Evaluation Summary), I am using the following function
to calculate the number of courses taught by each instructor, from
"Evaluation Detail". It works perfectly in its original cell, representing
the month of September. When I copy it over to the total number of courses
cell for October, and change the date reference to October, it returns a
"False", even though there is data in the cells referenced by the function
(it should return a "1").

=IF(AND('Evaluation Detail'!$D$7:$D$500=DATE(2008,10,1),'Evaluation
Detail'!$D$7:$D$500<=DATE(2008,10,31)),SUMPRODUCT(--('Evaluation
Detail'!$B$7:$B$500<0),--('Evaluation Detail'!$F$7:$F$500="Linda
Sgabellone")))

I am getting very confused. Why does it work in one cell and not another,
when the cell references have not been changed - the only change is the date
value?

If anyone can explain this I would be very relieved and grateful.
--
LPS




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
XL2000 - Average/If/And Functions LPS Excel Worksheet Functions 7 September 26th 08 11:14 AM
Workday function in XL2000 Steve[_4_] Excel Worksheet Functions 3 March 12th 08 08:54 AM
XL2000: "Filename is Not Valid" Steve Excel Discussion (Misc queries) 0 June 22nd 05 10:06 PM
FORMULAS IN CHARTS? xl2000 MGOETZ Charts and Charting in Excel 0 May 24th 05 06:48 PM
XL2000 - How do i change number base? Dropodwn Excel Discussion (Misc queries) 1 January 11th 05 12:30 PM


All times are GMT +1. The time now is 11:01 PM.

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

About Us

"It's about Microsoft Excel"