Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2006

Tip: Looking for answers? Try searching our database.

Formula using SUMIF & IF

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
BiggyTwo - 16 Mar 2006 15:11 GMT
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
Max - 16 Mar 2006 15:21 GMT
One way ..

=SUMPRODUCT((A6:A390>B5)*(A6:A390<B6)*ISNUMBER(SEARCH("8in",F6:F390)),E6:E39
0)

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
> Hi all,
>
[quoted text clipped - 16 lines]
>
> biggy
Max - 16 Mar 2006 15:25 GMT
Oops, slight correction, should be:

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

--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
BiggyTwo - 18 Mar 2006 03:36 GMT
Thanks Max, just the solution I hoped for.  Thanks again.

Biggy
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.