Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default LEFT embedded in SUMPRODUCT

Hi,

I'm currently using the formula
=PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D$14),PPCImps)

I would like to change the first SUMPRODUCT argument so that it accepts any
cel that STARTS with "DNR", not simply equals "DNR".

I presume it would be by using the LEFT command, but I'm not sure how that
syntax works here.

Any suggestions would be greatly appreciated!!!

Marika :)
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default LEFT embedded in SUMPRODUCT

It's a simple LEFT

=PPCCo*SUMPRODUCT(--(LEFT(PPCName,3)="DNR"),--(PPCMonthRange=D$15),--(PPCYea
rRange=D$14),PPCImps)


--
HTH

Bob Phillips

"marika1981" wrote in message
...
Hi,

I'm currently using the formula:

=PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D
$14),PPCImps)

I would like to change the first SUMPRODUCT argument so that it accepts

any
cel that STARTS with "DNR", not simply equals "DNR".

I presume it would be by using the LEFT command, but I'm not sure how that
syntax works here.

Any suggestions would be greatly appreciated!!!

Marika :)



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default LEFT embedded in SUMPRODUCT

Well, I certainly did that and tried many syntax variations, but I need some
help. Its inclusion within the syntax of the SUMPRODUCT formula is making it
more complicated for me. Do I still use an equal sign? Does it require an
IF because its a lookup? Apologies for frustrating you.....

I'd be quite grateful for any help or suggestions,

Marika



"Don Guillett" wrote:

Why don't you try it yourself before asking. Have a look at HELP index for
LEFT

--
Don Guillett
SalesAid Software

"marika1981" wrote in message
...
Hi,

I'm currently using the formula:

=PPCCo*SUMPRODUCT(--(PPCName="DNR"),--(PPCMonthRange=D$15),--(PPCYearRange=D
$14),PPCImps)

I would like to change the first SUMPRODUCT argument so that it accepts

any
cel that STARTS with "DNR", not simply equals "DNR".

I presume it would be by using the LEFT command, but I'm not sure how that
syntax works here.

Any suggestions would be greatly appreciated!!!

Marika :)




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
Can I use Sumproduct with the LEFT Function? Chris Excel Worksheet Functions 11 April 13th 10 07:31 PM
VLOOKUP function with embedded LEFT SamB Excel Worksheet Functions 7 October 7th 09 06:16 PM
=SUMPRODUCT(--(LEFT Bob Phillips Dale G[_2_] Excel Discussion (Misc queries) 6 April 22nd 09 04:37 PM
SUMPRODUCT AND LEFT K Excel Worksheet Functions 6 July 8th 08 07:09 PM
Left and Sumproduct Alexball Excel Discussion (Misc queries) 1 August 9th 06 12:00 PM


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