Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
PAL PAL is offline
external usenet poster
 
Posts: 200
Default VLOOKUP and SUMPRODUCT

I have 3 worksheets.

The first worksheet contains a column that has text in it and is formatted so.
The second worksheet, uses VLOOKUP to bring that value over.
The third worksheet uses SUMPRODUCT. The formula worked prior to adding the
parameter described above. The formula is:

=SUMPRODUCT(--('Enroll I'!$O$2:$O$2237="Regular"),--('Enroll
I'!$E$2:$E$2237<" Open"),--('Enroll I'!$M$2:$M$2237="Yes"),--('Enroll
I'!$H$2:$H$22370),--('Enroll I'!$N$2:$N$2237="No Data"))

This is the only new peice: ('Enroll I'!$O$2:$O$2237="Regular"). I get the
#N/A error.

I have tried changing the formating on the second worksheet but it is not
flying. Ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 320
Default VLOOKUP and SUMPRODUCT

Possibly there's already a #N/A error in range ''Enroll I'!$O$2:$O$2237
??

"PAL" wrote in message
...
I have 3 worksheets.

The first worksheet contains a column that has text in it and is formatted
so.
The second worksheet, uses VLOOKUP to bring that value over.
The third worksheet uses SUMPRODUCT. The formula worked prior to adding
the
parameter described above. The formula is:

=SUMPRODUCT(--('Enroll I'!$O$2:$O$2237="Regular"),--('Enroll
I'!$E$2:$E$2237<" Open"),--('Enroll I'!$M$2:$M$2237="Yes"),--('Enroll
I'!$H$2:$H$22370),--('Enroll I'!$N$2:$N$2237="No Data"))

This is the only new peice: ('Enroll I'!$O$2:$O$2237="Regular"). I get the
#N/A error.

I have tried changing the formating on the second worksheet but it is not
flying. Ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default VLOOKUP and SUMPRODUCT

Hi,

Check the VLOOKUP column and make sure none of the results are #N/A that
will cause the entire SUMPRODUCT formula to return #N/A.

You should be using (2003) something like:

=IF(ISNA(VLOOKUP(A1,Table,3,False)),"",VLOOKUP(A1, Table,3,False))

to handle NA's

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"PAL" wrote:

I have 3 worksheets.

The first worksheet contains a column that has text in it and is formatted so.
The second worksheet, uses VLOOKUP to bring that value over.
The third worksheet uses SUMPRODUCT. The formula worked prior to adding the
parameter described above. The formula is:

=SUMPRODUCT(--('Enroll I'!$O$2:$O$2237="Regular"),--('Enroll
I'!$E$2:$E$2237<" Open"),--('Enroll I'!$M$2:$M$2237="Yes"),--('Enroll
I'!$H$2:$H$22370),--('Enroll I'!$N$2:$N$2237="No Data"))

This is the only new peice: ('Enroll I'!$O$2:$O$2237="Regular"). I get the
#N/A error.

I have tried changing the formating on the second worksheet but it is not
flying. Ideas?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default VLOOKUP and SUMPRODUCT

This is the only new peice: ('Enroll I'!$O$2:$O$2237="Regular"). I get the
#N/A error.



Replace a new peice with this one:

(ISNUMBER(SEARCH("Regular",'Enroll I'!$O$2:$O$2237)))



"PAL" wrote:

I have 3 worksheets.

The first worksheet contains a column that has text in it and is formatted so.
The second worksheet, uses VLOOKUP to bring that value over.
The third worksheet uses SUMPRODUCT. The formula worked prior to adding the
parameter described above. The formula is:

=SUMPRODUCT(--('Enroll I'!$O$2:$O$2237="Regular"),--('Enroll
I'!$E$2:$E$2237<" Open"),--('Enroll I'!$M$2:$M$2237="Yes"),--('Enroll
I'!$H$2:$H$22370),--('Enroll I'!$N$2:$N$2237="No Data"))

This is the only new peice: ('Enroll I'!$O$2:$O$2237="Regular"). I get the
#N/A error.

I have tried changing the formating on the second worksheet but it is not
flying. Ideas?

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
Using SUMPRODUCT with a VLOOKUP mae_bear22 Excel Worksheet Functions 4 September 15th 08 06:59 PM
VLOOKUP, IF, SUMPRODUCT...oh my! Greg in CO[_2_] Excel Worksheet Functions 8 August 20th 08 07:22 PM
SUMPRODUCT or VLOOKUP JerryS Excel Worksheet Functions 1 May 8th 07 09:49 PM
do i use vlookup or sumproduct??? Lazclark Excel Discussion (Misc queries) 3 June 28th 06 10:23 AM
Sumproduct and Vlookup Nav Excel Discussion (Misc queries) 9 December 4th 05 12:55 PM


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