#1   Report Post  
Posted to microsoft.public.excel.programming
Mo Mo is offline
external usenet poster
 
Posts: 69
Default SUMIF HELP

I've used the below formula and it works. However, I need to us it again but
I won't have ALL of the information that is in quotes. The only thing that
will be for certain is the 20070.53661.FMS. However, what precedes the
information will be various numbers but the periods(.) will always be the
same place.

Can someone help me with a SUMIF formula for this?

=SUMIF('07-08 Object Code
Breakdown'!E4:E1000,"53000.5300200010.00300.206004 .20070.53661.FMS",'07-08
Object Code Breakdown'!B4:B1000)
--
Thank you for your help
MO
Albany, NY
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 107
Default SUMIF HELP

try
=SUMPRODUCT(--(NOT(ISERROR(FIND("20070.53661.FMS",'07-08 Object Code
Breakdown'!$E$4:$E$1000,1)))),'07-08 Object Code Breakdown'!$B$4:$B$1000)

if the string you're looking for can be anywhere within the longer string.


or a little shorter:
=SUMPRODUCT(--(RIGHT('07-08 Object Code
Breakdown'!$E$4:$E$1000,15)="20070.53661.FMS"),'07-08 Object Code
Breakdown'!$B$4:$B$1000)

if the string you're looking for is always the last 15 characters

or
=SUMPRODUCT(--(MID('07-08 Object Code
Breakdown'!$E$4:$E$1000,31,15)="20070.53661.FMS"), '07-08 Object Code
Breakdown'!$B$4:$B$1000)

if the the string you're looking for always starts at character 31, and it
doesn't matter if there are more characters after 'FMS' (which is closest to
whatyou asked).
--
p45cal


"MO" wrote:

I've used the below formula and it works. However, I need to us it again but
I won't have ALL of the information that is in quotes. The only thing that
will be for certain is the 20070.53661.FMS. However, what precedes the
information will be various numbers but the periods(.) will always be the
same place.

Can someone help me with a SUMIF formula for this?

=SUMIF('07-08 Object Code
Breakdown'!E4:E1000,"53000.5300200010.00300.206004 .20070.53661.FMS",'07-08
Object Code Breakdown'!B4:B1000)
--
Thank you for your help
MO
Albany, NY

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
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
SUMIF and AND help deacs Excel Discussion (Misc queries) 3 January 31st 06 05:51 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 07:23 PM.

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"