Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default wild card in sumproduct

Hi

Trying to count two crieria using sumproduct. First criteria is in A3, the
second criteria on the indirect sheet is L/R UK, or L/R 104 Minor Uk, or L/R
Spain. or L/R Major Mkts. I want to count all of these, but not Landrover -
ferry, so thought the wild card would be the way forward.

I am using
=sumproduct((indirect(""&F1&"!B1:B2000")=A3)*(indi rect(""&F1&"!F1:
F2000="L/R************))-E3

am getting ref#

Is this the best way forward (wild card) and any idea's why it doesnt work

Help appriciated
Regards
Brian

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default wild card in sumproduct

SUMPRODUCT itself won't accept wildcards.

This might work. It will count all entries in indirect(""&F1&"!F1:F2000")
that start with L/R.

=sumproduct((indirect(""&F1&"!B1:B2000")=A3)*(left (indirect(""&F1&"!F1:
F2000"),3)="L/R"))-E3


--
Biff
Microsoft Excel MVP


"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:7bb629a094ad8@uwe...
Hi

Trying to count two crieria using sumproduct. First criteria is in A3,
the
second criteria on the indirect sheet is L/R UK, or L/R 104 Minor Uk, or
L/R
Spain. or L/R Major Mkts. I want to count all of these, but not
Landrover -
ferry, so thought the wild card would be the way forward.

I am using
=sumproduct((indirect(""&F1&"!B1:B2000")=A3)*(indi rect(""&F1&"!F1:
F2000="L/R************))-E3

am getting ref#

Is this the best way forward (wild card) and any idea's why it doesnt work

Help appriciated
Regards
Brian

--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 125
Default wild card in sumproduct

Thank you very much Mr T. It worked perfectly.

This is another piece of the jig-saw and just what i required

Thanks again

regards

T. Valko wrote:
SUMPRODUCT itself won't accept wildcards.

This might work. It will count all entries in indirect(""&F1&"!F1:F2000")
that start with L/R.

=sumproduct((indirect(""&F1&"!B1:B2000")=A3)*(lef t(indirect(""&F1&"!F1:
F2000"),3)="L/R"))-E3

Hi

[quoted text clipped - 17 lines]
Regards
Brian


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default wild card in sumproduct

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"BNT1 via OfficeKB.com" <u19326@uwe wrote in message
news:7bc30406afb11@uwe...
Thank you very much Mr T. It worked perfectly.

This is another piece of the jig-saw and just what i required

Thanks again

regards

T. Valko wrote:
SUMPRODUCT itself won't accept wildcards.

This might work. It will count all entries in indirect(""&F1&"!F1:F2000")
that start with L/R.

=sumproduct((indirect(""&F1&"!B1:B2000")=A3)*(le ft(indirect(""&F1&"!F1:
F2000"),3)="L/R"))-E3

Hi

[quoted text clipped - 17 lines]
Regards
Brian


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...tions/200711/1



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
sumproduct with a search and wild card Scorpvin Excel Discussion (Misc queries) 1 June 14th 06 04:46 PM
Wild Card Search roy.okinawa Excel Worksheet Functions 4 January 30th 06 10:42 PM
wild card -- help with formula Michael A Excel Discussion (Misc queries) 10 January 8th 06 10:15 AM
Wild card * Herman Excel Worksheet Functions 0 October 21st 05 01:39 PM
Wild Card and Dates hkslater Excel Worksheet Functions 2 November 12th 04 09:16 PM


All times are GMT +1. The time now is 01:39 AM.

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

About Us

"It's about Microsoft Excel"