Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BiggyTwo
 
Posts: n/a
Default Formula using SUMIF & IF

Hi all,

I am using this formula: =IF(B6=A6:A390=B5,SUMIF(F6:F390,
"*8in*",E6:E390))
to:
Sum values in the range E6 to E390 where 8in is found in the
corresponding cells in the range F6:F390 and the values in the range
A6:A390 lie between the values contained in cells B6 and B5

It is not giving me the desired result so obviously there is something
wrong with my formula. Can anyone help me?

(Simply stated I want to sum those values in range e6:e390 if "8in" is
found in the string in range f6:f390 while the corresponding value in
range a6:a390 lies between the boundary conditions in cells b6 & b5)
(Hope I made myself clear.)


Thanks to all.

biggy

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Formula using SUMIF & IF

One way ..

=SUMPRODUCT((A6:A390B5)*(A6:A390<B6)*ISNUMBER(SEA RCH("8in",F6:F390)),E6:E39
0)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"BiggyTwo" wrote in message
ups.com...
Hi all,

I am using this formula: =IF(B6=A6:A390=B5,SUMIF(F6:F390,
"*8in*",E6:E390))
to:
Sum values in the range E6 to E390 where 8in is found in the
corresponding cells in the range F6:F390 and the values in the range
A6:A390 lie between the values contained in cells B6 and B5

It is not giving me the desired result so obviously there is something
wrong with my formula. Can anyone help me?

(Simply stated I want to sum those values in range e6:e390 if "8in" is
found in the string in range f6:f390 while the corresponding value in
range a6:a390 lies between the boundary conditions in cells b6 & b5)
(Hope I made myself clear.)


Thanks to all.

biggy



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max
 
Posts: n/a
Default Formula using SUMIF & IF

Oops, slight correction, should be:

=SUMPRODUCT((A6:A390=B5)*(A6:A390<=B6)*ISNUMBER(S EARCH("8in",F6:F390)),E6:E
390)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
BiggyTwo
 
Posts: n/a
Default Formula using SUMIF & IF

Thanks Max, just the solution I hoped for. Thanks again.

Biggy

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
help with sumif formula with multiple critera Matt Excel Worksheet Functions 4 October 13th 07 06:56 PM
Getting Excel whilst using the sumif formula to search for part of a word Newbie81 Excel Discussion (Misc queries) 1 December 20th 05 01:56 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
formula (perhaps sumif?) redb Excel Discussion (Misc queries) 3 October 3rd 05 01:48 PM
Array Formula w/ Multiple SumIf Criteria Andy Excel Worksheet Functions 3 July 13th 05 08:56 PM


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