Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default using "or" twice

Ok, I figured out the whole {} meaning and how it works, here is my formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting it all
in "" taking out the ""'s removeing the 0's everything!!! Any help would be
great. Thanks

Sean
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default using "or" twice



"Sean" wrote:

Ok, I figured out the whole {} meaning and how it works, here is my formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting it all
in "" taking out the ""'s removeing the 0's everything!!! Any help would be
great. Thanks

Sean

  #3   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default using "or" twice

Hey Sean,

I believe your problem is A conversion ... You are SumProduct Excel is
expecting a number.... and your confusing it with ""...

Test it without the quotes... See if it works... Please let me know..

Don

"Sean" wrote:

Ok, I figured out the whole {} meaning and how it works, here is my formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting it all
in "" taking out the ""'s removeing the 0's everything!!! Any help would be
great. Thanks

Sean

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 208
Default using "or" twice

Tried it that way too still nothing!!! I dont get it????

"Don" wrote:

Hey Sean,

I believe your problem is A conversion ... You are SumProduct Excel is
expecting a number.... and your confusing it with ""...

Test it without the quotes... See if it works... Please let me know..

Don

"Sean" wrote:

Ok, I figured out the whole {} meaning and how it works, here is my formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting it all
in "" taking out the ""'s removeing the 0's everything!!! Any help would be
great. Thanks

Sean

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default using "or" twice

Hi there,

Looks pretty good. Have you tried using the formula auditor? (Tools |
Formula Auditing | Show Formula)

...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*('DATA ENTRY
SHEET'!$F$2:$F$4))

-Zack Barresse


"Sean" wrote in message
...
Tried it that way too still nothing!!! I dont get it????

"Don" wrote:

Hey Sean,

I believe your problem is A conversion ... You are SumProduct Excel is
expecting a number.... and your confusing it with ""...

Test it without the quotes... See if it works... Please let me know..

Don

"Sean" wrote:

Ok, I figured out the whole {} meaning and how it works, here is my
formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA
ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting
it all
in "" taking out the ""'s removeing the 0's everything!!! Any help
would be
great. Thanks

Sean





  #6   Report Post  
Posted to microsoft.public.excel.programming
Don Don is offline
external usenet poster
 
Posts: 487
Default using "or" twice

Sean,

What I was saying is that 'DATA ENTRY SHEET'!$C$2:$C$4={"D","E"} is not
correct.... I think all 'DATA ENTRY SHEET'!$C$2:$C$4= 50 or some other
number...
not "D" or "A" or "Sean" this is a text Value... All your answers should
equal a number. Even Quotes should be equal to Zero and check that the array
arguments must have the same dimensions.

If they do not, SUMPRODUCT returns the #VALUE! error value.

Let me know how this works...

Don


"zackb" wrote:

Hi there,

Looks pretty good. Have you tried using the formula auditor? (Tools |
Formula Auditing | Show Formula)

...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*('DATA ENTRY
SHEET'!$F$2:$F$4))

-Zack Barresse


"Sean" wrote in message
...
Tried it that way too still nothing!!! I dont get it????

"Don" wrote:

Hey Sean,

I believe your problem is A conversion ... You are SumProduct Excel is
expecting a number.... and your confusing it with ""...

Test it without the quotes... See if it works... Please let me know..

Don

"Sean" wrote:

Ok, I figured out the whole {} meaning and how it works, here is my
formula
that I need changed...

=SUMPRODUCT(('DATA ENTRY SHEET'!$A$2:$A$4=3)*('DATA ENTRY
SHEET'!$B$2:$B$4=200)*('DATA ENTRY SHEET'!$C$2:$C$4={"D","E"})*'DATA
ENTRY
SHEET'!$F$2:$F$4)

I want to replace the first array of =3) to
={"",0,2,9,10,56,5600,88,203,204,205})

Now it lets me do it how ever I get a #REF on it. I've tried putting
it all
in "" taking out the ""'s removeing the 0's everything!!! Any help
would be
great. Thanks

Sean




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
correct syntax for nesting "if", "and", and "vlookup"....if possib Christine Excel Worksheet Functions 4 January 2nd 09 10:43 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM


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