Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 55
Default text in forumula problem

Why is the word green giving me a problem here? This word exists in the
range D1:F10, but the formula has a problem with "Green".



OutReach.Value = WS.Evaluate("=SUMPRODUCT((B1:B10=1)*(D1:F10=green) )")
  #2   Report Post  
Posted to microsoft.public.excel.programming
ben ben is offline
external usenet poster
 
Posts: 232
Default text in forumula problem

try putting green in double or triple quotes i forget which
OutReach.Value = WS.Evaluate("=SUMPRODUCT((B1:B10=1)*(D1:F10=""gree n""))")


OutReach.Value = WS.Evaluate("=SUMPRODUCT((B1:B10=1)*(D1:F10="""gre en"""))")
--
When you lose your mind, you free your life.


"scrabtree23" wrote:

Why is the word green giving me a problem here? This word exists in the
range D1:F10, but the formula has a problem with "Green".



OutReach.Value = WS.Evaluate("=SUMPRODUCT((B1:B10=1)*(D1:F10=green) )")

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default text in forumula problem

You have another response at your other thread, too.

scrabtree23 wrote:

Why is the word green giving me a problem here? This word exists in the
range D1:F10, but the formula has a problem with "Green".

OutReach.Value = WS.Evaluate("=SUMPRODUCT((B1:B10=1)*(D1:F10=green) )")


--

Dave Peterson
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
Need help with a look up forumula I haven't seen before Steven Leuck Excel Worksheet Functions 3 November 19th 07 07:00 PM
New Forumula Issue AlienBeans Excel Discussion (Misc queries) 4 May 31st 06 09:37 PM
Forumula help using Countif NeedHelpFast Excel Worksheet Functions 1 April 27th 06 01:47 PM
COUNT forumula problem vishu Excel Discussion (Misc queries) 4 March 24th 06 03:19 PM
Help with FORUMULA LoriM Excel Discussion (Misc queries) 0 January 7th 05 07:31 PM


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